-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Text
brewster1134 edited this page Aug 11, 2012
·
10 revisions
http://jhollingworth.github.com/bootstrap-wysihtml5/
RailsAdmin.config do |config|
config.model Team do
edit do
field :description, :text do
bootstrap_wysihtml5 true
end
end
end
end
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
field :description, :text 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).
Support for Codemirror was also added recently