From 27b55a2c531c7c1f39c39753fa48366329c745be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Fri, 5 Mar 2021 09:48:13 +0100 Subject: [PATCH] refactoring --- docs/src/demos/Guide/Content/ReadOnly/index.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/src/demos/Guide/Content/ReadOnly/index.vue b/docs/src/demos/Guide/Content/ReadOnly/index.vue index c4d09f95..885e8764 100644 --- a/docs/src/demos/Guide/Content/ReadOnly/index.vue +++ b/docs/src/demos/Guide/Content/ReadOnly/index.vue @@ -41,9 +41,7 @@ export default { watch: { editable() { - this.editor.setOptions({ - editable: this.editable, - }) + this.editor.setEditable(this.editable) }, },