This fixes an issue being introduced by WordPress.
To replicate:
Enable the legacy Typography system in GP by setting the use_dynamic_typography option in our defaults.php file to false.
Enable the Gutenberg plugin
Add a set of core Heading blocks to a page
The addition of the wp-block-heading class to the core Heading block makes it so our legacy block margin applies to the headings, instead of their inherited heading margins.
This fixes an issue being introduced by WordPress.
To replicate:
use_dynamic_typography
option in ourdefaults.php
file tofalse
.The addition of the
wp-block-heading
class to the core Heading block makes it so our legacy block margin applies to the headings, instead of their inherited heading margins.