-
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 size control is broken in some classic themes on 6.6 alpha #62222
Comments
From my understanding, this PR in core should resolve the issue once it is committed: WordPress/wordpress-develop#6616 As far as I've researched, this issue occurs when there are no available font presets, so I believe it's not a problem that only occurs with WP6.6, but can occur with any theme. See #62072 for details. CC: @ajlende for visibility |
Thank you, since no one else was able to reproduce it I wasn't sure if I was imagining it. I will close this. |
Have the same issue in 4 WordPress Sites after updating to 6.6 i inspected the problem. so in Editor -> Blocks -> Navigation i cant select "default" it is 1rem and is the old setting. i can select all other font sizes but not default. And default was set before update. Here is a video: |
@espiat Hi, the video is set to private. |
Hi. Sorry. I forgot to make the video public. It was also my mistake that I hadn't set the theme to standard. The error was in the greenshift theme. It was fixed yesterday. Thank you for your efforts. |
Description
On 6.6-alpha-57778-src without Gutenberg active.
When I activate a classic theme like Twenty Fourteen or Twenty Thirteen, and add any block with a font size option, then the font size control is empty. Clicking on the font size control and trying to enter a custom value causes a JavaScript error.
If I activate a classic theme that has
add_theme_support('editor-font-sizes', ...)
for example Twenty Twenty-One, then the error is not present.Step-by-step reproduction instructions
Activate a classic theme that has not added support for custom font sizes.
Add a text based block like a paragraph and try to select a size.
Screenshots, screen recording, code snippet
Environment info
No response
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: