6 ms·
Is this meant to be a good drop-in rich-text/WYSIWYG editor? What is the format that it creates that you could then persist in a database? Does it just save it
by philfreo 4y ago
Is this meant to be a good drop-in rich-text/WYSIWYG editor?
What is the format that it creates that you could then persist in a database? Does it just save its state in HTML or some JSON format or what?
- acywatson 4y agoThe core Lexical library is really a framework for building such editors. However, we also provide many common rich-text features out-of-the-box via separate packages, such as @lexical/rich-text. We also expose bindings for React (and hope to have them for other frameworks soon). Check out the lexical-playground package on GitHub for an example of how you can create a rich-text editor by adding plugins to the LexicalComposer component in @lexical/react.
- Thexyman 4y agoAnd how is the data saved on the BE? is it the case we can save it as JSON or HTML?