Allow text and image editors to be previewed