News for hackers. Stuff that matters.
Re:Quill – A cross browser rich text editor with an API by chrisutz on Sunday October 25, 2015 @12:33PM (#10447322)
I use Quill on my site to allow trusted but non-technical users to write rich text. It was easy to configure so it only allows a strict subset of tags. My users have been using it for a few months and haven't managed to slip in any disallowed tags, attributes, or styles.
Re:Quill – A cross browser rich text editor with an API by nlte on Sunday October 25, 2015 @01:07PM (#10447456)
I did the same. But those non-technical users still ask why they can't paint their text red, right-align paragraphs and insert as many line breaks as their good taste suggests. So it can't really work unless they agree to get a bit technical and understand what semantic markup and CSS are. And then, I'd really prefer to teach them some basic markdown and have them use a markdown editor, only so they can stop believing that "what they see is they get".