Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does addImageBlobHook supports uploading multiple files? #3264

Open
magimenon opened this issue Aug 23, 2024 · 0 comments
Open

Does addImageBlobHook supports uploading multiple files? #3264

magimenon opened this issue Aug 23, 2024 · 0 comments
Labels

Comments

@magimenon
Copy link

magimenon commented Aug 23, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant