Closed AJ-Acevedo closed 11 years ago
Does the same JS code work outside of rails?
Yup just tested it using the the HTML 5 boiler plate and Firefox 18 and Firefox 23. Worked just fine.
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?
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.
I believe someone actually made a gem. Might be out of date tho. And yes, all contributions welcome :)
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
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: