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

Vanessad445c5401ffb
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index c3502ac79b..f0bee3e753 100644
--- a/app/src/protyle/render/av/action.ts
+++ b/app/src/protyle/render/av/action.ts
@@ -26,6 +26,14 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
if (!blockElement) {
return false;
}
+ if (event.shiftKey) {
+ const rowElement = hasClosestByClassName(event.target, "av__row");
+ if (rowElement && !rowElement.classList.contains("av__row--header")) {
+ selectRow(rowElement.querySelector(".av__firstcol"), "toggle");
+ return true;
+ }
+ }
+
const copyElement = hasClosestByAttribute(event.target, "data-type", "copy");
if (copyElement) {
writeText(copyElement.previousElementSibling.textContent.trim());