Skip to content

Unable to split List V2 block from middle of list #43873

@dcalhoun

Description

@dcalhoun

Description

When the cursor is placed at the end of a list item position in the middle of the list, it is not possibly to split the list block by pressing the Return key twice. This appears to have begun occurring with List V2 blocks enabled using inner blocks.

Step-by-step reproduction instructions

  1. Insert a List block with the native editor.
  2. Add at least three items to the list.
  3. Place the cursor at the end of one of the items in the middle of the list.
  4. Press the Return twice.

Expected behaviour

The List block is split in half. The editor contains:

  1. A List block with the first half of list items.
  2. An empty Paragraph block with cursor focus.
  3. A List block with the second half of list items.

Actual behaviour

The editor contains a single List block with an item list item in the middle of the list.

Screenshots or screen recording (optional)

Expected
expected.MP4
Actual
actual.MP4

WordPress information

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

Device information

  • Device: iPhone SE
  • Operating system: iOS 16 beta 6
  • WordPress app version: 20.5

Metadata

Metadata

Assignees

Labels

Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Block] ListAffects the List Block[Type] RegressionRelated to a regression in the latest release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions