Skip to content

Bug: Unexpected Paragraph after deletion of new lines #7789

@taweber-acn

Description

@taweber-acn

Lexical version: v0.34.0

Steps To Reproduce

  1. Go to Lexical Playground
  2. Clear Editor
  3. type "foo", press ENTER two times, type "bar"
  4. press arrow up
  5. press delete
  6. type "x" while cursor is before "bar"

The current behavior

foo
x
bar

The expected behavior

foo
xbar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions