Skip to content

Conversation

@dhruvikpatel18
Copy link
Contributor

What?

Part of #31261
Followed up comment: #31261 (comment)

Adds link color support to the Table block.

Why?

The Table block did not previously support link color customization, causing links within table cells to always use the default theme link color.
This change allows users to set custom link colors directly through the block’s color settings panel, improving visual consistency and design flexibility.

Testing Instructions

  1. Open the editor and insert a Table block.
  2. Add text with a link inside one of the table cells.
  3. In the block settings sidebar, open the Color settings panel.
  4. Change the Link color.
  5. Confirm that:
    • The selected link color updates in the editor preview.
    • The same color is applied on the front end after saving and viewing the post.

@dhruvikpatel18 dhruvikpatel18 marked this pull request as ready for review October 10, 2025 01:21
@github-actions
Copy link

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: dhruvikpatel18 <dhruvik18@git.wordpress.org>

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

@t-hamano t-hamano added [Type] Enhancement A suggestion for improvement. [Block] Table Affects the Table Block labels Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Table Affects the Table Block [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants