Open mxhassani opened 2 years ago
Kept this open, but it feels very difficult to implement an open-ended block.
Another request for this here: https://wordpress.com/forums/topic/twenty-twenty-three-custom-social-icon/?view=all
Another request for this here: https://wordpress.com/forums/topic/add-polywork-and-bereal-list-of-supported-icons/?view=all
Adding to the above, we may want to keep in mind the core WP discussion about extending social icons - see here: https://github.com/WordPress/gutenberg/issues/39868
Give this a try: https://gist.github.com/mkkeck/84fe5fda939002fcf210d66b99de7c0f
What
Social Links Block is limited to preset icons. What about adding an n+1 option to add a custom icon?
Why
1- I just got a user in chat asking about adding an IMDB icon to the block. 34270343-hc 2- We have an open request to add a number of icons to the preset.
We can't include all icons but making it open-ended could add value to the block.
How
We could add it to the end of the preset icon suggestions to avoid its overuse.
We could also rethink how to icon-search bar works: instead of searching for the icon first then having to add the link, we could just ask for the link and it will either auto-select the icon or offer the option to upload a new one.
Connecting this with the open request below makes sense: