(function()\r
{\r
/**\r
- * Allow CKEditor to override jQuery.fn.val(). This results in ability to use val()\r
- * function on textareas as usual and having those calls synchronized with CKEditor\r
- * Rich Text Editor component.\r
- *\r
- * This config option is global and executed during plugin load.\r
- * Can't be customized across editor instances.\r
- *\r
+ * Allows CKEditor to override jQuery.fn.val(), making it possible to use the val()\r
+ * function on textareas, as usual, having it synchronized with CKEditor.<br>\r
+ * <br>\r
+ * This configuration option is global and executed during the jQuery Adapter loading.\r
+ * It can't be customized across editor instances.\r
* @type Boolean\r
* @example\r
+ * <script>\r
+ * CKEDITOR.config.jqueryOverrideVal = true;\r
+ * </script>\r
+ * <!-- Important: The JQuery adapter is loaded *after* setting jqueryOverrideVal -->\r
+ * <script src="/ckeditor/adapters/jquery.js"></script>\r
+ * @example\r
+ * // ... then later in the code ...\r
+ *\r
* $( 'textarea' ).ckeditor();\r
* // ...\r
* $( 'textarea' ).val( 'New content' );\r