Minor formatting

This commit is contained in:
Jonatan Heyman 2022-12-30 03:02:04 +01:00
parent 1b3665b7b6
commit 662a234377

View File

@ -112,7 +112,7 @@ const noteBlockWidget = () => {
} }
}); });
return [noteBlockStartField]; return noteBlockStartField;
}; };
@ -233,7 +233,6 @@ const preventSelectionBeforeFirstBlock = EditorState.transactionFilter.of((tr) =
export const noteBlockExtension = () => { export const noteBlockExtension = () => {
return [ return [
blockState, blockState,
noteBlockWidget(), noteBlockWidget(),
atomicNoteBlock, atomicNoteBlock,
blockLayer(), blockLayer(),