Simple BBCode editor with javascript ui
Ruby: 2.0+
Rails: 4.2+
Add this line to your application's Gemfile:
gem 'ant'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ant
Add to application.js
//= require ant
Add to application.scss
@import "ant";
For your textarea tag just add class
.ant-editor
Bug reports and pull requests are welcome on GitHub at https://github.com/dancingbytes/ant.
Author: Tyralion (piliaiev@gmail.com)
Copyright (c) 2016 DansingBytes.ru, released under the BSD license