diff --git a/packages/tiptap/src/Editor.js b/packages/tiptap/src/Editor.js index e039d6210..43aa4fc5d 100644 --- a/packages/tiptap/src/Editor.js +++ b/packages/tiptap/src/Editor.js @@ -213,8 +213,8 @@ export default class Editor extends Emitter { Backspace: undoInputRule, }), keymap(baseKeymap), - ...(enableDropCursor ? [dropCursor(this.options.dropCursor)] : []), - ...(enableGapCursor ? [gapCursor()] : []), + ...(this.options.enableDropCursor ? [dropCursor(this.options.dropCursor)] : []), + ...(this.options.enableGapCursor ? [gapCursor()] : []), new Plugin({ key: new PluginKey('editable'), props: {