Skip to content

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

Merged
etrepum merged 15 commits intofacebook:mainfrom
2wheeh:fix-quote-paste-para
Aug 2, 2024
Merged

[lexical] Bug Fix: Merge pasted paragraph into empty quote#6367
etrepum merged 15 commits intofacebook:mainfrom
2wheeh:fix-quote-paste-para

Conversation

@2wheeh
Copy link
Copy Markdown
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
@vercel
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

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.

@2wheeh
Copy link
Copy Markdown
Contributor Author

2wheeh commented Jul 26, 2024

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

@2wheeh
Copy link
Copy Markdown
Contributor Author

2wheeh commented Jul 26, 2024

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

Copy link
Copy Markdown
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!

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