Allow setting editor text content in HTML

This will be useful when updating the [styleguide's examples](https://github.com/atom/styleguide/blob/master/lib/styleguide-view.coffee#L48) to use custom elements.