Content and Excerpt Blocks: Add indent controls#76952
Content and Excerpt Blocks: Add indent controls#76952
Conversation
Add block support for text indent to the content and excerpt blocks, including typography selectors.
|
@henriqueiamarino "Another post on my blog" is the post title.
|
|
Flaky tests detected in 9550735. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23831486628
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |

What?
Closes #76536
Add block support for text indent to the content and excerpt blocks.
In block.json, the text indent is added to a selector that targets the first paragraph inside the block.
(The reason why this is needed for the excerpt is that the "read more" link is in a paragraph.)
Testing Instructions
Repeat step 1-4 with the excerpt block.
Note that there are a few blocks that may look like they could be paragraphs, but are not indented, such as the login/out block. This block only uses the
<a>tag.