RICH_TEXT_V2 frontend (#10083)
Adds task and note support for the new `bodyV2` field. (Field metadata type of `bodyV2` is `RICH_TEXT_V2`.) Related to issue https://github.com/twentyhq/twenty/issues/7613 Upgrade commands will be in separate PRs. Fixes https://github.com/twentyhq/twenty/issues/10084 --------- Co-authored-by: ad-elias <elias@autodiligence.com> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -10,6 +10,10 @@ export const mockedNotes: Array<MockedNote> = [
|
||||
updatedAt: '2023-04-26T10:23:42.33625+00:00',
|
||||
title: 'My very first note',
|
||||
body: null,
|
||||
bodyV2: {
|
||||
blocknote: null,
|
||||
markdown: null,
|
||||
},
|
||||
noteTargets: [
|
||||
{
|
||||
id: '89bb825c-171e-4bcc-9cf7-43448d6fb300',
|
||||
@ -65,6 +69,10 @@ export const mockedNotes: Array<MockedNote> = [
|
||||
updatedAt: new Date().toISOString(),
|
||||
title: 'Another note',
|
||||
body: null,
|
||||
bodyV2: {
|
||||
blocknote: null,
|
||||
markdown: null,
|
||||
},
|
||||
noteTargets: [
|
||||
{
|
||||
id: '89bb825c-171e-4bcc-9cf7-43448d6fb278t',
|
||||
|
||||
@ -27,6 +27,10 @@ export const mockedTasks: Array<MockedTask> = [
|
||||
updatedAt: '2023-04-26T10:23:42.33625+00:00',
|
||||
title: 'My very first note',
|
||||
body: null,
|
||||
bodyV2: {
|
||||
blocknote: null,
|
||||
markdown: null,
|
||||
},
|
||||
dueAt: '2023-04-26T10:12:42.33625+00:00',
|
||||
status: null,
|
||||
assignee: workspaceMember,
|
||||
|
||||
Reference in New Issue
Block a user