From 0bd806b4fcb38456862ca5687f35549535fffc51 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 31 Dec 2025 11:49:13 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16732 2 --- app/src/protyle/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts index 1a12eb66c..2e06a4249 100644 --- a/app/src/protyle/index.ts +++ b/app/src/protyle/index.ts @@ -294,7 +294,7 @@ export class Protyle { private onTransaction(data: IWebSocketData) { if (!this.protyle.preview.element.classList.contains("fn__none") && - data.context.rootIDs.includes(this.protyle.block.rootID)) { + data.context?.rootIDs?.includes(this.protyle.block.rootID)) { this.protyle.preview.render(this.protyle); return; }