From 167cce0a053a5c9e3f5f868322e753d17c4725f5 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 1 Aug 2025 21:04:55 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15407 --- app/src/protyle/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts index eefa3e5df..a9735d89e 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)) { // 只对特定情况刷新,否则展开、编辑等操作刷新会频繁