javascript - CKEditor gem not working in production -


I am using CKAditor Mani (V4.0.7.2) with my Rail 4 app. It works fine in development, but as soon as I change the server to production mode, I get the following JavaScript error in the console: Uncaught TypeError: Can not read 'langEntries' tap / <> . In addition, some CKEditor interfaces are no longer visible.

What has changed between JavaScript and JavaScript in production?

This issue is being loaded in development and production environments' load order of JavaScript files (production scripting and Development is ... no ...). By changing a need_tree with a requirement for each file and putting the files in that order from which they need to be loaded < / Strong>, the issue was resolved.


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -