When I enable "Optimize JavaScript files: " under administer-->performance, the tinymce editor no longer shows up on textfields. This happens using tinymce 3.2.0.2 and wysiwyg api 6.x-0.4, haven't tested with other versions (wut will if needed/asked).
Using firefox, the following errors show up in the Java Console:
Error: u is undefined
Source File: http://website.org/sites/default/files/js/cd2032eaf3b7607dd3959d283cf6ad...
Line: 368
and
Error: Drupal.wysiwyg is undefined
Source File: http://website.org/sites/default/files/js/99cddd3825665673c282f1e64286ce...
Line: 13
Other options are set like so under performance:
page cache: normal
minimum cache lifetime: none
page compression: enabled
block cache: enabled
optimize css: enabled
toggeling the above doesn't seem to make a difference, just toggeling the optimize javascript does.
Comments
Comment #1
mountaineer commentedI'm seeing this as well. When "Optimize JavaScript files" is disabled, everything works fine, when you turn it on, I get the same two errors referenced above.
Using TinyMCE 3.2.0.2 for the first time today, after upgrading to Wysiwyg 6.x-0.4. Didn't see this issue previously with TinyMCE 2.x and older Wysiwyg stable releases.
Comment #2
sunAnd does it work if you use TinyMCE 2.x?
Comment #3
mountaineer commentedYes, TinyMCE 2.1.2 works fine with Wysiwyg 6.x-0.4 when javascript optimization is enabled. I'll stick with that for now then.
Comment #4
sunThanks for reporting back. This means that TinyMCE 3.x is not compatible to JS aggregation, which cannot be fixed by this module.
It would be great if you would open a bug report in TinyMCE's bug tracker, so they can fix it.
Marking as won't fix.