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/18246
Vanessa0c0882199160
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.tsindex ea3c266a23..0626fd7344 100644--- a/app/src/protyle/gutter/index.ts+++ b/app/src/protyle/gutter/index.ts@@ -1,5 +1,6 @@import {hasClosestBlock,+ hasClosestByAttribute,hasClosestByClassName,hasClosestByTag,hasTopClosestByClassName,@@ -3013,7 +3014,8 @@ data-type="fold" style="cursor:inherit;"><svg style="width: 10px;${fold && foldmarginHeight = 8;}}- this.element.style.top = `${Math.max(rect.top + marginHeight, contentTop)}px`;+ const foldElement = hasClosestByAttribute(element.parentElement, "fold", "1") as HTMLElement;+ this.element.style.top = `${Math.max(rect.top + marginHeight, contentTop, foldElement ? foldElement.getBoundingClientRect().top : 0)}px`;let left = rect.left - this.element.clientWidth - space;if ((nodeElement.getAttribute("data-type") === "NodeBlockQueryEmbed" && this.element.childElementCount === 1)) {// 嵌入块为列表时