getblocklab / block-lab

A WordPress Admin interface and a simple templating system for building custom Gutenberg blocks.
https://getblocklab.com
GNU General Public License v2.0
416 stars 63 forks source link

Feature Request: Media Download #446

Open DavidMillington-CD opened 5 years ago

DavidMillington-CD commented 5 years ago

Currently there is an "Image" option. When you click that it opens the Media Library but the filter is set to only allow images to be selected. It would be nice if there was a "Media" option that lets us pick any media that has been uploaded to the library. An example use case is that our client wants to link to PDF forms they have uploaded to the Media Library. Currently the only way to link to that via Block Labs is to use the URL field type. The client has to open the Media Library in another browser tab, find the file, open the meta panel for it and copy the URL. Then switch to the Block Labs browser tab and paste it in. Those extra steps are hassle, especially when they are adding a download block to 100+ content pages with different content for most.

kienstra commented 5 years ago

Hi @DavidMillington-CD, that's a good idea. Pull requests for this idea will reference this issue, so you can check back in this issue to see its status.