Wikiwyg
http://www.wikiwyg.net/
A (largely or completely?) client-side WYSIWYG editing library which, unlike so many others, spits out a parse tree instead of a pile of markup. Thus, you can convert it to whatever backend representation you like and present it however you like without having to reparse a bunch of junk.