From 78cf75b34e0a94383178b71444354cd8fc1901d2 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 10 May 2024 16:11:10 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11335 --- app/src/protyle/gutter/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts index 77936ccb5..496028258 100644 --- a/app/src/protyle/gutter/index.ts +++ b/app/src/protyle/gutter/index.ts @@ -264,6 +264,11 @@ export class Gutter { data: blockElement.getAttribute("updated") }]); insertAttrViewBlockAnimation(protyle, blockElement, srcIDs, previousID, avID); + if (event.altKey) { + this.element.querySelectorAll("button").forEach(item => { + item.dataset.rowId = srcIDs[0]; + }); + } blockElement.setAttribute("updated", newUpdated); } else { avContextmenu(protyle, rowElement as HTMLElement, {