Skip to content

Using role: content in blocks and why #450

@bph

Description

@bph

Discussed in #441

Originally posted by justintadlock January 23, 2026
In light of the Pattern Editing experiment becoming stable, it's more important that block authors correctly use role: content in their blocks to let WP know when something is or is not content.

It's probably also worth exploring useBlockEditingMode() for displaying items based on the mode.

This is not a well-formed topic idea just yet. Just adding a few thoughts, and maybe we can get the ball rolling.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions