quill-image-uploader
quill-image-uploader copied to clipboard
Handle adding customizable accept types
Description
This PR handles adding customizable image accept
types. There are many applications where specific image types must be excluded/limited.
By including a parameter on options
we can effectively pump in this corresponding data; however, this still has the need to be constricted to actual image types. Although this could be by passed by something along the lines of
accept: "image/* video/* ..."
There is a clear UI indication being that other specified types won't render correctly, and it is also important to note that this parameter is optional. So although this might take away from the optimal path of this library, it opens up customization for those who need it.