I until very recently worked on Microsoft Word. The whole problem gets even more complicated when you add support for richer content like formatting, images, comments, etcetera. Sprinkle in requirements for things like three-way merge, simultaneous editing from multiple authors, undo behavior on top of that, and the amount of cross-cutting complexity for something seemingly simple can be absolutely astonishing.
Hey Nick, I'm glad to hear about that you are in the Word team:)
I'm working on a document manager and static site builder based on Mirosoft Word (https://docxmanager.com/) (The upcoming version will have a more user-friendly tabbed UI)