tui.editor
tui.editor copied to clipboard
Does addImageBlobHook supports uploading multiple files?
Summary
How to upload multiple files using addImageBlobHook ?
Screenshots
N/A
Version
@toast-ui/react-editor: ^3.2.3
Additional context
The addImageBlobHook function in @toast-ui/react-editor currently seems to handle only a single file at a time. I am looking to support multiple file uploads simultaneously. Is there any built-in way to handle this, or would I need to implement a custom solution to process multiple images?
If handling multiple files is not natively supported, are there any recommended practices or workarounds to achieve this functionality?
For more details, here is a snippet of my current implementation:
<Editor
...
hooks={{
addImageBlobHook: async (blob: File, callback) => {
}}
/>
Any guidance or suggestions would be appreciated. Thank you!