Pell – A simple and small rich-text editor for the web
Nonsense, I've written a much smaller one: `function tinyEditor(element) { element.contentEditable = true }`<p>That, plus a few crude buttons, is all this does. As several other comments point out, there's good reasons why real WYSIWYG packages are bigger—the user experience of working with a plain contentEditable element is still terrible, the output HTML still a complete mess. If you don't care much about that, you don't need an editor component, since setting an attribute and wiring up some buttons to call `execCommand` is easy enough to do from scratch.<p>Disclaimer: I work on one of those 'bloated' editors, <a href="http://prosemirror.net" rel="nofollow">http://prosemirror.net</a> , and find it a little annoying when someone implies their crude afternoon hack is somehow equivalent and we're crazy for putting in all that effort.