Dont know if is an wysiwyg module issue or an tinymce's issue, but firefox throw me many warnings if i enable the 'Optimize and Minify JavaScript files' option in /admin/settings/performance.

Even with those warnings, the edidtor is shown and it works, tested both on FF 3.5.7 and IE 8 and chrome.

If needed, i can post the output of firebug.

Comments

twod’s picture

Status: Active » Postponed (maintainer needs more info)

Are you sure these warnings are from Wysiwyg module or the editor library? I don't see any warnings at all using Drupal 6.15, Wysiwyg 2.x-dev, TinyMCE 3.2.7 in FF 3.5.7 when optimization is enabled.

The Firebug output would be really helpful, thanks.

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

I think this has been fixed in 2.x-dev already.

strae’s picture

I updated the module and now works, dunno why but seem i did install some old version..

Anyway firebug throw up many warning:

reference to undefined property D.cache[a][d]
eval(function(p,a,c,k,e,r){e=function(...r.replace(regex,replace[character]);}

The list is long, but probably those has nothing to do with wysiwyg module

twod’s picture

That's probably from somewhere within jQuery, triggered by something not using it correctly. You'd need to run the non-minified file of the same release to see where the actual error is and be able to trace it to its origin, unless it's not produced in an event handler and you can use the callstack to see which non-jquery code calls it. This is not the place for debugging tutorials though. ;)

dionis44’s picture

Issue summary: View changes

Core 6.28
Wysiwyg-6.x-2.x-dev
CKEditor 4.5.3.6c70c82

"Optimize Javascript files enabled" mode gives error "ReferenceError: CKEDITOR is not defined" (it may be some other js errors).
wysiwyg.module
to find line 320 and change

- $options += array('type' => 'module', 'scope' => 'header', 'defer' => FALSE, 'cache' => TRUE, 'preprocess' => TRUE);

+ $options = array_merge($options, array('type' => 'module', 'scope' => 'header', 'defer' => FALSE, 'cache' => TRUE, 'preprocess' =>  TRUE));