Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #63549


Ignore:
Timestamp:
06/09/2025 09:18:36 PM (12 months ago)
Author:
sabernhardt
Comment:

Thanks for creating the ticket and a patch!

Version: 6.4 stopped converting html and body selectors to .editor-styles-wrapper in the printed style tag.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63549

    • Property Keywords has-patch added
    • Property Milestone changed from Awaiting Review to 6.9
    • Property Version changed from to 6.4
    • Property Summary changed from Twenty Twenty-One: Line-height inconsistency in List Item blocks between editor and frontend due to reset styles – follow-up to #60196 to Twenty Twenty-One: Line-height inconsistency in List Item blocks between editor and frontend
  • Ticket #63549 – Description

    initial v2  
    1 This ticket is a follow-up to [#60196](https://core.trac.wordpress.org/ticket/60196), which fixed margin differences between the editor and frontend. However, there's still a noticeable spacing issue due to a mismatch in `line-height`.
     1This ticket is a follow-up to #60196, which fixed margin differences between the editor and frontend. However, there's still a noticeable spacing issue due to a mismatch in `line-height`.
    22
    3 As mentioned in the comment (https://core.trac.wordpress.org/ticket/60196#comment:10), the editor sets `line-height` on the `<html>` tag, while the iframe used in the editor applies `line-height: normal` on the `<body>`. This causes the text spacing in the editor to look slightly different from the frontend.
     3As mentioned in comment:10:ticket:60196, the editor sets `line-height` on the `<html>` tag, while the iframe used in the editor applies `line-height: normal` on the `<body>`. This causes the text spacing in the editor to look slightly different from the frontend.
    44
    55=== Backend Editor