Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Multi-image drag-n-drop trigger unique event #518
Currently dragging-n-dropping and pasting an image trigger the same event (here and here). While this is good for most cases I'm wanting to have a separate event for a multi-image drag-n-drop. This allows me to turn several images into a single element in the editor (i.e., for a gallery).
I've added this to our repo with this but I was wondering if this is something that you would want or be willing to have. Or is there a better way to accomplish what I'm doing with the current code?
That is an interesting user case. So, in case of multiple files, you don't leave the editor to add them to the content, but you handle them by yourself, don't you?
Before to process the images, we collect them in an array which may have one or more elements and we fire another generic event, something like
How does it sound for you?