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

Vanessae91b8e97f75f
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index ef8d9d9c43..dbe1ef6afb 100644
--- a/app/src/protyle/render/av/action.ts
+++ b/app/src/protyle/render/av/action.ts
@@ -573,7 +573,7 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positi
srcs.push({
itemID: Lute.NewNodeID(),
content: blockValue.block.content,
- id: rowId,
+ id: blockValue.block.id || "",
isDetached: blockValue.isDetached,
});
sourceIds.push(rowId);