Repository is archived
No commit activity in last 3 years
No release in over 3 years
Yellow Text makes text editing fun again with a beautiful interface and a few very clean options
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 3.1
 Project Readme

image

YellowText - Rails

Editing text shouldn't be a pain. It should be simple. It should be pretty. With Yellow Text it is.

This lightweight jQuery plugin can be used to make your text editing proces a lot easier and more fun. The text editor only contains the most basic functions you need for editing text.

For more information about the plugin, you should check the official repo.

Installation

Add this line to your application's Gemfile:

gem 'yellow-text-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install yellow-text-rails

Usage

Step 1: Make sure you call the plugin by it's name

$("#js-your-html-element").texteditor();

Step 2: Make sure you're calling the javascript file in your application.js and the css file in your application.css:

//= require yellow-text and *= require yellow-text

Step 3: Annnnnnnnnnd... finished! Wasn't that hard huh?!

Beer-ware license

As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request