From 8d699f97659af91e2a0962da8833cb6455e12dab Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 8 Feb 2026 21:34:40 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11569 --- app/src/config/image.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/app/src/config/image.ts b/app/src/config/image.ts index be23ef610..c9653befe 100644 --- a/app/src/config/image.ts +++ b/app/src/config/image.ts @@ -202,7 +202,19 @@ export const image = { } else { liElement.remove(); } - avListElement.nextElementSibling.innerHTML = ""; + onGet({ + data: { + data: { + content: "", + id: Lute.NewNodeID(), + rootID: Lute.NewNodeID(), + }, + msg: "", + code: 0 + }, + protyle: editor.protyle, + action: [Constants.CB_GET_HISTORY, Constants.CB_GET_HTML], + }); }); } else { fetchPost("/api/asset/removeUnusedAsset", {