mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-29 18:38:12 +00:00
add dropcursor extension
This commit is contained in:
@@ -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