Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For the record, I know jchen has already responded but I thought I'd add my bit here.

I display html content based on quill data all the time. I've done it using quill to generate the html source, by writing a separate library to convert from Delta representations to html strings, and most recently as an angular 2 webcomponent (since angular 2 doesn't really like it when you inject html strings outside of it's lifecycle, if you want the resultant DOM nodes to be angularized).

All three ways have worked well. Personally, I like this last way the most, but owing to the vagaries of angular template compilation it is difficult (or impossible) to really abstract it into a standalone library (because the top level template needs to reference any possible custom components that are local to your app, such as an atmention thing that pulls in an avatar image from some profile data or whatever)).

Anyway, I use quill, and have used it since we'll before 1.0 days. At the time, it was the only game in town for emitting Deltas that could be wired into an OT engine, and it still works really well in my concurrent rich text editor for an internal cms/forum.



That said, prosemirror also looks pretty rad, and I will also be checking that out eventually also. I feel like there's room for both in the world.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: