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

Fix can format backwards when at first text node boundary #2445

Merged
merged 3 commits into from
Jun 17, 2022
Merged

Conversation

zurfyx
Copy link
Member

@zurfyx zurfyx commented Jun 16, 2022

Bad node offset when selection is backwards. Fixes #2439

@vercel
Copy link

vercel bot commented Jun 16, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lexical ✅ Ready (Inspect) Visit Preview Jun 16, 2022 at 5:15PM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview Jun 16, 2022 at 5:15PM (UTC)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 16, 2022
@zurfyx zurfyx merged commit 0b7635a into main Jun 17, 2022
@thegreatercurve thegreatercurve deleted the fix-format branch June 17, 2022 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: After selection.formatText(...) range is not properly updated
3 participants