-
Notifications
You must be signed in to change notification settings - Fork 25
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
Nothing shows up... #3
Comments
@ACPK looks like this is to do with javascript inclusion ordering in the new Administrate. The compiled JS is appended to the end of the HTML document, while the CKEditor gem adds inline JS which loads before the main files are. Looks like everything is okay apart from this... I'll look into it over the next few days. |
Sweet. Looking forward to it. |
@rikkipitt - Thanks! Can't wait! |
@ACPK @adrianvalenz I had a brief look at the issue, and I'm not sure what to do really. Essentially, Administrate loads their JS in the footer before the closing The field JS is loaded before the ckeditor plugin inclusion and so doesn't show up. Perhaps we ask Administrate to accept a pull request to load JS in the head? Not sure if they'll do that though... |
Now it's back in active maintenance I think they're pretty receptive to PRs like that which have an obvious use case. |
Can we fork our own version of their Administrate, change the code to load JavaScript in the head, and install the gem with a github ref to ours? At least until they make the change? |
Of course, who wants to submit the pull request? I can if you'd like me to? |
Not a great start! I forked their master repo, ran |
Maybe git clone the tag version 3.0.0? |
@adrianvalenz tried that, it's actually related to this - thoughtbot/administrate#726 That was added 1 hour ago... what are the chances?! I was running an old version of PhantomJs. |
Oh dang. :/ Sorry I fell asleep...it's 11am right now pacific time. Where are you guys at? |
Morning @adrianvalenz, I'll submit a pull request this evening and let you guys know when it's ready. It'll be on my fork of Administrate found here - https://github.com/jemcode/administrate I'll let you know when you can use my git ref and get things working. Rikki |
@ACPK @adrianvalenz @pedantic-git This is all fixed now in release v0.0.4. https://github.com/jemcode/administrate-field-ckeditor/releases/tag/v0.0.4 Hope this helps! |
No description provided.
The text was updated successfully, but these errors were encountered: