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/10414
Vanessa6ab2cea36d86
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.tsindex 5ddfc8ad42..88b9758f8b 100644--- a/app/src/protyle/render/av/action.ts+++ b/app/src/protyle/render/av/action.ts@@ -135,7 +135,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEleif (protyle.disabled) {return false;}-+ const viewType = blockElement.getAttribute("data-av-type") as TAVView;let target = event.target;while (target && !target.isEqualNode(blockElement)) {const type = target.getAttribute("data-type");@@ -190,8 +190,10 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEleprotyle.toolbar.range = document.createRange();protyle.toolbar.range.selectNodeContents(target);focusByRange(protyle.toolbar.range);- target.parentElement.classList.add("av__cell--select");- addDragFill(target.parentElement);+ if (viewType === "table") {+ target.parentElement.classList.add("av__cell--select");+ addDragFill(target.parentElement);+ }hintRef(target.previousElementSibling.textContent.trim(), protyle, "av");event.preventDefault();event.stopPropagation();@@ -225,7 +227,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLElereturn;}const cellType = getTypeByCellElement(target);- if (blockElement.getAttribute("data-av-type") === "gallery") {+ if (viewType === "gallery") {const itemElement = hasClosestByClassName(target, "av__gallery-item");if (itemElement)if (cellType === "updated" || cellType === "created" || cellType === "lineNumber") {