Fluid typography in theme.json loads just the default size in the site editor #42680
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Feature] Typography
Font and typography-related issues and PRs
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
When you use the fluid typography API recently introduced in Gutenberg, the min and max settings are ignored in the editor and it just loads the default value.
Step-by-step reproduction instructions
settings.typography.fontSizes
) intheme.json
and save.styles.blocks
).Screenshots, screen recording, code snippet
Frontend:
Editor:
Environment info
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
The text was updated successfully, but these errors were encountered: