Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
youknowriad opened this issue Jan 22, 2020 · 0 comments
Assignees
Labels
[Block] Buttons Affects the Buttons Block [Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Bug An existing feature does not function as intended

Comments

@youknowriad
Copy link
Contributor

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

@youknowriad youknowriad added [Type] Bug An existing feature does not function as intended [Block] Cover Affects the Cover Block - used to display content laid over a background image [Block] Buttons Affects the Buttons Block labels Jan 22, 2020
@jorgefilipecosta jorgefilipecosta self-assigned this Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Buttons Affects the Buttons Block [Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants