This example shows you how to setup the editor in read only mode by setting the readonly option, this will only display the editors contents and not give the user any way to modify the contents.