View Me on GitHub

HappySeed Ckeditor Email Install

What does this do?

  • Includes ckeditor, a WYSIWYG editor for adding html to your documents. For a detailed explanation of everything you can do with ckeditor see the documentation for the gem here.

Why do you want this?

Easy html body editor for when you need to add html content through your admin panel/form/etc. Ckeditor is a great solution for this and makes it very easy.

Environment Variables


What needs to be done?

Pass in :ckeditor to simple_form.

$ rails g scaffold post title:string body:text 
= simple_form_for(@post) do |f|
  = f.error_notification

    = f.input :title
    = f.input :body, as: :ckeditor

    = f.button :submit