This article from the NYT tech blog is a really good read on how they created a custom text editor for the newsroom: https://open.nytimes.com/building-a-text-editor-for-a-digita...
They built their custom app with the open source ProseMirror (http://prosemirror.net/) toolkit.