An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/5162
Vanessabf3a6385ee1b
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.tsindex f7c014a693..2478ffee3c 100644--- a/app/src/protyle/gutter/index.ts+++ b/app/src/protyle/gutter/index.ts@@ -166,6 +166,9 @@ export class Gutter {window.siyuan.menus.menu.element.classList.remove("fn__none");setPosition(window.siyuan.menus.menu.element, event.clientX - window.siyuan.menus.menu.element.clientWidth - 16, event.clientY - 16);// https://ld246.com/article/1648433751993+ if (!protyle.toolbar.range) {+ protyle.toolbar.range = getEditorRange(protyle.wysiwyg.element.firstElementChild);+ }focusByRange(protyle.toolbar.range);}});