Hi,

After upgrading to 6.x-2.x-dev (in order to get the Teaser Break plugin) the editor bar disapeared in Chrome, but it still works fine in IE and FF. Also, it doesn't work (in any of them) if I've enabled to aggregate CSS and JS files (under configuration/performance).

Any idea about this?

Thanks,

CommentFileSizeAuthor
#3 wysiwyg-HEAD.keywords.patch1.46 KBsun
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

khawaja’s picture

Firefox has always worked. With latest dev I need the JS performance options turned off to get anywhere in IE7. But Chrome still produces two errors.

tinymce-3.js:

for (var plugin in Drupal.settings.wysiwyg.plugins.tinymce.native) {
Error = Uncaught SyntaxError: Unexpected token native
tinymce.PluginManager.load(plugin, Drupal.settings.wysiwyg.plugins.tinymce.native[plugin]);
}

break.js:

Drupal.wysiwyg.plugins.break = {
Error = Uncaught SyntaxError: Unexpected token break

Only Firefox works with Optimize Javascript files turned on.

sun’s picture

Status: Active » Needs review

Wow. Those magic internal JavaScript keywords will drive me insane someday.

Thanks for sharing the actual error messages.

Can you test whether attached patch makes a difference? See http://drupal.org/patch/apply for how to apply patches.

sun’s picture

FileSize
1.46 KB
khawaja’s picture

That seems to have done the trick for Chrome. TinyMCE is working filtered / full with the options I have selected. Chrome is throwing up some other unrelated error:


Uncaught SyntaxError: Unexpected token <

And the buttons don't wrap but I'm sure there's another issue about that somewhere else I can look at.

- Chrome working, buttons don't wrap
- Firefox working but it always did
- IE7 produces error: Line 2 Char 62298 Could not complete the operation due to error 80020101

sun’s picture

Status: Needs review » Fixed

Thanks. Committed patch in #3.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

whatdoesitwant’s picture

I am currently experiencing this issue with Chrome in the 6.x-2 version of wysiwyg api.
I tried to apply your patch to version 6.x 2 (passive users).
The current code differs from that of the patch in #3. (the patch version of tinymce-3.js is revision 1.12 vs current revision 1.16).
I have a blank screen on Chrome 2 & 3, both with English and multilingual wysiwyg. Firefox 3.5 and IE8 are showing the editor on both platforms. What is the proper way forward? Should I open a new issue, reopen this issue, or move to 6.x 3?

rsvelko’s picture

try disabling the chrome adblock / popup block extensions... or all extensions for a minute... clean cache and test again...

try also disabling some JS modules like Superfish menus / Lightbox / colorbox ...