-
Notifications
You must be signed in to change notification settings - Fork 2.3k
CKEditor
Mitsuhiro Shibuya edited this page Jul 23, 2013
·
13 revisions
To use the CKEditor with Upload function, add Rails-CKEditor to your Gemfile (gem 'ckeditor'
) and follow Rails-CKEditor installation instructions.
You can configure more options of CKEditor "config.js" file following the Api Documentation .
RailsAdmin.config do |config|
config.model Team do
edit do
# For RailsAdmin >= 0.5.0
field :description, :ck_editor
# For RailsAdmin < 0.5.0
# field :description do
# ckeditor true
# end
end
end
end
Note that CKeditor won't appear in AJAX-loaded modals, due to CKeditor limitations with AJAX loading/unloading (basically it's crap).