**Problem**
[r1322513](https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CodeMirror/+/1322513) adds a new reusable Vue component for a CodeMirror editor. This works great but to fully satisfy WikiLambda's needs (T400015), we need `readonly` as a Vue prop, meaning it can change during an editing session. Currently, the core [CodeMirror class](https://doc.wikimedia.org/CodeMirror/master/js/js/CodeMirror.html) checks the `readonly` property of the textarea only //once//, meaning we need to rebuild the entire editor if a client wants to change the read-only state.
Overall this is [not deemed a major issue](https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CodeMirror/+/1322513/comment/fe0166d4_7ec8ef7b/), as if it comes down to it, the editor can simply be re-created when the `readonly` prop changes.
**Acceptance criteria**
* Any consumer of a CodeMirror instance can change the read-only state, and the corresponding functionality is adjusted accordingly (i.e. linter "quick-fix")
* CodeMirrorEditor.vue watches the `readOnly` prop and is able to updates the CodeMirror instancread-only state accordingly