WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.35k stars 4.13k forks source link

Highlight color palette only shows colors from the last source #36886

Open oandregal opened 2 years ago

oandregal commented 2 years ago

Related https://github.com/WordPress/gutenberg/pull/16014 https://github.com/WordPress/gutenberg/pull/36841

Description

The color palette component used to highlight RichText content only shows colors from a single palette (default, theme, or custom). This has some weird side-effects such as when the user has added a custom color only that one will be shown.

Step-by-step reproduction instructions

The color component only shows colors from the theme, when it should show defaults, theme, and user colors.

Captura de ecrã de 2021-11-25 19-36-57

If the user adds a single color to the custom palette (via the global styles sidebar in edit site), only that single color will be shown here.

Mamaduka commented 2 years ago

I'm removing this issue from WP 5.9 board since we're already in the RC phase.

Let's try and land a fix for this in a minor or major release.

roborourke commented 6 months ago

I ran into this recently too, so still a problem. I'll see if I can work out how to support it.

webmandesign commented 4 months ago

I can confirm this is still an issue.

webmandesign commented 4 months ago

However, the issue with Highlight colors seems quite complex: #47439, #40279, #59649

DamChtlv commented 1 month ago

As of WP 6.5.3, i can confirm it's still an issue