REvert other thing

This commit is contained in:
Gregory Schier
2024-06-17 17:05:51 -07:00
parent 12eac34d95
commit 7ef187abf6

View File

@@ -102,9 +102,6 @@ export const baseExtensions = [
history(), history(),
dropCursor(), dropCursor(),
drawSelection(), drawSelection(),
syntaxHighlighting(syntaxHighlightStyle),
syntaxTheme,
EditorState.allowMultipleSelections.of(true),
autocompletion({ autocompletion({
tooltipClass: () => 'x-theme-menu', tooltipClass: () => 'x-theme-menu',
closeOnBlur: true, // Set to `false` for debugging in devtools without closing it closeOnBlur: true, // Set to `false` for debugging in devtools without closing it
@@ -113,6 +110,9 @@ export const baseExtensions = [
return (a.boost ?? 0) - (b.boost ?? 0); return (a.boost ?? 0) - (b.boost ?? 0);
}, },
}), }),
syntaxHighlighting(syntaxHighlightStyle),
syntaxTheme,
EditorState.allowMultipleSelections.of(true),
]; ];
export const multiLineExtensions = [ export const multiLineExtensions = [