Duotone appears with 6.2 even when disabled with theme.json #49541
Labels
[Block] Image
Affects the Image Block
Customization
Issues related to Phase 2: Customization efforts
[Type] Regression
Related to a regression in the latest release
Description
Prior to 6.1, duotone filters could be disabled with theme.json. Now they cannot.
Step-by-step reproduction instructions
< 6.2, the following in theme.json disabled all color options, including duotone:
{ "version":2, "settings": { "color": { "palette": [], "custom": false, "gradients": [], "customGradient": false } } }
I have tried updating this to:
{ "version":2, "settings": { "typography": { "customFontSize": false, "fontSizes": [], "dropCap": false, "fontWeight": false, "fontStyle": false, "textTransform": false, "textDecoration": false, "letterSpacing": false }, "color": { "custom": false, "customDuotone": false, "customGradient": false, "duotone": [], "gradients": [], "palette": [], "background": false, "defaultGradients": false, "defaultPalette": false } } }
The duotone filter still appears on image blocks.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.2, no Gutenberg plugin
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
The text was updated successfully, but these errors were encountered: