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/15839

Vanessabcc0472ed099
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts
index 1f95b037bf..c35bd00394 100644
--- a/app/src/protyle/render/av/cell.ts
+++ b/app/src/protyle/render/av/cell.ts
@@ -863,6 +863,10 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, va
doOperations.push(...operations.doOperations);
undoOperations.push(...operations.undoOperations);
}
+ // formattedContent 在单元格渲染时没有用到,需对比保持一致
+ if (type === "date") {
+ cellValue.date.formattedContent= oldValue.date.formattedContent ;
+ }
if (objEquals(cellValue, oldValue)) {
return;
}