wysiwyg - How to install 'Ckeditor' for 'Active Admin' with 'Rails 3.1' -


i looking how install ckeditor active_admin

i installed ckeditor , have put line in 'initializers/active_admin.rb' file.

# load javascript file:
config.register_javascript 'ckeditor/config.js'

and line

config.autoload_paths += %w(#{config.root}/app/models/ckeditor)

in 'config/application.rb'

in begining 'config.js' file wasn't loaded because when install ckeditor gem creates folder named ckeditor in public/javascripts rails 3.1, had move folder assets/javascripts...

that's i've done.

now file "config.js' loaded.

but don't know have next

rails 3.2

activeadmin-0.4.3

in 'initializers/active_admin.rb' file.

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

in form

 = f.cktext_area :text 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -