Skip to content

Gemify summernote-image-attributes (summernote extension) for Rails >= 3.1

License

Notifications You must be signed in to change notification settings

i4a/summernote-image-attributes-rails

 
 

Repository files navigation

summernote-ext-addclass-rails

The gemification of the summernote extension [summernote-image-attributes][summernote-image-attributes] for Rails >= 3.1.

Demo

Also, we have a live demo (check the CSS3 icon button).

Installation

Add the following gems to your application's Gemfile:

gem 'bootstrap-sass'                    # required
gem 'summernote-rails'                  # required
gem 'summernote-image-attributes-rails', '~> 0.8.7'

And then execute on the terminal:

bundle install

Usage

JavaScript

In app/assets/javascripts/application.js, you should add in this order:

//= require bootstrap
//= require summernote
//= require summernote-image-attributes

CoffeeScript

In app/assets/javascripts/application.coffee, you should add in this order:

#= require bootstrap
#= require summernote
#= require summernote-image-attributes

More information here.

Versioning

Major Minor Current
is the major of summernote is the minor of summernote is the version of this extension

Example:

The compatible versions of this gem with summernote v0.8.3 are:

  • summernote-image-attributes-rails v0.8.X

License

MIT

About

Gemify summernote-image-attributes (summernote extension) for Rails >= 3.1

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 95.5%
  • Shell 4.5%