Skip to content

Commit

Permalink
fix: html preview
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Dec 19, 2023
1 parent ca16c07 commit f23da9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/MarkdownUi.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit f23da9f

Please sign in to comment.