Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/7495

Vanessabfaa27f43fa6
diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts
index 7379bb80aa..25dc42d8f1 100644
--- a/app/src/protyle/index.ts
+++ b/app/src/protyle/index.ts
@@ -94,9 +94,9 @@ export class Protyle {
break;
case "readonly":
if (data.data) {
- enableProtyle(this.protyle);
- } else {
disabledProtyle(this.protyle);
+ } else {
+ enableProtyle(this.protyle);
}
break;
case "heading2doc":