facebook / lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
https://lexical.dev
MIT License
19.33k stars 1.63k forks source link

Bug: Not able to get formatted html markup #2454

Closed ArshadNawazBaig closed 2 years ago

ArshadNawazBaig commented 2 years ago

Just like froala editor I want to get the formatted markdown and I want save it in my mongodb.

thegreatercurve commented 2 years ago

You should be able to use the $convertToMarkdownString method in the lexical-markdown package for this purpose.