Transformed or split Heading blocks have incorrect line height for block themes #38421
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
[Type] Bug
An existing feature does not function as intended
Description
Related to #37168. While a block theme is utilized, transforming a block to a Heading block or splitting an existing Heading block results in the Heading block displaying an incorrect line height. This results in longer, wrapping text overlapping itself.
The solution in #37285 addressed the issue for typing into a Heading block, but transforming/splitting appears to remain an issue.
This issue occurs only on Android, it does not occur on iOS.
Step-by-step reproduction instructions
Expected behaviour
The correct line height is applied to the Heading block and the text is not overlapping.
Actual behaviour
The incorrect line height is applied to the Heading block and the text is overlapping.
Screenshots or screen recording (optional)
Screen_Recording_20220201-112816.mp4
WordPress information
Device information
The text was updated successfully, but these errors were encountered: