Skip to content

wikimo/simditor-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simditor-rails gem

simditor-rails gem is a Rails assets wrapper of Simditor, ready to drop right into your Sass powered applications.

Installation

gem 'simditor-rails'

Usage

in application.js

//= require simditor

in application.css

 *= require simditor

init after dom load

$ ->
  editor = new Simditor(
    textarea: $('.simditor')
    upload: true
    toolbar: ['bold', 'italic', 'underline', '|', 'ol', 'ul', 'blockquote', 'code', '|', 'link', 'image', '|', 'indent', 'outdent', '|', 'hr', 'table']
  )

About

Ruby assets wrapper for a simple editor designed by mycolorway

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%