Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 1.6.2.2
diff -r1.6.2.2 jquery_ui.module
79c79,85
< 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);
> }
Comment | File | Size | Author |
---|---|---|---|
jquery_ui.patch | 464 bytes | pillarsdotnet |
Comments
Comment #1
sunUnfortunately, 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.