Integrating CKEditor with Rails 3.2

后端 未结 12 1470
一整个雨季
一整个雨季 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:50

    This is just an addition. I tried all this and it did not work for me so what i did was to change my ckeditor gem to gem 'ckeditor'

    And added this to my application.js

    //= require ckeditor/init
    

    Then to precompile my assets, i added this to my production.rb file

    config.assets.precompile += Ckeditor.assets
    

    and it all worked like magic

提交回复
热议问题