My personal motivation is that kupu doesn't work in Safari, but TWiki sites may prefer or be familiar with other wysiwyg editors. Presumably the hard work has already been done, at least for those wysiwyg editors that operate on html.
One open source possibility is TinyMCE. I'll be happy to look for more if needed.
Being as I'm not familiar with javascript, I'm probably not the right person to implement this.