Skip to content

Disabling the color palette and keeping the gradients palette results in a broken inspector panel #19812

@youknowriad

Description

@youknowriad

In the buttons block (and cover) (all blocks supporting gradients), we should be able to disable the color palette and keep the gradients by adding this to your theme functions.php

	add_theme_support( 'editor-color-palette', array() );

right now, if you do so, you end up with a broken inspector panel.

cc @jorgefilipecosta

Metadata

Metadata

Labels

[Block] ButtonsAffects the Buttons Block[Block] CoverAffects the Cover Block - used to display content laid over a background image[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions