I\'m searching for a \"suck less\" WYSIWYG in-browser X?HTML editor that generates good HTML code.
(no ,
Download the current version of CKEditor and look at the XHTML output sample. It shows how to use full WYSIWYG but it doesn't generates font or styles. You just need to adjust the configuration to your needs.
Spaw2. Although it's kinda abandoned now.
You can use Markdown with the WMD UI, it's the one used by Stack Overflow. It always produces valid HTML code.
Wikipedia has a category for them:
http://en.wikipedia.org/wiki/Category:JavaScript-based_HTML_editors
This post is 8+ years old now but still relevant...
I found an awesome github page with a curated list of WYSIWYG editors, including a few WYSIWYM ones which guarantee sane html. As of 2018, the most current and best WYSIWYM one looks like ProseMirror, or maybe ORY Editor if you're looking for something to edit entire webpages(!) in one textfield.