This commit is contained in:
2025-03-05 16:16:07 +08:00
parent 24880e62ad
commit f4fa930423

View File

@@ -45,7 +45,7 @@ const lang = computed(() => {
<Codemirror <Codemirror
v-model="code" v-model="code"
indentWithTab indentWithTab
:extensions="[EditorView.lineWrapping, styleTheme, lang, githubLight]" :extensions="[styleTheme, lang, githubLight]"
:tabSize="4" :tabSize="4"
:style="{ height: '100%', fontSize: props.fontSize + 'px' }" :style="{ height: '100%', fontSize: props.fontSize + 'px' }"
/> />