Building Rich Text Editors the Right Way (abridged)

At work, I've added a few rich text editors to our product using Lexical . Same underlying component, but different constraints in each place. I thought that, since the library handles all the gnarly stuff, this should be easy. Nope! I want to write a longer post with examples, but my take on how to do this right is: Make the import/export format use HTML Take the HTML and map it to a pandoc AST,…