Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/9867

Vanessaf40529c3626b
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts
index 5bf34b8213..cfe008db1d 100644
--- a/app/src/protyle/render/av/cell.ts
+++ b/app/src/protyle/render/av/cell.ts
@@ -735,5 +735,7 @@ export const dragFillCellsValue = (protyle: IProtyle, nodeElement: HTMLElement,
})
});
focusBlock(nodeElement);
- transaction(protyle, doOperations, undoOperations);
+ if (doOperations.length > 0) {
+ transaction(protyle, doOperations, undoOperations);
+ }
}