Had a problem where turning on "Optimize Javascript" in admin/settings/performance prevented my wysiwyg-enabled ckeditor from showing.

Turns out the least intrusive fix is to disable preprocessing for the ui.dialog plugin.

Here is my workaround/diff:

Index: jquery_ui.module
RCS file: /cvs/drupal-contrib/contributions/modules/jquery_ui/jquery_ui.module,v
retrieving revision
diff -r1.6.2.2 jquery_ui.module
<       drupal_add_js($js_path);
>       switch($file) {
>       case 'ui.dialog':
>       drupal_add_js($js_path,'module','header',false,true,false);
>       break;
>       default:
>         drupal_add_js($js_path);
>       }
jquery_ui.patch464 bytespillarsdotnet
Members fund testing for the Drupal project. Drupal Association Learn more


sun’s picture

Status: Needs review » Closed (won't fix)

Unfortunately, this attempt won't fix. CKEditor has to be able to work with aggregated JS. Alternatively, Wysiwyg module has to cope for CKEditor's inabilities. But jQuery UI module cannot blatantly make this assumption (of having to be compatible with CKEditor) for all users of the jQuery UI module.