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

fix(richtext-lexical): lexical-html export #9793

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

rilrom
Copy link
Contributor

@rilrom rilrom commented Dec 6, 2024

What?

@lexical-html is missing from the lexical-proxy exports.

Why?

To allow @lexical-html functionality to be used without needing to install the package separately.

How?

Adds @lexical-html to the lexical-proxy exports.

Fixes #9792

@GermanJablo
Copy link
Contributor

This was because we had decided not to re-export Lexical packages that we were not using in Payload at the moment. That may change in the future for other packages, and it definitely doesn't make sense for this one if we are recommending it in the documentation.

The only observation is that we were planning to make a new Lexical -> HTML converter that does not require more than editorState.

However, for the other direction (HTML -> Lexical), I don't see that we can improve much the @lexical/html experience so I will proceed to merge this. CC @AlessioGr

@GermanJablo GermanJablo merged commit d791db2 into payloadcms:main Dec 9, 2024
60 checks passed
Copy link
Contributor

🚀 This is included in version v3.6.0

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.

@lexical/html is missing from lexical-proxy exports
2 participants