Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CKEDITOR does not work in IE8 & IE9 with compressed assets #121

Closed
rubinsh opened this issue May 8, 2012 · 10 comments
Closed

CKEDITOR does not work in IE8 & IE9 with compressed assets #121

rubinsh opened this issue May 8, 2012 · 10 comments

Comments

@rubinsh
Copy link

rubinsh commented May 8, 2012

Hi,

I've installed CKEDITOR with Rails 3.1.3
(gem 'ckeditor', "3.7.0.rc3" in my Gemfile)

I can't get CKEDITOR to load in IE (it loads find in Chrome and FF)
It loads in development mode but not in production.
I was only able to load it in IE after turning off the compression of assets by setting:
config.assets.compress = false
in production.rb

I currently use uglifyjs as my js compressor (the default one)
I really don't want to turn off js compression in production, but currently it seems like the only option to get this to work.

Has anyone else encountered this issue?

Thanks,

Rubinsh

@galetahub
Copy link
Owner

Hi,

Fixed in commit: 5221b09
New release comming soon.

@rubinsh
Copy link
Author

rubinsh commented May 14, 2012

Thanks!

I'll check it out.

@akaspick
Copy link

The editor works in development now which is good (it didn't before), but things still don't seem to work in a production environment using IE9. @rubinsh Does this work for you in production?

I'm using the following in my Gemfile:
gem 'ckeditor', :git => 'git://github.com/galetahub/ckeditor.git', :ref => '5221b09a39cf2478ba366f5692a1989cb58ea440'

@galetahub
Copy link
Owner

I am Ubuntu user and cannot test in IE9. Can you send me what coming wrong?

@rubinsh
Copy link
Author

rubinsh commented May 15, 2012

I did not get to test it yet - will post my updates soon.
But you can compile the assets and run your dev server with
RAILS_ENV=production in order to test it as well (w/o production server).
Once the assets are compiled and you run with RAILS_ENV=production (for
example: RAILS_ENV=production rails s) - your dev environment and
production environment should behave the same.
also - make sure you clear your public/assets directory before precompiling
again

On Tue, May 15, 2012 at 5:29 AM, Andrew Kaspick <
reply@reply.github.com

wrote:

The editor works in development now which is good (it didn't before), but
things still don't seem to work in a production environment using IE9.
@rubinsh Does this work for you in production?

I'm using the following in my Gemfile:
gem 'ckeditor', :git => 'git://github.com/galetahub/ckeditor.git', :ref
=> '5221b09a39cf2478ba366f5692a1989cb58ea440'


Reply to this email directly or view it on GitHub:
#121 (comment)

@rubinsh
Copy link
Author

rubinsh commented May 22, 2012

It works great in IE with version 3.7.1 :-)

@supairish
Copy link

I'm still seeing this problem in IE8 with version 3.7.3. Is the only work around at the moment to just not serve the CKEditor assets from the asset pipeline?

@toptierlabs
Copy link

I experienced the very same problem and downgraded to 3.7.1. The problem with that version is that assets compilation fails on file yui.css (because of some lines containing "*html").
What I did was forking the repository, reseting it to 3.7.1 and fixed yui.css in that version. It is working great now. If someone needs it https://github.com/toptierlabs/ckeditor.

@xhh
Copy link

xhh commented Jan 10, 2013

Just as @toptierlabs said, this bug was fixed in 3.7.1, but reappears in 3.7.3, I have switched to 3.7.1 and it works.

Could you take look at it and have it fixed in the latest version? Thanks!

@hallmatt
Copy link

Has this been fixed for 4.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants