-
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
Block audit: Heading #8230
Comments
I think the term everybody uses is "inspector" or "block inspector", rather than secondary toolbar. Subheadings should remain separate from the Heading block, in my opinion. Just to be clear, a Subheading is something that should not use the https://minecraft.net is the first example that comes to my mind as an example of posts using subheadings. Hover over the blog posts in the masonry layout and a subheading will appear below the title. The subheading is also shown below the title when you go to a blog post. The HTML 5.2 specification shows some other uses of the Subheading block, including cases where you would have multiple subheadings following a single heading. Notably, I think the Subheading block, in the context of using it for short blurbs of text below the title (like on news sites), may not even belong in That said, the Subheading block is still useful for situations where you have a subheading below each section heading in your post or page. You might wonder why you could not just use a Paragraph block to accomplish the same thing. Well, you could. But the Subheading block is slightly more semantic, meaning that:
|
Related: #3785 |
All issues here have been filed as individual issues, so I'm going to go ahead and close out this tracking bug. Feel free to comment on if I missed anything, or open new issues as needed! 💪 |
Note: We'll be doing these audits in waves and editing this as we work through the blocks, so this text will be updated and fleshed out as we progress. See the full picture here.
Overview
Name: Heading
Description: Insert a headline above your post or page content.
Category: Common blocks
CSS class: None on frontend,
wp-block-heading
in editorCan be converted to: Quote, cover image, paragraph
States
Empty:
Blinking prompt
Selected:
Unselected:
Placeholder:
If you click through without adding any text, you'll see greyed-out text that says "Write heading...":
Primary (toolbar) settings
H2, H3, H4, bold, italic, strikethrough, link
Secondary (sidebar) settings
Heading settings: H1, H2, H3, H4, H5, H6
Text alignment: left, centre, right
Advanced: Additional CSS Class, HTML Anchor
Frontend appearance
Gutenberg starter theme:
Atomic Blocks
twentyseventeen:
twentyten:
Documentation
No devdocs in https://github.com/WordPress/gutenberg/tree/master/core-blocks/heading
Suggestion for user-facing docs:
Performance on mobile
Accessibility
Bugs/errors
Individual issues will be opened for these soon
tags sometimes appear within a heading. (Firefox: RichText: invisible trailing <br> tags #5872)
Suggestions
Individual issues will be opened for these soon
The text was updated successfully, but these errors were encountered: