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: Improve the drag-and-drop experience in the list and super block https://github.com/siyuan-note/siyuan/issues/17893
Danielb25605029020
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.tsindex 8ff5d775a7..9a6deb9958 100644--- a/app/src/protyle/util/editorCommonEvent.ts+++ b/app/src/protyle/util/editorCommonEvent.ts@@ -1654,7 +1654,12 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {}}} else {+ // 最后一个块下方:新建块,显示水平插入线hideCaretLine();+ const lastBlock = protyle.wysiwyg.element.lastElementChild as HTMLElement;+ if (lastBlock && lastBlock.hasAttribute("data-node-id")) {+ lastBlock.classList.add("dragover__bottom");+ }}event.preventDefault();return;