增加替换按钮

This commit is contained in:
2025-02-26 01:09:48 +08:00
parent 377ac9b834
commit 382222314d
7 changed files with 93 additions and 60 deletions

View File

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