Rename, fix autocomplete and singleline, etc...

This commit is contained in:
Gregory Schier
2023-03-02 10:42:43 -08:00
parent b5496f0f48
commit 132466f03b
26 changed files with 126 additions and 112 deletions

View File

@@ -102,13 +102,12 @@ export function getLanguageExtension({
}
export const baseExtensions = [
keymap.of([...defaultKeymap]),
highlightSpecialChars(),
history(),
drawSelection(),
dropCursor(),
bracketMatching(),
autocompletion(),
autocompletion({ activateOnTyping: false, closeOnBlur: true }),
syntaxHighlighting(myHighlightStyle),
EditorState.allowMultipleSelections.of(true),
];