Skip to content

Commit 98125c4

Browse files
committed
fix: Destroy editor to properly handle close/save in direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent f649ecd commit 98125c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/DirectEditing.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export default {
119119
async close() {
120120
this.saving = true
121121
setTimeout(async () => {
122-
await this.$refs.editor.close()
122+
await this.$refs.editor.$destroy()
123123
callMobileMessage('close')
124124
}, 0)
125125
},

0 commit comments

Comments
 (0)