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

Core palette opt out not working in site editor #36852

Closed
Andrew-Starr opened this issue Nov 25, 2021 · 1 comment
Closed

Core palette opt out not working in site editor #36852

Andrew-Starr opened this issue Nov 25, 2021 · 1 comment

Comments

@Andrew-Starr
Copy link

Description

With the new corePalette and coreGradients keys, themes can opt out of displaying the core color palette.

This works correctly in the post editor, but in the site editor the core color palette and gradients are still available.

Step-by-step reproduction instructions

Add the opt outs to theme.json as detailed in #36492 and #36407

"settings": {
		"color": {
			"corePalette": false,
			"coreGradients": false

Navigate to 'Posts' > 'Edit' to edit a post, and the core color palette is correctly removed from view.

Navigate to 'Appearance' > 'Styles' > 'Colors' > 'Elements' > 'Background', and see that the core color pallete and gradients are still available. This should not be the case

Screenshots, screen recording, code snippet

No response

Environment info

WP 5.8.2
Gutenberg 12.0.1

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@oandregal
Copy link
Member

This has been fixed by #36639 which will be part of Gutenberg 12.1, to be released in a few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants