-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Fonts are not shown in the Editor preview #76649
Comments
Another report: 6267935-zd-woothemes |
Support References This comment is automatically generated. Please do not edit it.
|
cc: @arthur791004 |
WordPress/gutenberg#49655 removed the decision-making logic of which fonts to print for the iframed editor for the 6.3 compat script-loader (it's still in the 6.2 compat file). That code is being relocated to the Fonts API (see WordPress/gutenberg#50151). A 15.7.1 minor will contain this follow-up PR which should restore printing of fonts in the Site Editor and other block editors. |
Another report here: 6272049-zd |
Hi @hellofromtonya , @arthur791004 |
@RT-1904129 unfortunately this issue needs some internal tooling to debug & solve, and we have folks working on this already. |
Hi @simison |
📌 ACTIONS
|
GB 15.7.1 was rolled out to WordPress.com at 19:56 UTC yesterday, which looks to have fixed this bug as @hellofromtonya suggested. |
Quick summary
When selecting a custom font family from our Google Fonts list in Global Styles or blocks Typography controls, the font is not applied correctly in the editor preview but appears on the front end.
CleanShot.2023-05-06.at.09.44.25.mp4
Fonts that are part of the theme style variations can be previewed. This is broken in Simple and Atomic sites on Gutenberg 15.7.
On an Atomic site, when Gutenberg is inactive, the list of fonts is not available at all:
I couldn't reproduce any similar behavior in a local site with and without Gutenberg 15.7.
Steps to reproduce
What you expected to happen
The preview should show the correct font selection
What actually happened
The Editor will not show any fonts from Google Fonts in the preview.
Impact
Most (> 50%)
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
Simple, Atomic
Logs or notes
Gutenberg 15.7
Mac OS Ventura 13.0.1
Chrome 112.0
The text was updated successfully, but these errors were encountered: