From f8ee97f695a5bdb686bad40951432fe26e2e642a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 14 Mar 2025 10:59:18 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14354 --- app/src/protyle/render/av/cell.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index a3d3e69b7..1d37a011c 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);