Integrating CKEditor with Rails 3.2

后端 未结 12 1469
一整个雨季
一整个雨季 2021-02-02 04:27

Similar to Integrating CKEditor with Rails 3.1 Asset Pipline

I am trying to integrate ckeditor with my rails 3.2 application.<

12条回答
  •  离开以前
    2021-02-02 04:45

    I used this guide to add ckeditor to activeadmin in Rails 3.2 with the asset pipeline enabled: https://github.com/gregbell/active_admin/wiki/CKEditor-integration

    It worked like a charm.

    The only additional thing I did was add this line to my environment:

    config.assets.precompile += ['active_admin.css', 'active_admin.js', 'ckeditor/init.js']
    

提交回复
热议问题