From 67ce72a9ee794adf6b2f9f4b5953776acf8502f3 Mon Sep 17 00:00:00 2001 From: Lia Va <33329419+MiloLug@users.noreply.github.com> Date: Tue, 7 Sep 2021 12:23:43 +0300 Subject: [PATCH] docs: change `this.value` to `value` in the vue examples with custom v-model (#1813) --- demos/src/GuideGettingStarted/VModel/Vue/Editor.vue | 2 +- docs/src/docPages/installation/vue3.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/src/GuideGettingStarted/VModel/Vue/Editor.vue b/demos/src/GuideGettingStarted/VModel/Vue/Editor.vue index b77a167e..d485d55d 100644 --- a/demos/src/GuideGettingStarted/VModel/Vue/Editor.vue +++ b/demos/src/GuideGettingStarted/VModel/Vue/Editor.vue @@ -36,7 +36,7 @@ export default { return } - this.editor.commands.setContent(this.value, false) + this.editor.commands.setContent(value, false) }, }, diff --git a/docs/src/docPages/installation/vue3.md b/docs/src/docPages/installation/vue3.md index ea1617a9..1115212a 100644 --- a/docs/src/docPages/installation/vue3.md +++ b/docs/src/docPages/installation/vue3.md @@ -174,7 +174,7 @@ export default { return } - this.editor.commands.setContent(this.modelValue, false) + this.editor.commands.setContent(value, false) }, },