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: 删除块,嵌入块中没有同步删除
Vanessacc033c115de9
diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.tsindex dfa850752f..b779d25f19 100644--- a/app/src/protyle/wysiwyg/transaction.ts+++ b/app/src/protyle/wysiwyg/transaction.ts@@ -418,7 +418,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:return;}if (operation.action === "delete") {- if (updateElements.length > 0) {+ if (updateElements.length > 0 || !isUndo) {deleteBlock(updateElements, operation.id, protyle, isUndo);} else if (isUndo) {zoomOut({