Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing enter on an empty list item generates a paragraph block. #44627

Closed
torounit opened this issue Oct 1, 2022 · 0 comments · Fixed by #44864
Closed

Pressing enter on an empty list item generates a paragraph block. #44627

torounit opened this issue Oct 1, 2022 · 0 comments · Fixed by #44864
Assignees
Labels
[Block] List Affects the List Block [Type] Bug An existing feature does not function as intended

Comments

@torounit
Copy link
Member

torounit commented Oct 1, 2022

Description

When the enter key is pressed on an empty list block, the cursor is maintained in the list block and an empty paragraph block is generated below the list block.

Occurs in WordPress 6.1 beta 2 or Gunteberg 14.

Step-by-step reproduction instructions

  1. Type /list and press enter.
  2. Press the Enter key several times.
  3. A number of paragraph blocks equal to the number of Enter key presses will be generated at the bottom of the list.

Screenshots, screen recording, code snippet

2022-10-01.13.04.58.mov

Environment info

  • WordPress 6.1 beta 2
  • Gutenberg 14.2.0

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@torounit torounit added [Type] Bug An existing feature does not function as intended [Block] List Affects the List Block labels Oct 1, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Oct 1, 2022
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] List Affects the List Block [Type] Bug An existing feature does not function as intended
Projects
None yet
4 participants