Skip to main content
PHP HTML Editor

Focus and read-only switching

Switch the editor between editing and read-only from a script.

The PHP for this demo

PhpHtmlEditor.get('Editor1').setReadOnly(true);