mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
This commit is contained in:
parent
41a7c5d63f
commit
c56c69e0e0
18 changed files with 121 additions and 39 deletions
|
|
@ -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", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue