An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/14977
Vanessaa83476a2a777
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 0641eadf7e..64db7090ac 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -655,8 +655,13 @@ export class WYSIWYG {}if (isOnlyMeta(event) && !event.shiftKey && !event.altKey) {let ctrlElement = nodeElement;- if (!hasSelectClassElement && galleryItemElement) {- galleryItemElement.classList.toggle("av__gallery-item--select");+ const rowElement = hasClosestByClassName(target, "av__row");+ if (!hasSelectClassElement && (galleryItemElement || (rowElement && !rowElement.classList.contains("av__row--header")))) {+ if (galleryItemElement) {+ galleryItemElement.classList.toggle("av__gallery-item--select");+ } else if (rowElement) {+ selectRow(rowElement.querySelector(".av__firstcol"), "toggle");+ }} else if (ctrlElement) {const embedBlockElement = isInEmbedBlock(ctrlElement);if (embedBlockElement) {