Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Feature Request: Social Links Block - Add custom social icon option #61328

Open mxhassani opened 2 years ago

mxhassani commented 2 years ago

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:

Greatdane commented 2 years ago

Kept this open, but it feels very difficult to implement an open-ended block.

aleone89 commented 1 year ago

Another request for this here: https://wordpress.com/forums/topic/twenty-twenty-three-custom-social-icon/?view=all

aleone89 commented 1 year ago

Another request for this here: https://wordpress.com/forums/topic/add-polywork-and-bereal-list-of-supported-icons/?view=all

sophiegyo commented 1 year ago

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

mkkeck commented 1 year ago

Give this a try: https://gist.github.com/mkkeck/84fe5fda939002fcf210d66b99de7c0f