From 6f741b53cfb7a37078114533e79757dcb3fb9b28 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 9 May 2024 09:16:59 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11251 --- app/src/protyle/render/av/relation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/relation.ts b/app/src/protyle/render/av/relation.ts index b1f608c98..f83dc7bde 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({