From 88d655edb6f72726a2b5c72576e79df66f39a08d Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Mon, 31 Dec 2018 18:44:05 +0300 Subject: [PATCH] Fixed watch syntax --- src/components/editor/Editor.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/editor/Editor.vue b/src/components/editor/Editor.vue index 11c997e9e..1854c70d4 100644 --- a/src/components/editor/Editor.vue +++ b/src/components/editor/Editor.vue @@ -59,8 +59,10 @@ export default { editorStyle: null }, quill: null, - watch(value) { - this.renderValue(value); + watch: { + value(newValue) { + this.renderValue(newValue); + } }, mounted() { this.quill = new Quill(this.$refs.editorElement, {