This sample shows how to use the setReadOnly
API to put editor into the read-only state that makes it impossible for users to change
the editor contents.
For details on how to create this setup check the source code of this sample page.