Don't display paragraph block colors if support is disabled and palette is empty array #5447
Labels
[Feature] Block API
API that allows to express the block paradigm.
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
Issue Overview
As of now we can opt to turn off the custom color picker using 'disable-custom-colors' theme support option, as well as being able to define specific color chips to override the defaults. This is great, and thank you! However, this:
yields this:
Seems to me from an user experience perspective it'd be better not to display the option areas at all if the editor can't actually make a choice there.
The text was updated successfully, but these errors were encountered: