Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/8098

Vanessa4b3b32a306f4
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts
index a7d0048bb4..7d1d0717de 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);