chore: fix issue with creating new Super notes [skip e2e]
This commit is contained in:
@@ -24,7 +24,7 @@ export const BlocksEditorComposer: FunctionComponent<BlocksEditorComposerProps>
|
|||||||
theme: BlocksEditorTheme,
|
theme: BlocksEditorTheme,
|
||||||
editable: !readonly,
|
editable: !readonly,
|
||||||
onError: (error: Error) => console.error(error),
|
onError: (error: Error) => console.error(error),
|
||||||
editorState: initialValue,
|
editorState: typeof initialValue === 'string' && initialValue.length === 0 ? undefined : initialValue,
|
||||||
nodes: [...nodes, ...BlockEditorNodes],
|
nodes: [...nodes, ...BlockEditorNodes],
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user