Skip to content

Commit 63b0b54

Browse files
committed
fixup! enh(code): start to load syntax highlighting during setup
1 parent a46c94a commit 63b0b54

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/Editor.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,10 @@ export default {
241241
const { editor } = provideEditor()
242242
const { setEditable } = useEditorMethods(editor)
243243
const { isPublic, isRichEditor, isRichWorkspace } = provideEditorFlags(props)
244-
const { language, lowlightLoaded } = useSyntaxHighlighting(isRichEditor, props)
244+
const { language, lowlightLoaded } = useSyntaxHighlighting(
245+
isRichEditor,
246+
props,
247+
)
245248
return {
246249
el,
247250
width,

0 commit comments

Comments
 (0)