quill-image-uploader icon indicating copy to clipboard operation
quill-image-uploader copied to clipboard

Handle adding customizable accept types

Open andrewfoghel opened this issue 8 months ago • 0 comments

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.

andrewfoghel avatar May 31 '24 12:05 andrewfoghel