(biased author of Mobiledoc-Kit here)<p>The past year or so has really seen a resurgence of browser-based text editors. Off the top of my head I can think of 4 editors&#x2F;editor-frameworks launched in the past year (Mobiledoc-Kit, ProseMirror, Trix, and now Draft.js). Browsers are creeping toward exposing all the events that are necessary for interpreting the meaning of a user as they input text. (Some notable exceptions remain, such as an event that would be fired when a spelling correction is accepted, but mutation observers provide a fallback for cases where it&#x27;s not otherwise possible to catch the input on the way in.)<p>A major focus of Mobiledoc-Kit, which seems to have some overlap with Draft.js, is on exposing an API that allows programmers to programmatically interact with the internal (structured) document. Our goal is to allow developers to be able to construct editors that fit snugly fit their use case, whether that&#x27;s building their own UI for a toolbar, or more complex procedural rules for document (e.g., add a constraint that there can only be one &quot;H1&quot; section in a document and disallow adding a second one).<p>Since Mobiledoc-Kit was built for a publisher originally (Bustle), the ability to intersperse text with richer content was a goal from the start. So it has a &quot;card&quot; concept that allows adding any rich content (embedded tweets, videos, slidehows, etc.). In fact, the Mobiledoc-Kit demo page [1] has a demo where a Codemirror editor is embedded inside the Mobiledoc editor.<p>It&#x27;s great to see so much new energy in the browser editor world. I am hopeful that as browser features and new editors and editor features converge, we&#x27;ll see some exciting new developments that broaden the perspective on what sort of content is possible to author from within a web page.<p>[1]: <a href="https:&#x2F;&#x2F;bustlelabs.github.io&#x2F;mobiledoc-kit&#x2F;demo&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bustlelabs.github.io&#x2F;mobiledoc-kit&#x2F;demo&#x2F;</a>