From 89f32a43f723645e6bdd216fb1d652e2be7ef298 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 29 Jul 2025 12:03:40 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/10964 --- app/src/protyle/util/editorCommonEvent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts index cd99b1825..e5a408d33 100644 --- a/app/src/protyle/util/editorCommonEvent.ts +++ b/app/src/protyle/util/editorCommonEvent.ts @@ -1096,7 +1096,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => { const targetGroupID = targetElement.parentElement.getAttribute("data-group-id"); selectedIds.reverse().forEach(item => { if (previousID !== item && undoPreviousId !== previousID) { - const groupID = blockElement.querySelector(`.av__row[data-id="${selectedIds[0]}"]`).parentElement.getAttribute("data-group-id"); + const groupID = blockElement.querySelector(`.av__row[data-id="${item}"]`).parentElement.getAttribute("data-group-id"); doOperations.push({ action: "sortAttrViewRow", avID,