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

Vanessa26db301a12a2
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index 11612b110c..03f6a052eb 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",