With IE7, if I disable the rich-text editor (default on) and then enable it, DebugBar reports this script error:

Line: 2
Character: 17287
Code: 0
Error Message: Not enough storage is available to complete this operation.

TinyMCE does become re-enabled but the text disappears from the text area. I'm not sure if this is a bug within the TinyMCE module or TinyMCE itself (I am using 2.13). If it is a bug with in TinyMCE itself I may have to upgrade to version 3, but then the Drupal buttons will not work. It is always something.

Comments

Kripsy’s picture

I feel a little foolish finding the answer on the TinyMCE forums a bit after posting this, but in case someone else is looking for the solution as well here it is:

For Filename: \jscripts\tiny_mce\tiny_mce.js

Find and replace: doc.createStyleSheet(css_file) to try{doc.createStyleSheet(css_file)}catch(e){}

For Filename: \jscripts\tiny_mce\tiny_mce_src.js

Line 507:

replace: doc.createStyleSheet(css_file);

to:

try {
doc.createStyleSheet(css_file)
} catch(e) {}

deviantintegral’s picture

I ran into this as well. It seems to be related to the amount of system memory available. Is there any more information on why exactly IE dies on that call? Or anyone get that error with other javascript tools?

--Andrew

tonyp001’s picture

That worked!
Thanks for the tip.

deviantintegral’s picture

Status: Active » Closed (fixed)

As this module has been depreciated in favour of http://drupal.org/project/wysiwyg, I'm closing this issue to clean up my queue. AFAICT this is no longer an issue in the latest versions of TinyMCE.

Anonymous’s picture

For the record, this might be related: IE has a limit of 31 stylesheets. more