From 7ef187abf6f3ec6518e59197dc036d470d7c81d4 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Mon, 17 Jun 2024 17:05:51 -0700 Subject: [PATCH] REvert other thing --- src-web/components/core/Editor/extensions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src-web/components/core/Editor/extensions.ts b/src-web/components/core/Editor/extensions.ts index 55e0b461..22ae5e36 100644 --- a/src-web/components/core/Editor/extensions.ts +++ b/src-web/components/core/Editor/extensions.ts @@ -102,9 +102,6 @@ export const baseExtensions = [ history(), dropCursor(), drawSelection(), - syntaxHighlighting(syntaxHighlightStyle), - syntaxTheme, - EditorState.allowMultipleSelections.of(true), autocompletion({ tooltipClass: () => 'x-theme-menu', 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); }, }), + syntaxHighlighting(syntaxHighlightStyle), + syntaxTheme, + EditorState.allowMultipleSelections.of(true), ]; export const multiLineExtensions = [