Is your feature request related to a problem? Please describe.
Currently, I can disable both pre-defined and custom color options for paragraphs by registering an empty array for the editor-color-palette
support as well as adding the disable-custom-colors
"support". However, this doesn't affect table blocks (since they use a separate color set).
Describe the solution you'd like
A way鈥攅ither via theme supports, or hooking into the blocks.registerBlockType
filter鈥攖o disable or replace the color options on table blocks.
Describe alternatives you've considered
Currently I can just hide the panel in CSS, but this obviously isn't an ideal solution.
+1
The table colour options need to be consistent with other blocks and respect add_theme_support( 'disable-custom-colors' )
Testing this on WP 5.3 RC3, these sort of consistency issues really should have been sorted out for a major release.
This is a bummer.
+1 !
Most helpful comment
+1
The table colour options need to be consistent with other blocks and respect
add_theme_support( 'disable-custom-colors' )
Testing this on WP 5.3 RC3, these sort of consistency issues really should have been sorted out for a major release.