Integrating CKEditor with Rails 3.2

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

    rails 3.2 fix:

    1. in assets/javascripts/application.js
      ... blablabla ...
      //= require ckeditor_fix        #- add this line
      //= require ckeditor/init
      //= require_tree .
    2. in assets/javascripts create new file ckeditor_fix.js
      var CKEDITOR_BASEPATH = '/assets/ckeditor/';

提交回复
热议问题