mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-05-06 12:19:20 -05:00
chore(code): reintroduce read-only mode
This commit is contained in:
@@ -39,7 +39,7 @@ export default class ReadOnlyCodeTypeWidget extends AbstractCodeTypeWidget {
|
||||
this.show();
|
||||
}
|
||||
|
||||
getExtraOpts(): Partial<CodeMirrorOpts> {
|
||||
getExtraOpts() {
|
||||
return {
|
||||
readOnly: true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user