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 antAdd to application.scss
@import "ant";For your textarea tag just add class
.ant-editorBug reports and pull requests are welcome on GitHub at https://github.com/dancingbytes/ant.
Author: Tyralion ([email protected])
Copyright (c) 2016 DansingBytes.ru, released under the BSD license