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: https://github.com/siyuan-note/siyuan/issues/6648
Vanessaee2cc629829e
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.tsindex 0ee75d107b..fb3e8e62a3 100644--- a/app/src/protyle/util/editorCommonEvent.ts+++ b/app/src/protyle/util/editorCommonEvent.ts@@ -333,13 +333,15 @@ const dragSame = async (protyle: IProtyle, sourceElements: Element[], targetElemitem.removeAttribute("fold");foldHeadingIds.push(id);const headingIds = await fetchSyncPost("/api/block/getHeadingChildrenIDs", {id})- headingIds.data.reverse().forEach((headingId: string) => {+ headingIds.data.forEach((headingId: string) => {undoOperations.push({action: "move",id: headingId,- previousID,+ previousID: id,parentID,});+ })+ headingIds.data.reverse().forEach((headingId: string) => {doOperations.push({action: "move",id: headingId,