- Rails 3.1+ (need asset pipline, feel free to help me add 3.0 support)
- Gem el_finder (in gem dependencies)
Include gem into to your Gemfile
gem 'elrte'
Install gems from gemfile
$ bundle install
Generate gem files
$ rails generate elrte:install
Require javascript file (in application.js or may be in active_admin.js)
//= require elrte
Also if include jquery if you need
//= require jquery
//= require jquery-ui
Require stylesheet file (in application.css or may be in active_admin.css)
@import 'elrte';
Add class 'editor' to needed fields and you will see WYSIWYG elfinder editor instead of textareas
Need your feasible help. Feel free to add issue about found bugs, send me pull request with fixes.
- Fork it.
- Create a branch (git checkout -b critical_bug)
- Commit your changes (git commit -am "Fixed critical bug")
- Push to the branch (git push origin critical_bug)
- Create an Issue with a link to your branch
- Wait