Integrating CKEditor with Rails 3.2

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

    Have similar issue. For me it was fixed by overriding default precompile task (I used Rails 4 and CkEditor 4).

    1. Add to application.rb config.assets.precompile += ['ckeditor/*']
    2. In application.js //= require ckeditor/init
    3. Create file lib/tasks/precompile_hook and paste text from this answer Precompile hook

提交回复
热议问题