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

feat(richtext-lexical): fully-typed blocks in JSX serializer #9554

Merged
merged 7 commits into from
Nov 27, 2024

Conversation

AlessioGr
Copy link
Member

This allows for full type-safety when using our official JSX converter with blocks:

CleanShot 2024-11-26 at 21 35 18@2x

CleanShot 2024-11-26 at 21 35 25@2x

@AlessioGr AlessioGr changed the title feat(richtext-lexical): fully-typed blocks in JSX serializer types feat(richtext-lexical): fully-typed blocks in JSX serializer Nov 27, 2024
@AlessioGr AlessioGr enabled auto-merge (squash) November 27, 2024 04:40
…c the user may pass (assuming it includes DefaultNodeTypes - otherwise, defaultConverters shouldn't be spread anyways)
…efore: BlockFields<VideoBlock> | BlockFields<JsonObject>. Now: BlockFields<VideoBlock>
@AlessioGr AlessioGr merged commit 519bb79 into main Nov 27, 2024
54 checks passed
@AlessioGr AlessioGr deleted the feat/lexical/improve-jsx-converter-types branch November 27, 2024 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant