Skip to content

Heading: Enable heading level curation via theme.json #70190

Open
@vyskoczilova

Description

@vyskoczilova

This PR #63535 enabled setting Heading levels via PHP snippet when registering the block. I would love to see an option to define those in the theme.json, like you can limit color settings, etc.

Image

This would allow easier maintenance and the possibility of changing this later (for example, for certain post types) with the filter wp_theme_json_data_theme.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] HeadingAffects the Headings Block[Feature] ExtensibilityThe ability to extend blocks or the editing experience[Status] In discussionUsed to indicate that an issue is in the process of being discussed[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions