mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-02 02:40:15 +01:00
🚨
This commit is contained in:
parent
320110d57e
commit
4cd93b0fec
10 changed files with 15 additions and 8 deletions
|
|
@ -337,7 +337,7 @@ export const editor = {
|
|||
});
|
||||
},
|
||||
_onSetEditor: (editorData: IEditor) => {
|
||||
const changeReadonly = editorData.readOnly !== window.siyuan.config.editor.readOnly
|
||||
const changeReadonly = editorData.readOnly !== window.siyuan.config.editor.readOnly;
|
||||
if (changeReadonly) {
|
||||
editor.setReadonly(editorData.readOnly);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue