Sha256: cf294f90f89326090438cc541bbcec56a6f49a2aacc249b84430957ff8908af9

Contents?: true

Size: 714 Bytes

Versions: 2

Compression:

Stored size: 714 Bytes

Contents

# simditor gem

`simditor` gem is a Rails assets wrapper of [Simditor](https://github.com/mycolorway/simditor).

[![Gem Version](https://badge.fury.io/rb/simditor.svg)](https://badge.fury.io/rb/simditor)

## Usage

in Gemfile
```ruby
gem 'simditor'
```

in application.js
```
//= require simditor
```

in application.css
```
 *= require simditor
```

## Initialization

```coffeescript
editor = new Simditor(
  textarea: $('#editor')
  toolbar: [
    'title','bold','italic','underline','strikethrough','color','|'
    'ol','ul','blockquote','code','table','link','image','hr','|'
    'indent','outdent'
  ]
  pasteImage: true
  defaultImage: '<%= image_path "upload-loading.png" %>'
  upload: url: '/upload')
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simditor-2.3.6 README.md
simditor-2.3.5 README.md