Implemented most of the rich text editing. Turns out, it's easy.