Sha256: 9772940acd59cba55ab4e2777e1f8ad66bc30af8d7f17c3f1f18fce5e8ac6b5e
Contents?: true
Size: 749 Bytes
Versions: 3
Compression:
Stored size: 749 Bytes
Contents
# Active Admin Editor This is a wysiyg html editor for the [Active Admin](http://activeadmin.info/) interface using [wysihtml5](https://github.com/xing/wysihtml5). ![screenshot](http://i.imgur.com/vfX1A.png) ## Installation ```ruby # Gemfile gem 'active_admin_editor' ``` Then add the following stylesheet to your application manifest: ``` //= require active_admin/editor/wysiwyg ``` ## Usage This gem provides you with a custom formtastic input called `:html_editor` to build out an html editor. All you have to do is specify the `:as` option for your inputs. **Example** ```ruby ActiveAdmin.register Page do form do |f| f.inputs do f.input :title f.input :content, as: :html_editor end f.buttons end end ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
active_admin_editor-0.2.1 | README.md |
active_admin_editor-0.2.0 | README.md |
active_admin_editor-0.1.0 | README.md |