diff --git a/examples/Components/Routes/ReadOnly/index.vue b/examples/Components/Routes/ReadOnly/index.vue index 607c9be4..c6ea43ae 100644 --- a/examples/Components/Routes/ReadOnly/index.vue +++ b/examples/Components/Routes/ReadOnly/index.vue @@ -1,5 +1,10 @@ @@ -40,10 +45,24 @@ export default {

`, }), + editable: false, } }, + watch: { + editable() { + this.editor.setOptions({ + editable: this.editable, + }) + }, + }, beforeDestroy() { this.editor.destroy() }, } + +