editor: fix loading of images that have wrong mime type

This commit is contained in:
Abdullah Atta
2024-01-26 20:12:59 +05:00
committed by Abdullah Atta
parent 95666bee36
commit a442677e91
6 changed files with 92 additions and 56 deletions

View File

@@ -416,7 +416,6 @@ export function Editor(props: EditorProps) {
});
}}
onGetAttachmentData={(attachment) => {
console.log("ID", id);
return downloadAttachment(
attachment.hash,
attachment.type === "web-clip" ? "text" : "base64",