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

Vanessa167cce0a053a
diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts
index eefa3e5dfd..a9735d89ed 100644
--- a/app/src/protyle/index.ts
+++ b/app/src/protyle/index.ts
@@ -160,9 +160,7 @@ export class Protyle {
break;
case "transactions":
data.data[0].doOperations.find((item: IOperation) => {
- if (!this.protyle.preview.element.classList.contains("fn__none") &&
- item.action !== "updateAttrs" // 预览模式下点击只读
- ) {
+ if (!this.protyle.preview.element.classList.contains("fn__none")) {
this.protyle.preview.render(this.protyle);
} else if (options.backlinkData && ["delete", "move"].includes(item.action)) {
// 只对特定情况刷新,否则展开、编辑等操作刷新会频繁