We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5dc66c commit 7641421Copy full SHA for 7641421
src/renderer/components/editor/Editor.vue
@@ -324,6 +324,10 @@ async function format() {
324
325
ipc.on('main-menu:format', format)
326
327
+function onSplitterLayout() {
328
+ editor?.refresh()
329
+}
330
+
331
onMounted(() => {
332
init()
333
})
@@ -339,8 +343,9 @@ onMounted(() => {
339
343
v-show="isShowEditor"
340
344
direction="vertical"
341
345
class="overflow-auto"
346
+ @layout="onSplitterLayout"
342
347
>
- <SplitterPanel as-child>
348
+ <SplitterPanel>
349
<div
350
id="editor"
351
data-editor-mount
0 commit comments