Making really good rich text editors in a browser is hard, even with really good libraries available.
So much state.