mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 10:30:13 +01:00
This commit is contained in:
parent
c7d2b8cde2
commit
4b3b32a306
1 changed files with 2 additions and 1 deletions
|
|
@ -244,7 +244,8 @@ const setHTML = (options: {
|
|||
if (options.isSyncing) {
|
||||
disabledForeverProtyle(protyle);
|
||||
} else {
|
||||
if (protyle.disabled) {
|
||||
protyle.breadcrumb.element.nextElementSibling.textContent = "";
|
||||
if (window.siyuan.config.readonly || window.siyuan.config.editor.readOnly) {
|
||||
disabledProtyle(protyle);
|
||||
} else {
|
||||
enableProtyle(protyle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue