fix(editor): always set mode to preview after save

This commit is contained in:
kolaente 2023-11-03 12:27:21 +01:00
parent ba766a29af
commit 64a8dd189b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ function bubbleNow() {
function bubbleSave() {
bubbleNow()
emit('save', inputHTML.value)
if (initialMode === 'preview' && isEditing.value) {
if (isEditing.value) {
internalMode.value = 'preview'
}
}