+ * 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 still use\r
+ * some editor features. This function sets the readOnly property of\r
+ * the editor, firing the "readOnly" event.<br><br>\r
+ * <strong>Note:</strong> the current editing area will be reloaded.\r
+ * @param {Boolean} [makeEditable] Indicates that the editor must be\r
+ * restored from read-only mode, making it editable.\r
+ * @since 3.6\r
+ */\r
+ setReadOnly : function( makeEditable )\r
+ {\r
+ if ( this.readOnly != !makeEditable )\r
+ {\r
+ this.readOnly = !makeEditable;\r
+\r
+ // Fire the readOnly event so the editor features can update\r
+ // their state accordingly.\r
+ this.fire( 'readOnly' );\r
+ }\r
+ },\r
+\r
+ /**\r