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/17555

Vanessa4999feb0219d
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts
index 31d053e225..36e439396c 100644
--- a/app/src/protyle/util/onGet.ts
+++ b/app/src/protyle/util/onGet.ts
@@ -252,7 +252,7 @@ const setHTML = (options: {
protyle.breadcrumb.element.nextElementSibling.textContent = "";
}
if (protyle.element.hasAttribute("disabled-forever")) {
- if (protyle.wysiwyg.element.getAttribute("custom-sy-readonly") === "false") {
+ if (protyle.wysiwyg.element.getAttribute("custom-sy-readonly") !== "true") {
protyle.disabled = false;
}
protyle.element.removeAttribute("disabled-forever");