An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: 预览模式下点击只读
Vanessa11174958bc87
diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.tsindex 35477bec43..113504cd86 100644--- a/app/src/protyle/index.ts+++ b/app/src/protyle/index.ts@@ -113,7 +113,9 @@ export class Protyle {break;case "transactions":data.data[0].doOperations.forEach((item: IOperation) => {- if (!this.protyle.preview.element.classList.contains("fn__none")) {+ if (!this.protyle.preview.element.classList.contains("fn__none") &&+ item.action !== "updateAttrs" // 预览模式下点击只读+ ) {this.protyle.preview.render(this.protyle);} else {onTransaction(this.protyle, item, false);