One more, and this seems to be pretty nice:
https://github.com/netgusto/upndown
It is a WYSIWYG editor that generates Markdown under the hood. Could be a good starting point for a new Discourse’s editor.
Edit: I’m a bit lost in all the discussions about the editor (aka composer) and I don’t know in which topic should I post. There’s this and this and this…