mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-19 05:28:07 +01:00
This commit is contained in:
parent
e922c402c8
commit
1f607cf08a
9 changed files with 15 additions and 294 deletions
|
|
@ -349,7 +349,7 @@ export const editor = {
|
|||
});
|
||||
});
|
||||
},
|
||||
_onSetEditor: (editorData: IEditor) => {
|
||||
_onSetEditor: (editorData: Config.IEditor) => {
|
||||
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