Fun fact: the code name for the editor was TrogEdit, with Trogdor the Burninator as their mascot. I believe they even had a life size cardboard Trogdor by their desks.
It's one of the oldest, most stable, and never rewritten parts of the Gmail codebase.