Pullquote Block: In the Classic theme, line-height is not applied on the editor #49261
Labels
[Block] Pullquote
Affects the Pullquote Block
[Type] Bug
An existing feature does not function as intended
Description
The
line-height
is not applied to the body of the Pullquote block in the editor when the following conditions overlap:theme.json
)When this condition is met,
line-height:1.8
is applied to the p tag and the value of the line-height control is not reflected.This style is probably output from the following definition:
gutenberg/packages/block-editor/src/default-editor-styles.scss
Lines 15 to 17 in bda98f1
Step-by-step reproduction instructions
Use the following files to create a classic theme with
line-height
support enabled.mytheme/function.php:
mytheme/index.php:
mytheme/style.css:
Use the following code to insert a Pullquote block with all typographic styles applied:
Screenshots, screen recording, code snippet
4c2a3d14de0c1b5af1d96d8e970d67ac.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: