chore(code): reintroduce read-only mode

This commit is contained in:
Elian Doran
2025-05-11 18:42:56 +03:00
parent 49838fb773
commit 3e5e19b8a5
2 changed files with 7 additions and 2 deletions
@@ -39,7 +39,7 @@ export default class ReadOnlyCodeTypeWidget extends AbstractCodeTypeWidget {
this.show();
}
getExtraOpts(): Partial<CodeMirrorOpts> {
getExtraOpts() {
return {
readOnly: true
};