#26386·gutenberg

Remove inline Text Colour option when all colours have been disabled via experimental-theme.json

Author: designbuildtestCreated Oct 22, 2020Updated Sep 18, 2026
Labels[Type] Bug[Status] In Progress[Package] Format library

When an empty colour palette array is passed via experimental-theme.json, the option to apply an inline text colour should also be removed. Selecting 'Text Colour' currently opens an empty popover as all colours have been disabled.

{
        "global": {
                "settings": {
                        "color": {
                                "palette": [],
                                "custom": false,
                                "gradients": [],
                                "customGradient": false, 
                                "link": false
                        },
                        "spacing": {
                                "customPadding": false,
                                "units": [
                                        "em"
                                ]
                        },
                        "typography": {
                                "fontSizes": [], 
                                "customFontSize": false,
                                "customLineHeight": false,
                                "dropCap": false
                        }
                }
        }
}

inline-text-color

inline-text-color-empty-palette

Gutenberg 9.1.1