3 ms·
Try https://quilljs.com/ https://quilljs.com/ It's open source, sleek and has a really simple plugin system, which makes modifying the editor, very easy. > and
by gitgud 6y ago
Try https://quilljs.com/ https://quilljs.com/ It's open source, sleek and has a really simple plugin system, which makes modifying the editor, very easy.
> and what’s a good intermediary format to store rich text soo we can switch editors for the future. Raw HTML might take too much space possibly.
Unfortunately, HTML is probably the best solution, as it's portable to almost any WSIWYG editor and self contained. The space issue usually comes up with storing images, (shameless plug) that's why I made a quill plugin to shrink images.
https://github.com/benwinding/quill-image-compress https://github.com/benwinding/quill-image-compress
- catchmeifyoucan 6y agoIt's kind of cool that this data is saved as Ops. Seems like a smart way to do it! I think sticking with HTML makes sense as well, or even the Quill Ops system. I guess we'll have to write a converter from Draft to HTML and HTML to Quill as our newer formats.