Hello,
I am currently getting an error upon attempting to load the CKEditor in Internet Explorer, namely;
"Message: Not enough storage is available to complete this operation."
Which is manifesting itself as the editor having no styles applied. Upon closer examination, the issue is caused by the "createStyleSheet(h)" call in ckeditor.js. I'm attempting to circumvent the dynamic loading of the style sheets and just including them in the header of the particular page, however, I'm having little success.
Has anyone else came across this issue? If so, is there any kind of solution available for this?
Thanks
CW
I am currently getting an error upon attempting to load the CKEditor in Internet Explorer, namely;
"Message: Not enough storage is available to complete this operation."
Which is manifesting itself as the editor having no styles applied. Upon closer examination, the issue is caused by the "createStyleSheet(h)" call in ckeditor.js. I'm attempting to circumvent the dynamic loading of the style sheets and just including them in the header of the particular page, however, I'm having little success.
Has anyone else came across this issue? If so, is there any kind of solution available for this?
Thanks
CW
Re: Not enough storage error in IE7/IE8
CKeditor uses the IE-specific document.createStyleSheet if it's available. Unfortunately, that method raises an error when the number of stylesheets in the document exceeds 31.
We ran into this on a Drupal install using CKEditor. Our dev environments run with CSS aggregation off, and certain pages were ending up with more than 31 stylesheets. In IE, CKEditor would try to use the method above to add stylesheets for the skin, and would yield the "Not enough storage..." message. Turning on CSS aggregation resolved the issue.
Looking at the CKEditor code, it seems like it should either a) add code to handle the exception when it occurs or (better yet) b) add code to handle the exception, and in the exception handler use the >31 style sheets workaround noted in the "Remarks" section of the MSDN article linked above.
It's just a hunch, but it looks like these two FCKEditor tickets may be related to the same issue:
http://dev.fckeditor.net/ticket/4844
http://dev.fckeditor.net/ticket/2857
Re: Not enough storage error in IE7/IE8
If you change
to
in /ckeditor/_source/themes/default/theme.js, the issue goes away. The inline style accounted for the majority of the 31 style sheets allowed in IE. The first load of the page will flicker while sheets are loaded.
Hope it helps someone.
Re: Not enough storage error in IE7/IE8
Re: Not enough storage error in IE7/IE8
I cannot "optimize the CSS files" as something that conflicts is breaking the suckerfish menu into pieces. Is there a solution for this yet?
-Matt Kaune
Bandelier Design
Re: Not enough storage error in IE7/IE8
Thanks
Re: Not enough storage error in IE7/IE8
I prefer FireFox and Chrome.
Paul Ellis
Re: Not enough storage error in IE7/IE8
I found a little quick fix. It is not a perfect one, but it solved the problem.
http://krasimirtsonev.com/blog/article/ ... -operation
Re: Not enough storage error in IE7/IE8
Re: Not enough storage error in IE7/IE8
Re: Not enough storage error in IE7/IE8
Re: Not enough storage error in IE7/IE8
I was looking for this one thanks!! Wish there will be no problems for some browsers.
Re: Not enough storage error in IE7/IE8