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