From 26db301a12a29cbc8a8f139d1326bd88d7614808 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 28 Sep 2023 00:08:58 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/9294 --- app/src/protyle/render/av/action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 11612b110..03f6a052e 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -162,7 +162,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle path: pathPosix().join(response.data, createDocElement.previousElementSibling.textContent.trim() || "Untitled"), parentID: protyle.block.rootID, markdown: "", - id: createDocElement.parentElement.dataset.id, + id: createDocElement.parentElement.dataset.blockId, }, response => { transaction(protyle, [{ action: "updateAttrViewCell",