Skip to content

Bug: backspace in Firefox removed the MarkNode #7049

@benjick

Description

@benjick

Lexical version: Playground

Steps To Reproduce

  1. Go to playground in Firefox
  2. Add a comment
  3. Move the cursor, from the right, to the end of the node, using either arrows or backspace
  4. Press backspace
  5. Node is removed

The current behavior

lexical.bug.mp4

The expected behavior

To only remove a single character, like if you backspace from the middle of marknode

Impact of fix

This seems to be a Firefox (tested on 134.0) issue only. I can't replicate it in Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions