diff --git a/client/components/codeEditor/codeEditor.jsx b/client/components/codeEditor/codeEditor.jsx index 6188994ac..210ead6dd 100644 --- a/client/components/codeEditor/codeEditor.jsx +++ b/client/components/codeEditor/codeEditor.jsx @@ -13,6 +13,7 @@ import { ViewPlugin, WidgetType, drawSelection, + dropCursor, } from '@codemirror/view'; import { EditorState, Compartment } from '@codemirror/state'; import { foldGutter, foldKeymap, syntaxHighlighting } from '@codemirror/language'; @@ -187,6 +188,7 @@ const CodeEditor = forwardRef( drawSelection(), EditorState.allowMultipleSelections.of(true), customClose, + dropCursor(), ]; };