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

[lexical] Bug Fix: Merge pasted paragraph into empty quote #6367

Merged
merged 15 commits into from
Aug 2, 2024

Conversation

2wheeh
Copy link
Contributor

@2wheeh 2wheeh commented Jul 2, 2024

Description

It adds handling for pasting paragraph into an empty quote node.

Closes #5108

Test plan

Before

2024-07-03.1.43.53.mov

After

2024-07-03.1.42.24.mov

@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 Jul 2, 2024
Copy link

vercel bot commented Jul 2, 2024

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 Aug 1, 2024 11:22pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2024 11:22pm

Copy link

github-actions bot commented Jul 2, 2024

size-limit report 📦

Path Size
lexical - cjs 29.05 KB (0%)
lexical - esm 28.86 KB (0%)
@lexical/rich-text - cjs 37.39 KB (0%)
@lexical/rich-text - esm 28.33 KB (0%)
@lexical/plain-text - cjs 36.02 KB (0%)
@lexical/plain-text - esm 25.6 KB (0%)
@lexical/react - cjs 39.29 KB (0%)
@lexical/react - esm 29.77 KB (0%)

@2wheeh

This comment was marked as resolved.

@etrepum
Copy link
Collaborator

etrepum commented Jul 22, 2024

I created #6443 to track the missing docs

@2wheeh 2wheeh dismissed stale reviews from StyleT and acywatson via 5f056ea July 26, 2024 07:35
@2wheeh
Copy link
Contributor Author

2wheeh commented Jul 26, 2024

@etrepum @StyleT Thank you. I added jsdoc here.

@2wheeh
Copy link
Contributor Author

2wheeh commented Jul 26, 2024

Failure of e2e-tests / prod (macos-latest) ... is due to #6463

Copy link
Collaborator

@etrepum etrepum left a comment

Choose a reason for hiding this comment

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

LGTM!

@etrepum etrepum added this pull request to the merge queue Aug 2, 2024
Merged via the queue into facebook:main with commit 3c53e64 Aug 2, 2024
41 checks passed
@2wheeh 2wheeh deleted the fix-quote-paste-para branch August 3, 2024 00:39
jkjk822 pushed a commit to jkjk822/lexical that referenced this pull request Aug 26, 2024
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. extended-tests Run extended e2e tests on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Pasting into an empty quote node converts it to a paragraph
7 participants