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

Vanessa6f741b53cfb7
diff --git a/app/src/protyle/render/av/relation.ts b/app/src/protyle/render/av/relation.ts
index b1f608c98c..f83dc7bdef 100644
--- a/app/src/protyle/render/av/relation.ts
+++ b/app/src/protyle/render/av/relation.ts
@@ -362,7 +362,7 @@ export const setRelationCell = (protyle: IProtyle, nodeElement: HTMLElement, tar
cellElements[0] = nodeElement.querySelector(`.av__row[data-id="${rowElement.dataset.id}"] .av__cell[data-col-id="${cellElements[0].dataset.colId}"]`) as HTMLElement;
}
const newValue:IAVCellRelationValue = {blockIDs: [], contents: []};
- menuElement.querySelectorAll('[data-type="setRelationCell"]').forEach(item => {
+ menuElement.querySelectorAll('[draggable="true"]').forEach(item => {
const id = item.getAttribute("data-id");
newValue.blockIDs.push(id);
newValue.contents.push({