Skip to content

Block inserter includes un-insertable block types #65

@dcalhoun

Description

@dcalhoun

Description

The block inserter does not appear to filter the block types available based on the current context. E.g., the List Item block type is displayed, even when a List block is not selected. This is confusing, and also creates a situation where tapping an erroneously displayed block type results in no action—the block type is not inserted.

Step-by-step reproduction instructions

  1. Launch the editor.
  2. Open the block inserter.

Expected behaviour

Block types irrelevant to the current context are not displayed (e.g., List Item when a Paragraph block is selected).

Actual behaviour

Block types irrelevant to the current context are displayed (e.g., List Item when a Paragraph block is selected).

Screenshots or screen recording (optional)

Screenshot

Image

WordPress information

  • WordPress version: 6.7.1
  • Gutenberg version: 20.0.0
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Yes

Device information

  • Device: iPhone 15
  • Operating system: iOS 18.2.1
  • WordPress app version: 25.7.0.0

Metadata

Metadata

Assignees

Labels

[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions