We have the need for a web-based wiki-like rich editor able to preserve original markup. At the moment a given custom markup is being converted to html for display and edit (allowing people to edit html in case of links and similar) then converted back to the specific markup when saving. This is obviously error prone and not ideal.
A first big decision is between a pure javascript html based solution (like TinyMCE) and a more client oriented solution with things like flash or silverlight that would allow us not to worry about html and so forth.
What are the best options at the moment in your experience?