update readme
This commit is contained in:
@@ -45,11 +45,14 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
editor: new Editor({
|
||||
content: '<p>Hi, I'm just a boring paragraph</p>',
|
||||
}),
|
||||
editor: null,
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.editor = new Editor({
|
||||
content: '<p>Hi, I'm just a boring paragraph</p>',
|
||||
}),
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.editor.destroy()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user