You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if you enable dropdown and drag-n-drop a non-image file it will try to render the file as an image. It would be nice to support any sort of file being uploaded instead of just images.
I was able to get this working by making these modifications to the drop zone success handler:
This also isn't dependent on the extension of the file because it tries to render the image using javascript and listens to the events. This works great for me and now non-image files are rendered as links instead.
If we decide to do a PR to merge this in we may want to change the image upload button to a file upload button.
The text was updated successfully, but these errors were encountered:
Currently if you enable dropdown and drag-n-drop a non-image file it will try to render the file as an image. It would be nice to support any sort of file being uploaded instead of just images.
I was able to get this working by making these modifications to the drop zone success handler:
This also isn't dependent on the extension of the file because it tries to render the image using javascript and listens to the events. This works great for me and now non-image files are rendered as links instead.
If we decide to do a PR to merge this in we may want to change the image upload button to a file upload button.
The text was updated successfully, but these errors were encountered: