Skip to content

Commit

Permalink
fix: Destroy editor to properly handle close/save in direct editing
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Jul 12, 2023
1 parent 376c609 commit 258ab64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/DirectEditing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default {
async close() {
this.saving = true
setTimeout(async () => {
await this.$refs.editor.close()
await this.$refs.editor.$destroy()
callMobileMessage('close')
}, 0)
},
Expand Down

0 comments on commit 258ab64

Please sign in to comment.