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/7580
Vanessaca98c1f0862e
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex b90df8cf44..5a2e315b79 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -596,7 +596,9 @@ export class WYSIWYG {if (!startFirstElement) {startFirstElement = firstElement;}- } else if (!firstBlockElement) {+ } else if (!firstBlockElement &&+ // https://github.com/siyuan-note/siyuan/issues/7580+ moveEvent.clientY < protyle.wysiwyg.element.lastElementChild.getBoundingClientRect().bottom) {firstBlockElement = protyle.wysiwyg.element.firstElementChild as HTMLElement;}let selectElements: Element[] = [];