From 5c931d93f0f5a46896dc6dfc45f79d97d0d56f31 Mon Sep 17 00:00:00 2001 From: Sergey Chikuyonok Date: Tue, 24 May 2022 17:06:57 +0300 Subject: [PATCH] Possible fix of preview highlighting regress --- src/tracker/AbbreviationPreviewWidget.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tracker/AbbreviationPreviewWidget.ts b/src/tracker/AbbreviationPreviewWidget.ts index e6ff4e6..cbb54fb 100644 --- a/src/tracker/AbbreviationPreviewWidget.ts +++ b/src/tracker/AbbreviationPreviewWidget.ts @@ -27,6 +27,7 @@ export function createPreview(value: string, syntax: string, options?: EmmetPrev extensions: [ EditorState.readOnly.of(true), syntaxHighlighting(defaultHighlightStyle, { fallback: true }), + syntax === 'css' ? css() : html(), ext() ] }),