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: fix https://github.com/siyuan-note/siyuan/issues/11175
Vanessac79e2f79f584
diff --git a/app/src/util/highlightById.ts b/app/src/util/highlightById.tsindex 270cb87ea2..ed3b4a2c97 100644--- a/app/src/util/highlightById.ts+++ b/app/src/util/highlightById.ts@@ -62,7 +62,9 @@ export const scrollCenter = (protyle: IProtyle, nodeElement?: Element, top = fal}}- if (!nodeElement) {+ if (!nodeElement &&+ // https://github.com/siyuan-note/siyuan/issues/11175+ document.activeElement?.tagName !== "TEXTAREA" && document.activeElement?.tagName !== "INPUT") {nodeElement = hasClosestBlock(getEditorRange(protyle.wysiwyg.element).startContainer) as HTMLElement;}if (!nodeElement) {