Skip to content

dancingbytes/ant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ant

Simple BBCode editor with javascript ui

Support

Ruby: 2.0+

Rails: 4.2+

Installation

Add this line to your application's Gemfile:

gem 'ant'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ant

Usage

Add to application.js

//= require ant

Add to application.scss

@import "ant";

For your textarea tag just add class

.ant-editor

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/dancingbytes/ant.

License

Author: Tyralion (piliaiev@gmail.com)

Copyright (c) 2016 DansingBytes.ru, released under the BSD license