/ckeditor_wordcount_rails

A rails integration for the ckeditor wordcount plugin.

Primary LanguageRubyMIT LicenseMIT

CkeditorWordcountRails

This is a gem to install wordcount plugin for the CKeditor library.

Installation

Add this line to your application's Gemfile:

gem 'ckeditor_wordcount_rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ckeditor_wordcount_rails

In CKeditor config file add:

config.extraPlugins = 'wordcount'

Probably you want to add the notification plugin also.

config.extraPlugins = 'wordcount,notification'

Usage

check all the configuration options in the plugin docs

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the CkeditorWordcountRails project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.