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) }, },