-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
[Feature] Theme Style VariationsRelated to style variations provided by block themesRelated to style variations provided by block themes[Feature] TypographyFont and typography-related issues and PRsFont and typography-related issues and PRs[Focus] Blocks AdoptionFor issues that directly impact the ability to adopt features of Gutenberg.For issues that directly impact the ability to adopt features of Gutenberg.[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When switching style variations, the font faces defined in those variations are not loaded in the editor but after the page is reloaded.
Step-by-step reproduction instructions
- Switch to a theme style variation with custom font faces defined.
- Check that the fonts are not loaded in the editor until the page is refreshed (browser reload).
Screenshots, screen recording, code snippet
Look at the headings when a theme style variation is applied, they render the default font until the page is refreshed:
2024-03-18.16-39-33.mp4
Environment info
- Gutenberg trunk
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
Metadata
Metadata
Assignees
Labels
[Feature] Theme Style VariationsRelated to style variations provided by block themesRelated to style variations provided by block themes[Feature] TypographyFont and typography-related issues and PRsFont and typography-related issues and PRs[Focus] Blocks AdoptionFor issues that directly impact the ability to adopt features of Gutenberg.For issues that directly impact the ability to adopt features of Gutenberg.[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended