Skip to content
brewster1134 edited this page Aug 11, 2012 · 10 revisions

Optional bootstrap-wysihtml5 integration

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

Optional CKEditor integration

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

More here

Clone this wiki locally