document content backed by codemirror