I am aware of three requirements around editors, that go a bit beyond a standard editor in a Moodleform. I tried to explain it in Developer's chat this morning, but did a really unclear job, so I though I would try again here.
1. Superscript / subscript editor.
This is something we made for use in scientific question types. It lets students type responses like 3x108 ms-1, or SO42-
So, we only want studnets to be able to type plain text, and superscritps and subscripts, and we don't want them to be able to nest one sup or sub inside another sup or sub. This is really just a usability thing. (You would be amaze at how much of a mess you can get yourself into with just sup and sub tags. E.g. in the Sulphate example, it is easy to end up with SO42-Oh, and look how badly Moodle CSS copes with those nested tags.)
Now, you could argue that this should be handled by a server-side filtering, but acutally that is not the point. We are not worried about malicious students hacking the server. We are worried about them getting into a mess while entering their response, and we want to make the usabulity as good as possible, but we do this by restricting the options available.
What we have currently is built on TinyMCE, but that was just for convenience. It would brobably be better (more light-weight) to base it on the Atto code. For various reasons it works best to package it as a separate editor add-on in Moodle, even though it is not the sort of pluggable that users would want to select in their user profile.