mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
editor: fix loading of images that have wrong mime type
This commit is contained in:
committed by
Abdullah Atta
parent
95666bee36
commit
a442677e91
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user