Skip to content

Styles coming from __experimentalStyles are not enqueued in the post editor for themes without theme.json #46818

@oandregal

Description

@oandregal

Raised at #45731

Steps to reproduce:

  • Activate the TwentyTwenty theme.
  • Load the post editor.
  • Add a pullquote block.
  • Search for .editor-styles-wrapper .wp-block-pullquote.

The expected behavior is that there should be a style rule containing the font size and line height defined in the __experimentalStyle of the pullquote block embedded into the HTML document. However, that style rule is not present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions