librelist archives

« back to archive

Safe WYSIWYG

Safe WYSIWYG

From:
Jonathan Zempel
Date:
2011-05-18 @ 07:32
What are folks using for WYSIWYG editing on the front-end and sanitized
HTML/markup storage on the backend?  Since I'm using jQuery and tend toward
the social side of the web, I'm leaning toward:

CLEditor <http://premiumsoftware.net/cleditor/> (vs other pure JS options) +
html5lib <http://code.google.com/p/html5lib/>.sanitizer (vs storing
Markdown, RST, Textile, etc)

Any ringing endorsements or deep regrets?  I know there are loads of
combinations, but are there any you've found to be helpful?  And, above all,
what is the most Flask-alicious approach?

Thanks,
Jonathan.