This commit is contained in:
Jacob Overgaard
2023-07-18 10:13:42 +02:00
parent b99628949e
commit e0bdf7f206

View File

@@ -47,7 +47,7 @@ export const uploadImageHandler: tinymce.RawEditorOptions['images_upload_handler
};
const formData = new FormData();
formData.append('file', blobInfo.blob(), blobInfo.blob().name);
formData.append('file', blobInfo.blob(), blobInfo.filename());
xhr.send(formData);
});