Block audit: Paragraph #8194
Labels
[Block] Paragraph
Affects the Paragraph Block
[Feature] Blocks
Overall functionality of blocks
[Type] Task
Issues or PRs that have been broken down into an individual action to take
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.
Overview
Name: Paragraph
Icon:
Description: Add some basic text
Category: Common blocks
CSS class: None normally, uses
.has-drop-cap
when it has a drop capCan be converted to: Heading, list, quote, preformatted, subheading, verse
Empty/placeholder state
This block shows just a prompt as a placeholder, to facilitate "just start writing":
These are placeholders/hints for Gutenberg as a whole that sort of relate to the paragraph block, since it's the default:
Primary (toolbar) settings
Alignment, bold, italic, strikethrough, link
Secondary (sidebar) settings
Text settings: custom size, drop cap.
Background color
Text color
Frontend appearance
Gutenberg starter theme:
twentyseventeen:
twentyten:
Documentation
No devdocs in https://github.com/WordPress/gutenberg/tree/master/core-blocks/paragraph
Suggestion for user-facing docs:
Performance on mobile
Accessibility
Bugs/errors
Text settings is a vague heading for the first group of settings. Drop cap looks like it's really tightly spaced into the custom size, mostly because of the toggle placement, which makes it hard to visually discern the options. Recommend instead making Drop cap its own section here.
There are three different controls here for text size: S|M|L|XL, a slider, and a numerical input. I'm guessing the input is for accessibility purposes. What about nixing either the slider or the S|M|L options?
Floating drop cap is problematic. (Paragraph block: Floating drop-cap is problematic #8447)
Disappearing drop cap is also problematic. (Disappearing drop cap causes jumpy behaviour #11119)
When linking a bit of text, the text being linked loses its highlight. (Insert link: the link selection disappears when entering a link #6156)
"This color combination may be hard for people to read...." notice appears after setting the background colour under the text colour heading.
The text was updated successfully, but these errors were encountered: