diff --git a/ElectronClient/gui/NoteEditor/NoteBody/AceEditor/AceEditor.tsx b/ElectronClient/gui/NoteEditor/NoteBody/AceEditor/AceEditor.tsx index d16ff49b4..29bc39b4c 100644 --- a/ElectronClient/gui/NoteEditor/NoteBody/AceEditor/AceEditor.tsx +++ b/ElectronClient/gui/NoteEditor/NoteBody/AceEditor/AceEditor.tsx @@ -465,12 +465,6 @@ function AceEditor(props: NoteBodyEditorProps, ref: any) { }; }, [editor, onEditorPaste, onEditorContextMenu]); - useEffect(() => { - // We disable dragging ot text because it's not really supported, and - // can lead to data loss: https://github.com/laurent22/joplin/issues/3302 - if (editor) editor.setOption('dragEnabled', false); - }, [editor]); - const webview_domReady = useCallback(() => { setWebviewReady(true); }, []);