From 2af063ac88a3e7e7091933a726424d125e19d157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Sun, 29 Mar 2026 01:03:18 +0100 Subject: [PATCH] add dropcursor extension --- client/components/codeEditor/codeEditor.jsx | 2 ++ 1 file changed, 2 insertions(+) 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(), ]; };