tsechingho / ckeditor-rails

Integrate CKEditor javascript library with Rails asset pipeline
https://github.com/tsechingho/ckeditor-rails
MIT License
213 stars 134 forks source link

SCRIPT14: Not enough storage is available to complete this operation #17

Open tsechingho opened 11 years ago

tsechingho commented 11 years ago

If you use IE and see this message:

SCRIPT14: Not enough storage is available to complete this operation

here is one suggestion:

how to implement it?

1) please copy vendor/assets/javascripts/ckeditor/ckeditor.js from ckeditor_rails gem to app/assets/javascripts/ckeditor/ckeditor.js of your project.

2) find

if(this.$.createStyleSheet)this.$.createStyleSheet` 

and replace with

if(false)this.$.createStyleSheet

3) cleanup cache of your browser and restart your server to see if it works.

honestly say, I don't try it for IE. But that's how rails assets pipeline works.

the new release v4.1 also has this piece of code. the bug may not be resolved by CKEDITOR team.

also see

ramprabhu-idexcel commented 10 years ago

This issue is resolved for me. But I am unable to view the RichTextBox on UI. It looks like Style sheet issue. I am using IE8+. Could you able to help me please ?