Skip to content

Commit 8d699f9

Browse files
committed
🎨 #11569
1 parent 939ca54 commit 8d699f9

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

app/src/config/image.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,19 @@ export const image = {
202202
} else {
203203
liElement.remove();
204204
}
205-
avListElement.nextElementSibling.innerHTML = "";
205+
onGet({
206+
data: {
207+
data: {
208+
content: "",
209+
id: Lute.NewNodeID(),
210+
rootID: Lute.NewNodeID(),
211+
},
212+
msg: "",
213+
code: 0
214+
},
215+
protyle: editor.protyle,
216+
action: [Constants.CB_GET_HISTORY, Constants.CB_GET_HTML],
217+
});
206218
});
207219
} else {
208220
fetchPost("/api/asset/removeUnusedAsset", {

0 commit comments

Comments
 (0)