Open
Description
Description
Currently, when I change the style (text color, background color, link color, etc.) and then revert it back to the original by clicking on the color swatch, the review button still gets triggered—even though no actual change has occurred. While clicking the ‘Clear’ button resolves this issue for other elements, it doesn’t work for ‘Text Color’. Focus issue for Text Color: #60614.
Step-by-step reproduction instructions
- Open the Site Editor.
- Navigate to Styles > Colors.
- Change the Text Color using the color swatch, then click back on the original color.
- Notice that the Review Changes button appears, even though the color is reverted.
- Refresh the page.
- Now repeat the color switching process with Background, Links, etc.
- Observe that the Clear button removes the Review Changes button. However, switching back to the original color from another still triggers the Review Changes button.
Screenshots, screen recording, code snippet
Screen.Recording.2025-06-02.at.8.57.50.AM.mov
Screen.Recording.2025-06-02.at.8.58.32.AM.mov
Environment info
- WordPress 6.8
- Gutenberg 20.9.0
- TT5
- Google Chrome
- MacOS Sequoia
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure