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: pasting text that ends with an empty paragraph is ignored when the MaxLengthPlugin is enabled #5020

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

khsily
Copy link
Contributor

@khsily khsily commented Sep 19, 2023

This PR fixes the pasting issue with MaxLengthPlugin that was raised in this comment.

Current behavior:

2023-09-19.4.29.48.mov

Expected behavior:

2023-09-19.4.30.19.mov

@vercel
Copy link

vercel bot commented Sep 19, 2023

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

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 19, 2023 7:26am
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 19, 2023 7:26am

@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 Sep 19, 2023
@zurfyx
Copy link
Member

zurfyx commented Sep 20, 2023

Thank you

@zurfyx zurfyx merged commit a7d1a39 into facebook:main Sep 20, 2023
35 of 43 checks passed
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