Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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,
Comment | File | Size | Author |
---|---|---|---|
#3 | wysiwyg-HEAD.keywords.patch | 1.46 KB | sun |
Comments
Comment #1
khawaja CreditAttribution: khawaja commentedFirefox 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.
Comment #2
sunWow. 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.
Comment #3
sunComment #4
khawaja CreditAttribution: khawaja commentedThat 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
Comment #5
sunThanks. Committed patch in #3.
Comment #7
whatdoesitwant CreditAttribution: whatdoesitwant commentedI 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?
Comment #8
rsvelko CreditAttribution: rsvelko commentedtry 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 ...