But I'm experiencing inconsistencies in the appropriate style tag actually being output. Sometimes they render and output the correct HTML just fine:
These are h3 heading blocks styled as the h4 variation
But then other times, blocks will be output and not receive styling:
they appear correctly in the admin:
I believe the issue is the ID mapping. You can see in the Inspector above that each of those headings has a randomly generated ID like is-style-h3--1201e5b0c2adef11e541d2ddcd3f346e. And when I go look at the
Description
I have created a few block styles for headings and paragraph blocks. As an example, this is one of each:
And then in my theme.json, I have styles defined for all of my variations under styles/blocks/variations (shortened for brevity):
As an aside note, the font sizes are custom variables I defined higher up in the json (again shortened to the necessary snippet):
Step-by-step reproduction instructions
But I'm experiencing inconsistencies in the appropriate style tag actually being output. Sometimes they render and output the correct HTML just fine: These are h3 heading blocks styled as the h4 variation
But then other times, blocks will be output and not receive styling:
they appear correctly in the admin:
I believe the issue is the ID mapping. You can see in the Inspector above that each of those headings has a randomly generated ID like is-style-h3--1201e5b0c2adef11e541d2ddcd3f346e. And when I go look at the