Open
Description
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.

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
.