-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Font picker not reflecting correct size with custom font sizes #67283
Comments
Hi |
Nevermind, I had the sound off when watching the video, I understand now. |
Hey @mikemcalister, Thank you for reporting this issue. I confirm that the bug exists and was able to reproduce it as described. Environment
Screen.Recording.2024-11-26.at.9.51.58.AM.mov |
@mikemcalister @carolinan This should now be fixed. Can someone confirm this by testing, else I will pick this up. Thanks! 🙇 |
@SainathPoojary confirmed that the issue had been resolved. |
Description
When a theme has several custom font sizes declared in theme.json, the global styles UI does not show the right label for the assigned font sizes. When you cycle through the H1-H6 selector, it shows random font sizes in the select label. See video below.
The issue does not affect a theme like 2025 which has the standard S, M, L, XL, XXL font size pattern. But when more font sizes are added to 2025, the issue does show.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
CleanShot.2024-11-25.at.13.56.46.mp4
Environment info
WP 6.7.1
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: