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

chore(lexical-playground): remove redundant code #2497

Merged
merged 1 commit into from
Jun 22, 2022

Conversation

LuciNyan
Copy link
Contributor

@LuciNyan LuciNyan commented Jun 22, 2022

Description

I'm sorry. I made a mistake in this PR. This is a redundant piece of code. I don't think we need it at all, because there is rangeSelection.applyDOMRange(range); to set the selection later.

We can remove it, and it won't make any difference.

@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 22, 2022
@vercel
Copy link

vercel bot commented Jun 22, 2022

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

Name Status Preview Updated
lexical ✅ Ready (Inspect) Visit Preview Jun 22, 2022 at 4:03PM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview Jun 22, 2022 at 4:03PM (UTC)

Copy link
Contributor

@thegreatercurve thegreatercurve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@thegreatercurve thegreatercurve merged commit d50b9fc into facebook:main Jun 22, 2022
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.

3 participants