Skip to content

@font-face CSS not loading in page editor. wp-edit-post-js-after #51072

@djcowan

Description

@djcowan

Description

@font-face CSS not loading in page editor when in desktop preview for existing websites.

  • Fonts visible wjhen switching to mobile, tablet preview
  • wp-edit-post-js-after styles contain reference in __unstableResolvedAssets
  • Noted on existing gutenberg enabled websites (mu and single)
  • Iframe does not appear to load for desktop preview
  • Disabling gutenberg plugin fixes issue
  • changing text element font style in preview mode creates error

Step-by-step reproduction instructions

Not reproduceable - effects existing websites

Screenshots, screen recording, code snippet

GIST contining wp-edit-post-js-after data: https://gist.github.com/djcowan/55252ddedaa412512c15535f8e6af36e
four
three
two
one

Environment info

  • Version 15.8.1 | By Gutenberg Editor Team
  • Wordpress Version 6.2.2
    Is this site using HTTPS?
    Yes
    Is this a multisite?
    Yes

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    CSS StylingRelated to editor and front end styles, CSS-specific issues.Needs TestingNeeds further testing to be confirmed.[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