save editor dom element before destroy

This commit is contained in:
Philipp Kühn
2019-04-19 12:14:00 +02:00
parent 3e1dbf7d9e
commit 4d1594de1a

View File

@@ -25,4 +25,8 @@ export default {
return createElement('div')
},
beforeDestroy() {
this.editor.element = this.$el
},
}