Closed (fixed)
Project:
Wysiwyg
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2009 at 17:33 UTC
Updated:
25 Jan 2013 at 18:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
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 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 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 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 ...