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

Firefox: texarea does not load until the page is refreshed #280

Closed
AJ-Acevedo opened this issue Aug 14, 2013 · 6 comments
Closed

Firefox: texarea does not load until the page is refreshed #280

AJ-Acevedo opened this issue Aug 14, 2013 · 6 comments

Comments

@AJ-Acevedo
Copy link
Contributor

Any ideas why the text area does not load in Firefox until the page is manually refreshed with a Rails app? It works just fine in Chrome and Safari.

Firefox 23
Rails 4.0.0

When I Inspect Element, the Net tab shows that the css files are not loading until the page gets refreshed.

Here's a screen shot:
epiceditor-bug

@OscarGodson
Copy link
Owner

Does the same JS code work outside of rails?

@AJ-Acevedo
Copy link
Contributor Author

Yup just tested it using the the HTML 5 boiler plate and Firefox 18 and Firefox 23. Worked just fine.

@OscarGodson
Copy link
Owner

Huh, I don't really do any Rails stuff, but could it be that the file just isn't loading? If you're using an asset pipeline, is it in the compiled JS? Does EpicEditor.version work if you type it in the console? If EpicEditor.version works, is it just that the CSS isn't loading and there's actually a white box you can type into?

@AJ-Acevedo
Copy link
Contributor Author

Strange thing is it works fine in Safari and Chrome. And when you refresh in Firefox it works fine. I'm going to attribute this issue to a Rails asset pipeline or caching issue as the server logs show that on refresh (when it works) the assets are all loaded again and not from cache. I'm going to extract EpicEditor from my project into a Rails gem and get it working right with the asset pipeline. You have an awesome project. Looking forward to contribute back to the project.

@OscarGodson
Copy link
Owner

I believe someone actually made a gem. Might be out of date tho. And yes, all contributions welcome :)

@OscarGodson
Copy link
Owner

Actually, yeah, looks like it was a rails-epiceditor and it's mega out of date.

Added your version here: https://github.com/OscarGodson/EpicEditor/wiki/EpicEditor-Implementations

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

2 participants