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

Add highlight to format types #5001

Merged
merged 2 commits into from Sep 14, 2023
Merged

Add highlight to format types #5001

merged 2 commits into from Sep 14, 2023

Conversation

zurfyx
Copy link
Member

@zurfyx zurfyx commented Sep 14, 2023

Missing type for a format we already support/store

@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 Sep 14, 2023
@vercel
Copy link

vercel bot commented Sep 14, 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 Sep 14, 2023 3:30pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 14, 2023 3:30pm

@github-actions
Copy link

github-actions bot commented Sep 14, 2023

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 28.27 KB (0%) 566 ms (0%) 355 ms (+75.04% 🔺) 920 ms
packages/lexical-rich-text/dist/LexicalRichText.js 39.48 KB (0%) 790 ms (0%) 379 ms (+4.99% 🔺) 1.2 s
packages/lexical-plain-text/dist/LexicalPlainText.js 39.45 KB (0%) 790 ms (0%) 397 ms (-22.56% 🔽) 1.2 s

@@ -91,7 +91,8 @@ export type TextFormatType =
| 'highlight'
| 'code'
| 'subscript'
| 'superscript';
| 'superscript'
| 'highlight';
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like you have it twice in this union

Copy link
Member Author

Choose a reason for hiding this comment

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

Ouch you're right, it's only missing in Flow

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