Question: Is there a way to transform the contents of the editor state into html? #3451
-
Hi, mates! I'm using lexical editor in my application but i want to generate a pdf with the content in editor state. i was using jsPDF + react-wysiwyg to generate the PDF, so i want to know if is possible transform the content to html to use in jsPDF lib. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
thegreatercurve
Nov 29, 2022
Replies: 1 comment
-
See docs here for Lexical->HTML conversion: https://lexical.dev/docs/concepts/serialization#lexical---html |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
thegreatercurve
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See docs here for Lexical->HTML conversion: https://lexical.dev/docs/concepts/serialization#lexical---html