Active Admin Tinymce
This is a wysiwyg html editor for the Active Admin interface using TinyMCE. Editor supports inserting images. To upload files used Active Admin Images
Installation
Add the following to your Gemfile:
gem 'activeadmin_tinymce'Include styles in your acive_admin.css:
//= require admin_lib/modalInclude javascripts in your activ_admin.js:
//= require tinymce
//= require admin_lib/init_tinymceThen run the following to install the default intializer:
$ rails g active_admin:tinymce:install MODELReplace MODEL by the class name used for the applications images
Contributing
- 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