Skip to content

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

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

etrepum merged 15 commits into
meta:mainfrom
2wheeh:fix-quote-paste-para

Conversation

@2wheeh

@2wheeh 2wheeh commented Jul 2, 2024

Copy link
Copy Markdown
Contributor

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

vercel Bot commented Jul 2, 2024 •

Copy link
Copy Markdown

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

github-actions Bot commented Jul 2, 2024 •

Copy link
Copy Markdown

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

etrepum commented Jul 22, 2024

Copy link
Copy Markdown
Collaborator

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

2wheeh commented Jul 26, 2024

Copy link
Copy Markdown
Contributor Author

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

@2wheeh

2wheeh commented Jul 26, 2024

Copy link
Copy Markdown
Contributor Author

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

@etrepum etrepum left a comment

Copy link
Copy Markdown
Collaborator

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 meta:main with commit 3c53e64 Aug 2, 2024
@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

This branch was successfully deployed

2 active deployments
Preview – lexical — 2ac7879d Deployed Aug 1, 2024 by vercel[bot]
Preview – lexical-playground — 2ac7879d Deployed Aug 1, 2024 by vercel[bot]
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