Second thoughts on this, these are likely to useful if automating edits to a document using a familiar API. Instead I've made the editor just expose the document's API, i.e. integrated them further. The editor adds all the live DOM interaction. The document object is effectively an API for editing (not merely rendering) a document. After all, the rendering is possible by itself anyway in about three lines of code.
Second thoughts on this, these are likely to useful if automating edits to a document using a familiar API. Instead I've made the editor just expose the document's API, i.e. integrated them further. The editor adds all the live DOM interaction. The document object is effectively an API for editing (not merely rendering) a document. After all, the rendering is possible by itself anyway in about three lines of code.