javascript - CKEditor gem not working in production -
i'm using ckeditor gem (v 4.0.7.2) rails 4 app. works fine in development, switch server production mode, next javascript error in console: uncaught typeerror: cannot read property 'langentries' of null
. additionally, ckeditor dialogs no longer show up.
what changed in javascript between dev , production?
the issue ended beingness difference between development , production environments' load order of javascript files (production lexigraphic , development is...not...). replacing require_tree
in gemfile require
each file and putting files in order need load, problem resolved.
javascript ruby-on-rails ruby-on-rails-4 ckeditor
No comments:
Post a Comment