API to put editor into the read-only state that makes it impossible for users to change the editor contents.
</p>
<p>
For details on how to create this setup check the source code of this sample page.
</p>
</div>
<formaction="sample_posteddata.php"method="post">
<p>
<textareaclass="ckeditor"id="editor1"name="editor1"cols="100"rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="https://ckeditor.com/">CKEditor</a>.</p></textarea>
</p>
<p>
<inputid="readOnlyOn"onclick="toggleReadOnly();"type="button"value="Make it read-only"style="display:none">
<inputid="readOnlyOff"onclick="toggleReadOnly( false );"type="button"value="Make it editable again"style="display:none">
</p>
</form>
<divid="footer">
<hr>
<p>
CKEditor - The text editor for the Internet - <aclass="samples"href="https://ckeditor.com/">https://ckeditor.com</a>