TINY BLOG > Important changes to Tiny Cloud pricing > Find out more
Return to Website

readonly

This option enables you to specify make editor instances in readonly mode. When they are in readonly mode nothing can be changed and the contents are just presented to the user. You can use this in combination with body_class to present a different visual presentation for the readonly mode.

Example of usage of the readonly option

// Move focus to specific element
tinyMCE.init({
  theme : "advanced",
  readonly : 1
});

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.