From e141544791fbe76ae5882d8ed92bdf99f9520f53 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 16 May 2024 23:09:14 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11428 --- app/src/protyle/render/av/blockAttr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index 0c2ad8069..cabcddb71 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -195,7 +195,7 @@ class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone", "block"] if (element.innerHTML) { // 防止 blockElement 找不到 - element.querySelector(`div[data-node-id="${id}"]`).innerHTML = innerHTML; + element.querySelector(`div[data-node-id="${id}"][data-av-id="${table.avID}"]`).innerHTML = innerHTML; } }); if (element.innerHTML === "") {