CKEditor, config.js is not working in production

I added CKEditor config.js file to app / assets / javascripts / ckeditor / directory, config.js file contains:

[... config.js content from repository ...]

CKEDITOR.config.allowedContent = true;

      

I've set allowedContent to true.

My problem is that it works correctly in development environment, but after deploying to heroku, it doesn't work. Why?

My application.js file:

[... require ...]

//= require ckeditor/init

functions, etc.

      

and all the code after is //= require ckeditor/init

broken (functions, etc.) - on production.

+3


source to share





All Articles