mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-10 09:14:20 +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) {
|
if (options.isSyncing) {
|
||||||
disabledForeverProtyle(protyle);
|
disabledForeverProtyle(protyle);
|
||||||
} else {
|
} else {
|
||||||
if (protyle.disabled) {
|
protyle.breadcrumb.element.nextElementSibling.textContent = "";
|
||||||
|
if (window.siyuan.config.readonly || window.siyuan.config.editor.readOnly) {
|
||||||
disabledProtyle(protyle);
|
disabledProtyle(protyle);
|
||||||
} else {
|
} else {
|
||||||
enableProtyle(protyle);
|
enableProtyle(protyle);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue