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/13254
Vanessacbad03815d72
diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.tsindex e50e8a4c6e..4aa4216562 100644--- a/app/src/protyle/wysiwyg/remove.ts+++ b/app/src/protyle/wysiwyg/remove.ts@@ -387,6 +387,8 @@ export const removeBlock = (protyle: IProtyle, blockElement: Element, range: Ran// 需先移除 removeElement,否则 side 会选中 removeElementremoveElement.remove();focusBlock(previousLastElement, undefined, false);+ // https://github.com/siyuan-note/siyuan/issues/13254+ undoOperations.splice(0, 1);} else {const previousLastEditElement = getContenteditableElement(previousLastElement);if (editableElement && (editableElement.textContent !== "" || editableElement.querySelector(".emoji"))) {