fix: cleanup keybinding events
This commit is contained in:
parent
bdeafbaf75
commit
9bc560b17f
5 changed files with 25 additions and 33 deletions
|
|
@ -4,7 +4,7 @@ import { defaultHighlightStyle, syntaxHighlighting } from '@codemirror/language'
|
|||
import { Compartment, EditorState, Prec } from '@codemirror/state';
|
||||
import { drawSelection, EditorView, keymap } from '@codemirror/view';
|
||||
import { logger } from '@strudel/core';
|
||||
import { basicSetup, flash, prebakeField, initTheme, extensions, parseBooleans } from '@strudel/codemirror';
|
||||
import { basicSetup, flash, initTheme, extensions, parseBooleans } from '@strudel/codemirror';
|
||||
|
||||
export class PrebakeCodeMirror {
|
||||
constructor(initialCode, storePrebake, containerRef, editorRef, settings) {
|
||||
|
|
@ -53,7 +53,6 @@ export class PrebakeCodeMirror {
|
|||
},
|
||||
]),
|
||||
),
|
||||
prebakeField,
|
||||
],
|
||||
});
|
||||
editorRef.current = state;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue