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 e1d4ccd commit 5e91b74Copy full SHA for 5e91b74
src/renderer/components/editor/Editor.vue
@@ -432,12 +432,14 @@ onMounted(() => {
432
data-editor-mount
433
/>
434
</SplitterPanel>
435
- <SplitterResizeHandle class="relative cursor-none">
436
- <UiGutter orientation="horizontal" />
437
- </SplitterResizeHandle>
438
- <SplitterPanel v-if="isShowCodePreview">
439
- <EditorPreview />
440
- </SplitterPanel>
+ <template v-if="isShowCodePreview">
+ <SplitterResizeHandle class="relative cursor-none">
+ <UiGutter orientation="horizontal" />
+ </SplitterResizeHandle>
+ <SplitterPanel>
+ <EditorPreview />
441
+ </SplitterPanel>
442
+ </template>
443
</SplitterGroup>
444
<EditorMarkdown v-if="isShowMarkdown" />
445
<EditorFooter v-if="isShowEditor" />
0 commit comments