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

Bug: Backspace after a table causes unexpected deletion #7090

Closed
patrick-atticus opened this issue Jan 24, 2025 · 0 comments · Fixed by #7155
Closed

Bug: Backspace after a table causes unexpected deletion #7090

patrick-atticus opened this issue Jan 24, 2025 · 0 comments · Fixed by #7155
Labels
selection tables Relates to Lexical Tables

Comments

@patrick-atticus
Copy link
Contributor

Lexical version: v0.23.1

Steps To Reproduce

In the playground:

  1. Create a table (any size)
  2. Move cursor to the paragraph after the table
  3. Type some text
  4. Move cursor to start of line
  5. Press backspace
  6. Observe that the line of text is forward deleted, except for the last character
CleanShot.2025-01-24.at.16.11.04.mp4

The current behavior

A line of text is unexpectedly deleted in front of the cursor

The expected behavior

Google Docs and Word simply no-op. Nothing is deleted and the cursor does not move.

Impact of fix

Low, but unexpected deletions erode trust in the editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
selection tables Relates to Lexical Tables
Projects
None yet
2 participants