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

Vanessaf8ee97f695a5
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts
index a3d3e69b76..1d37a011ce 100644
--- a/app/src/protyle/render/av/cell.ts
+++ b/app/src/protyle/render/av/cell.ts
@@ -708,6 +708,8 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, va
};
if (oldValue.block.icon) {
newValue.icon = oldValue.block.icon;
+ } else {
+ delete oldValue.block.icon;
}
}
const cellValue = genCellValue(type, newValue);