spree/spree_editor — pull request #66 by sbasir (2014-03-02 01:22:34+00:00)
Title: make ckeditor work with rails 4 assets pipeline in production

Ckeditor was not loading for me in a production environment using the assets pipeline.

The CKeditor readme suggests to include 'ckeditor/overrides' in the application.js directives, but unfortunately this won't work in a javascript_include_tag as for some reason override.js is not propagating to the store app.

While not ideal, copying and pasting the contents of override.js.erb from ckeditor into _ck_editor.html.erb works well.

Tested manually locally and in a production server using the rails assets pipeline.