This is a wysiwyg html editor for the Active Admin interface using TinyMCE. Editor supports inserting images. To upload files used Active Admin Images
Add the following to your Gemfile
:
gem 'activeadmin_tinymce'
Include styles in your acive_admin.css
:
//= require admin_lib/modal
Include javascripts in your activ_admin.js
:
//= require tinymce
//= require admin_lib/init_tinymce
Then run the following to install the default intializer:
$ rails g active_admin:tinymce:install MODEL
Replace MODEL by the class name used for the applications images
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request