Skip to content

Commit 8fa0b8a

Browse files
committed
🐛(frontend) fix callout block cursor position
Disabled the "gapCursor" prosemirror extension on the editor. Cursor gets to non text positions around custom blocks, in this case the callout block, which is a feature of the "gapCursor" extension.
1 parent d49feae commit 8fa0b8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/frontend/apps/impress/src/features/docs/doc-editor/components/BlockNoteEditor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export const BlockNoteEditor = ({ doc, provider }: BlockNoteEditorProps) => {
125125
},
126126
uploadFile,
127127
schema: blockNoteSchema,
128+
disableExtensions: ['gapCursor'],
128129
},
129130
[collabName, lang, provider, uploadFile],
130131
);

0 commit comments

Comments
 (0)