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 folded heading child blocks still visible after undo unfold https://github.com/siyuan-note/siyuan/issues/18176
Danielac808d5d4782
diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.tsindex 3b095e6fff..a4e641f135 100644--- a/app/src/protyle/wysiwyg/transaction.ts+++ b/app/src/protyle/wysiwyg/transaction.ts@@ -501,10 +501,6 @@ export const onTransaction = (protyle: IProtyle, operations: IOperation[], isUndremoveFoldHeading(item);}});- // undo 会走 transaction- if (isUndo) {- return;- }if (operation.retData) {operation.retData.forEach((item: string) => {let embedElement: HTMLElement | false;