There should be a lexical state to html converter for backend
burakksekerr opened this issue · 3 comments
Is your feature request related to a problem? Please describe.
We cant use react native client this package https://www.webiny.com/docs/headless-cms/integrations/render-lexical-rich-text-content. Lexical state is converted to html by a custom function.
Describe the feature's behavior.
No response
Describe alternatives you've considered.
No response
@burakksekerr you're in luck :) We're releasing 5.38.0 this week, and it will contain a package which will help you do conversion from Lexical to HTML and vice-versa.
You can test it today by installing a beta
version of the package: https://www.npmjs.com/package/@webiny/lexical-converter. The README is not complete, but you can see how it is supposed to be used in the tests. Check this test for conversion to HTML:
thnx :) @Pavel910
@burakksekerr just to give you a quick update on this: the Lexical converter package is now available, but there are still some issues with using that within Lambda, which we plan to address in 5.39. release coming beginning of 2024. Keep an eye out on that release :)