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/12775
Vanessa8305ec06d7ec
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex 565a96872e..9fe3104f00 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -153,7 +153,7 @@ export class Toolbar {this.toolbarHeight = this.element.clientHeight;const y = rangePosition.top - this.toolbarHeight - 4;this.element.setAttribute("data-inity", y + Constants.ZWSP + protyle.contentElement.scrollTop.toString());- setPosition(this.element, rangePosition.left - 52, y);+ setPosition(this.element, rangePosition.left - 52, Math.max(y, protyle.element.getBoundingClientRect().top));this.element.querySelectorAll(".protyle-toolbar__item--current").forEach(item => {item.classList.remove("protyle-toolbar__item--current");});