Skip to content

Select all adjustments - #4425

Merged
fantactuka merged 2 commits into
mainfrom
leading-char-deletion
May 5, 2023
Merged

fantactuka merged 2 commits into
mainfrom
leading-char-deletion

Conversation

@fantactuka

Copy link
Copy Markdown
Contributor

Fix elements deletion which used to delete leading element node once last character within it was deleted:

Before (deleting text within first non-paragraph element converted it to paragraph right away):

Screen.Recording.2023-04-28.at.2.08.31.PM.mov

After (deleting text keeps original element type once text deleted until press delete once again, but select all + delete cleans up element style as well, per #3840)

Screen.Recording.2023-04-28.at.2.08.42.PM.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 28, 2023
@vercel

vercel Bot commented Apr 28, 2023 •

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 May 5, 2023 6:17pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 5, 2023 6:17pm

@github-actions

github-actions Bot commented Apr 28, 2023 •

Copy link
Copy Markdown

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 26.98 KB (0%) 540 ms (0%) 396 ms (+31.88% 🔺) 936 ms
packages/lexical-rich-text/dist/LexicalRichText.js 37.84 KB (0%) 757 ms (0%) 269 ms (-49.81% 🔽) 1.1 s
packages/lexical-plain-text/dist/LexicalPlainText.js 37.81 KB (0%) 757 ms (0%) 309 ms (-9.58% 🔽) 1.1 s

This was referenced May 23, 2023

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — 58add628 Deployed May 5, 2023 by vercel[bot]
Preview – lexical — 58add628 Deployed May 5, 2023 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants