From f23da9fa290d9cd560567bc236eda53c03dd98fd Mon Sep 17 00:00:00 2001 From: Adam DeHaven Date: Tue, 19 Dec 2023 09:33:37 -0500 Subject: [PATCH] fix: html preview --- src/components/MarkdownUi.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/MarkdownUi.vue b/src/components/MarkdownUi.vue index dccfd3a3..d1d95814 100644 --- a/src/components/MarkdownUi.vue +++ b/src/components/MarkdownUi.vue @@ -186,6 +186,8 @@ const toggleEditing = (isEditing: boolean): void => { if (isEditing) { emit('edit') } else { + // Always exit from viewing html when not editing + htmlPreview.value = false // Always exit fullscreen mode when not editing isFullscreen.value = false }