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

The included basepath.js.erb Always Overrides Custom basepath.js.erb #46

Open
Undistraction opened this issue Mar 24, 2014 · 0 comments

Comments

@Undistraction
Copy link

It seems that even if I add a custom basepath as described here, the basepath.js file included with the gem is always precompiled afterwards, overriding its value.

I include the custom file like this:

//= require ckeditor/basepath
//= require ckeditor-jquery

But looking at the generated application.js, though I can see the CKEDITOR_BASEPATH I define, the default basepath is included subsequently, overriding it.

It seems that even if I add my own basepath.js.erb file to javascript/ckeditor, the default basepath.js.erb file included with the gem is included after it, overriding the CKEDITOR_BASEPATH variable.

@Undistraction Undistraction changed the title Includes basepath.js.erb Always Overrides Custom basepath.js.erb Including basepath.js.erb Always Overrides Custom basepath.js.erb Mar 24, 2014
@Undistraction Undistraction changed the title Including basepath.js.erb Always Overrides Custom basepath.js.erb The included basepath.js.erb Always Overrides Custom basepath.js.erb Mar 24, 2014
camilalm added a commit to camilalm/ckeditor-rails that referenced this issue Nov 21, 2014
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

1 participant