mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-24 16:26:57 +00:00
add dropcursor extension
This commit is contained in:
1 parent
8442fdfe0a
commit
2af063ac88
1 file changed
+2
@@ -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(),
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user