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

Vanessa78cf75b34e0a
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts
index 77936ccb50..496028258a 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, {