@@ -36,6 +36,11 @@
created() {
this.content = this.value || ''
},
+ destroyed() {
+ if (this.editor) {
+ this.editor.destroy()
+ }
+ },
mounted() {
tinymce.init({
target: this.$refs.editor,