Skip to content

Social links block: Add Clear button for color option#68564

Merged
carolinan merged 1 commit intoWordPress:trunkfrom
shimotmk:fix/add-clear-button-to-social-links
Jan 10, 2025
Merged

Social links block: Add Clear button for color option#68564
carolinan merged 1 commit intoWordPress:trunkfrom
shimotmk:fix/add-clear-button-to-social-links

Conversation

@shimotmk
Copy link
Copy Markdown
Contributor

@shimotmk shimotmk commented Jan 9, 2025

What?

Add a clear button just like the other color controls.
Similer #63580

Why?

Add a clear button for consistency

How?

Added clearable: true

Testing Instructions

  1. Open a post or page.
  2. Insert a Social links block block.
  3. You can see that a clear button has been added to the Icon Color and Icon Background.

Testing Instructions for Keyboard

Screenshots or screencast

Before After
before1 after1
before2 after2
before3 after3

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 9, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: shimotmk <shimotomoki@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@carolinan carolinan added [Block] Social Affects the Social Block - used to display Social Media accounts [Type] Enhancement A suggestion for improvement. labels Jan 10, 2025
@carolinan
Copy link
Copy Markdown
Contributor

Hi @shimotmk is there an open issue related to this change?

@shimotmk
Copy link
Copy Markdown
Contributor Author

@carolinan
Thank you. 👍
There are no related issues
I found the problem and submitted a PR.

@carolinan carolinan merged commit 3a0fb96 into WordPress:trunk Jan 10, 2025
@github-actions github-actions bot added this to the Gutenberg 20.1 milestone Jan 10, 2025
@Mamaduka
Copy link
Copy Markdown
Member

Thanks, @carolinan! I was about to merge this and then had to hop on a call 🙇

@shimotmk
Copy link
Copy Markdown
Contributor Author

Thanks for the review!

@shimotmk shimotmk deleted the fix/add-clear-button-to-social-links branch January 10, 2025 10:23
Gulamdastgir-Momin pushed a commit to Gulamdastgir-Momin/gutenberg that referenced this pull request Jan 23, 2025
Add Clear buttons to the icon color and icon background color options on the social links block, to improve consistency with other options.

Co-authored-by: shimotmk <shimotomoki@git.wordpress.org>
chriszarate pushed a commit to chriszarate/gutenberg that referenced this pull request Jul 1, 2025
Add Clear buttons to the icon color and icon background color options on the social links block, to improve consistency with other options.

Co-authored-by: shimotmk <shimotomoki@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Social Affects the Social Block - used to display Social Media accounts [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants