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.
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.
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:
But looking at the generated
application.js
, though I can see theCKEDITOR_BASEPATH
I define, the default basepath is included subsequently, overriding it.It seems that even if I add my own
basepath.js.erb
file tojavascript/ckeditor
, the defaultbasepath.js.erb
file included with the gem is included after it, overriding theCKEDITOR_BASEPATH
variable.