-
Notifications
You must be signed in to change notification settings - Fork 4.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
Styles: Changing typography doesn't apply to Headings #37433
Comments
It does seem strange that we can define typography for headings at the element level but not at the specific block level. So in
and we can also define typography for the heading block
but not specifically for the h2 heading block for example this does not work:
The result of this is that a theme can define heading(s) typography but like you say, the user is not able to change any of this in the editor, and is therefore stuck with whatever the theme decides. I seem to remember an older version of Gutenberg did have the granularity controls, but then it was removed at some point. |
Looking at the designs of the typography panel at #36546, headings should be part of the Typography panel (top-level, not blocks): Reading the PR that implemented support for some typography in the UI #36718 (comment) it seems that changing heading was moved for later (not part of the 5.9 scope). |
I am removing from the 5.9 board, based on @oandregal comment. |
+1 on this. @oandregal's screenshot looks great. I'd also add a custom option in the Elements for Buttons if possible. |
Description
In talking with Ana Segota (block theme author), she mentioned the following:
I could replicate this with WordPress 5.9 beta 3! Tied to this, I noticed too that changing the font size under Styles > Blocks > Headings > Typography that it changes the size of all Headings and there's no room for granularity. This seems to be by design for now but happy to open another issue if not.
cc @oandregal
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
headings.global.styles.mov
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: