The Stack Overflow HTML editor is the best I've seen. Is it available as a downloadable component?
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
Actually, it is a reverse-engineered, custom-updated version of WMD: https://blog.stackoverflow.com/2009/01/wmd-editor-reverse-engineered/