rails 4 with CKeditor

后端 未结 6 788
死守一世寂寞
死守一世寂寞 2021-01-31 12:41

I cannot get the galetahub ckeditor gem to work with Rails 4 for me. I searched for any problems online but cannot find any. I\'m following the instructions exactly.

6条回答
  •  一个人的身影
    2021-01-31 12:59

    In case you are having trouble making it work with active admin, make sure to put this:

    config.register_javascript 'ckeditor/ckeditor.js'
    config.register_javascript 'ckeditor/init.js'
    

    Into config/initializers/active_admin.rb

提交回复
热议问题