Vanessa 2022-10-11 23:38:14 +08:00
parent 41a7c5d63f
commit c56c69e0e0
18 changed files with 121 additions and 39 deletions

View file

@ -198,7 +198,7 @@ export class BlockPanel {
},
typewriterMode: false,
after: (editor) => {
if (window.siyuan.config.readonly) {
if (window.siyuan.config.readonly || window.siyuan.config.editor.readOnly) {
disabledProtyle(editor.protyle);
}
editorElement.addEventListener("mouseleave", () => {