8000 Not allowed "theme" property added to settings.spacing.spacingScale · Issue #741 · WordPress/create-block-theme · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Not allowed "theme" property added to settings.spacing.spacingScale #741
Open
@valentin-grenier

Description

@valentin-grenier

If a spacing scale is defined in settings.spacing.spacingScale and if the user saves its theme to files from the site editor, a theme property is added to spacingScale as a child. It does not break the theme but the property is not allowed by schema ("Property theme is not allowed.").

Identified bug:

"spacingScale": {
	"theme": {
		"increment": 16,
		"mediumStep": 32,
		"operator": "+",
		"steps": 7,
		"unit": "px"
	}
},

Should be:

"spacingScale": {
	"increment": 16,
	"mediumStep": 32,
	"operator": "+",
	"steps": 7,
	"unit": "px"
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0