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

Handle empty element deletion #4380

Merged
merged 1 commit into from
May 5, 2023
Merged

Handle empty element deletion #4380

merged 1 commit into from
May 5, 2023

Conversation

fantactuka
Copy link
Contributor

Deleting empty element should not change style of its sibling element:

Before

Screen.Recording.2023-04-21.at.11.46.48.AM.mov

After

Screen.Recording.2023-04-21.at.11.46.28.AM.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 Apr 21, 2023
@vercel
Copy link

vercel bot commented Apr 21, 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 May 5, 2023 7:21pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 5, 2023 7:21pm

@github-actions
Copy link

github-actions bot commented Apr 21, 2023

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 27.01 KB (+0.09% 🔺) 541 ms (+0.09% 🔺) 318 ms (+57.99% 🔺) 858 ms
packages/lexical-rich-text/dist/LexicalRichText.js 37.86 KB (+0.05% 🔺) 758 ms (+0.05% 🔺) 218 ms (-53.91% 🔽) 975 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 37.83 KB (+0.05% 🔺) 757 ms (+0.05% 🔺) 288 ms (-3.8% 🔽) 1.1 s

Copy link
Collaborator

@ivailop7 ivailop7 left a comment

Choose a reason for hiding this comment

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

Thank you, Max! A much needed fix.

@ivailop7
Copy link
Collaborator

ivailop7 commented May 1, 2023

@zurfyx could we merge this one?

@zurfyx
Copy link
Member

zurfyx commented May 1, 2023

@fantactuka -

[chromium] › packages\lexical-playground_tests_\e2e\Selection.spec.mjs:356:3 › Selection › Can delete sibling elements forward

seems to be consistently failing, can you look into this please?

@yaojiu19
Copy link

when will it be released

This was referenced May 23, 2023
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.

5 participants