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: Dragging an image onto the same line crashes #5720

Closed
FinlayBP opened this issue Mar 15, 2024 · 0 comments · May be fixed by Opetushallitus/kouta-ui#574
Closed

Bug: Dragging an image onto the same line crashes #5720

FinlayBP opened this issue Mar 15, 2024 · 0 comments · May be fixed by Opetushallitus/kouta-ui#574
Assignees

Comments

@FinlayBP
Copy link

Lexical version: 0.13.1

Steps To Reproduce

  1. Browse to https://playground.lexical.dev/ and insert an image after another element (text, bulleted text, another image etc)
  2. Attempt to drag the image onto the the same line.

image bug

The current behavior

The image overwrites the current line and crashes the editor.

The expected behavior

No change should occur given the image isn't being moved to a different line.

Sahejkm added a commit that referenced this issue Mar 31, 2024
@Sahejkm Sahejkm self-assigned this Mar 31, 2024
Sahejkm added a commit that referenced this issue Apr 1, 2024
Sahejkm added a commit that referenced this issue Apr 1, 2024
@Sahejkm Sahejkm closed this as completed in bde1c84 Apr 1, 2024
thegreatercurve added a commit that referenced this issue Apr 24, 2024
zurfyx added a commit that referenced this issue Apr 24, 2024
zurfyx added a commit that referenced this issue Apr 24, 2024
zurfyx added a commit that referenced this issue Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants