initial styling of document editor