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/5725
Vanessadff6c0c7fc35
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.tsindex 28af884337..e9ad2da23d 100644--- a/app/src/protyle/util/editorCommonEvent.ts+++ b/app/src/protyle/util/editorCommonEvent.ts@@ -170,7 +170,8 @@ const dragSb = (protyle: IProtyle, sourceElements: Element[], targetElement: Eleif (item.classList.contains("protyle-attr")) {return;}- undoOperations.push({+ // 撤销更新不能位于最后,否则又更新为最新结果 https://github.com/siyuan-note/siyuan/issues/5725+ undoOperations.splice(0, 0, {action: "update",id: item.getAttribute("data-node-id"),data: item.outerHTML