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

[0.8] Add style properties to RangeSelection #3863

Merged
merged 2 commits into from
Feb 9, 2023
Merged

Conversation

trueadm
Copy link
Collaborator

@trueadm trueadm commented Feb 9, 2023

Today it's really difficult to use the custom font color, font size etc properties because selection has no internal heuristic to manage those expectations – leading to a bad user experience. This PR adds support for them on RangeSelection, so like formatting, we can persist and allow for styling through rich text.

@vercel
Copy link

vercel bot commented Feb 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
lexical ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 9, 2023 at 0:28AM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 9, 2023 at 0:28AM (UTC)

@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 Feb 9, 2023
@github-actions
Copy link

github-actions bot commented Feb 9, 2023

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 25.84 KB (+0.44% 🔺) 517 ms (+0.44% 🔺) 64 ms (+113.37% 🔺) 580 ms
packages/lexical-rich-text/dist/LexicalRichText.js 36.5 KB (+0.54% 🔺) 731 ms (+0.54% 🔺) 23 ms (-45.63% 🔽) 753 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 36.48 KB (+0.54% 🔺) 730 ms (+0.54% 🔺) 85 ms (+107.62% 🔺) 814 ms

@trueadm trueadm changed the title Add style properties to RangeSelection [0.8] Add style properties to RangeSelection Feb 9, 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.

None yet

3 participants