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 untrusted user: konrad
GPG Key ID: F40E70337AB24C9B

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'
}
}