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: Can't insert linebreak before link if line starts with link #4172

Closed
kbkmn opened this issue Mar 21, 2023 · 0 comments · Fixed by #5110
Closed

Bug: Can't insert linebreak before link if line starts with link #4172

kbkmn opened this issue Mar 21, 2023 · 0 comments · Fixed by #5110
Labels
all-platforms-bug hyperlinks Relates to Lexical Links

Comments

@kbkmn
Copy link

kbkmn commented Mar 21, 2023

Linebreak ignores selection if its at the beginning of line and right before link node. Adds linebreak after node instead

Lexical version: 0.9.0

Steps To Reproduce

  1. Add link at the beginning of the line
  2. Move selection to the beginning of the line
  3. Press Shit + Enter for a linebreak
Screen.Recording.2023-03-21.at.22.36.12.mp4

The current behavior

New line added right after link node

The expected behavior

New line should be added before link node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
all-platforms-bug hyperlinks Relates to Lexical Links
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants