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/15672
Vanessaa0798d1e6d5e
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.tsindex 45222332c2..8ca3ffe15b 100644--- a/app/src/protyle/util/editorCommonEvent.ts+++ b/app/src/protyle/util/editorCommonEvent.ts@@ -1575,7 +1575,10 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {// 列表项不能拖入列表项中第一个元素之上disabledPosition = "top";}- if (gutterTypes[0] === "nodelistitem" && targetElement.nextElementSibling?.classList.contains("list")) {+ if (gutterTypes[0] === "nodelistitem" &&+ targetElement.nextElementSibling?.classList.contains("list") &&+ // https://github.com/siyuan-note/siyuan/issues/15672+ targetElement.parentElement?.classList.contains("li")) {// 列表项不能拖入列表上方块的下面disabledPosition = "bottom";}