diff --git a/src/components/RichTextOne.vue b/src/components/RichTextOne.vue index 2c49225..a432f85 100644 --- a/src/components/RichTextOne.vue +++ b/src/components/RichTextOne.vue @@ -10,7 +10,7 @@ var phoneEditor, _this export default { components: {}, props: { - initialText: { + initialTextVal: { type: String, required: false } @@ -18,7 +18,7 @@ export default { data () { return {} }, - created () { }, + created () {}, mounted () { _this = this phoneEditor = new E('websiteEditorElem') @@ -32,15 +32,15 @@ export default { methods: {}, computed: {}, watch: { - initialText (val) { + initialTextVal (val) { // console.log(val) - phoneEditor.$txt.html(_this.initialText) + phoneEditor.$txt.html(_this.initialTextVal) } } } -