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

Rich 0.0.8 editor doesn't load in IE <= 9 post asset compilation #15

Open
whitecl opened this issue Feb 22, 2012 · 11 comments
Open

Rich 0.0.8 editor doesn't load in IE <= 9 post asset compilation #15

whitecl opened this issue Feb 22, 2012 · 11 comments

Comments

@whitecl
Copy link

whitecl commented Feb 22, 2012

Hi there and thanks for making Rich, I really like it!

Running into an issue with my project https://github.com/whitecl/devotion-cms

In development mode, all versions of IE load the rich editor with no problems. However in production mode, IE <= 9 does not work correctly. The textarea element is not converted into an editor, but no Javascript errors are thrown. Production mode works fine in all non-IE browsers.

Is there any additional troubleshooting data I can provide to help?

@bastiaanterhorst
Copy link
Contributor

Hi,
Thanks for reporting this; I will look into is. I see that in your project, you've worked around it by duplicating your development configuration. This leads me to believe there is a precompilation problem.

I'll look into it asap and get back to you. If you find anything in the meantime, please do let me know.

Best,
Bastiaan

@bastiaanterhorst
Copy link
Contributor

I finally had a chance to look into this, but to be honest I have no clue what is going on. Unfortunately, I also have little time to dig deeper. Have you made any progress?

@whitecl
Copy link
Author

whitecl commented Apr 16, 2012

Hi Bastiaan, thanks for looking into this. We'll be doing a renewed dev cycle on this project sometime in the next few weeks. I'll do some investigating as well on the issue.

I'm also going to try to bring Rich up-to-date in our project, I'll let you know if the issue persists in newer versions.

@kim3er
Copy link
Contributor

kim3er commented Sep 25, 2012

Hi, I'm having the same problem, using the latest stable version.

@bastiaanterhorst
Copy link
Contributor

Yeah, unfortunately this is not fixed yet.

@kim3er
Copy link
Contributor

kim3er commented Sep 25, 2012

Thanks for the response. I've just found an Issue on the CKEditor gem that suggests turning compression off as a workaround. It's not ideal but as my target audience is on an Intranet, so it should be fine.

galetahub/ckeditor#121

@kim3er
Copy link
Contributor

kim3er commented Sep 25, 2012

Switching off compression fixes the problem, but it obviously not ideal. As per the link I post above this issue has been resolved in the CKEditor gem.

@bastiaanterhorst
Copy link
Contributor

Have you been able to distill what the exact problem is? The commit mentioned in the Ckeditor issue touches many files and doesn't mention this exact issue.

@kim3er
Copy link
Contributor

kim3er commented Sep 25, 2012

I have managed to detect the problem to the point that I can fix it. But the crux of it is that some aspect of the CK Editor source when compressed produces a senario whereby IE just stop parsing the file. My assumption is that this has been resolved in CKEditor core rather than the GEM, but I have no confirmation of this.

I don't have the capacity in this project to investigate much further, but it'll be top of my list next time I incorporate Active Admin on a public facing site.

Aside from this minor blip, this gem has been incredibly useful. Thank you.

@stonehz
Copy link

stonehz commented Mar 6, 2013

The problem still exists... any updates or any ways how to fix it?..
Thank you in advance!

@bastiaanterhorst
Copy link
Contributor

Unfortunately I'm not aware of a fix..

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

No branches or pull requests

4 participants