Skip to content

KernelCorp/active_admin_tinymce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/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

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request