+ !internal && this.fire( 'afterSetData', eventData );\r
+ },\r
+\r
+ /**\r
+ * Puts or restores the editor into read-only state. When in read-only,\r
+ * the user is not able to change the editor contents, but can still use\r
+ * some editor features. This function sets the <code>{@link CKEDITOR.config.readOnly}</code>\r
+ * property of the editor, firing the <code>{@link CKEDITOR.editor#readOnly}</code> event.<br><br>\r
+ * <strong>Note:</strong> the current editing area will be reloaded.\r
+ * @param {Boolean} [isReadOnly] Indicates that the editor must go\r
+ * read-only (<code>true</code>, default) or be restored and made editable\r
+ * (<code>false</code>).\r
+ * @since 3.6\r
+ */\r
+ setReadOnly : function( isReadOnly )\r
+ {\r
+ isReadOnly = ( isReadOnly == undefined ) || isReadOnly;\r
+\r
+ if ( this.readOnly != isReadOnly )\r
+ {\r
+ this.readOnly = isReadOnly;\r
+\r
+ // Fire the readOnly event so the editor features can update\r
+ // their state accordingly.\r
+ this.fire( 'readOnly' );\r
+ }\r