diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts index a7d0048bb..7d1d0717d 100644 --- a/app/src/protyle/util/onGet.ts +++ b/app/src/protyle/util/onGet.ts @@ -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);