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/15978
Vanessaa4ad6ed38315
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.tsindex 8ca3ffe15b..fed3656dd1 100644--- a/app/src/protyle/util/editorCommonEvent.ts+++ b/app/src/protyle/util/editorCommonEvent.ts@@ -1314,6 +1314,14 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {targetElement = document.elementFromPoint(point.x, point.y - 6) as HTMLElement;}targetElement = hasTopClosestByAttribute(targetElement, "data-node-id", null);+ if (targetElement && targetElement.classList.contains("sb") && targetElement.getAttribute("data-sb-layout") === "col") {+ const childElement = targetElement.querySelectorAll("[data-node-id]");+ if (point.className === "dragover__left") {+ targetElement = childElement[0] as HTMLElement;+ } else {+ targetElement = childElement[childElement.length - 1] as HTMLElement;+ }+ }}} else if (targetElement && targetElement.classList.contains("list")) {if (gutterTypes[0] !== "nodelistitem") {