README.markdown in ueditor_rails-0.0.1 vs README.markdown in ueditor_rails-0.0.2
- old
+ new
@@ -4,17 +4,21 @@
## Demo
Go to ```test/dummy``` and ```rails s```, remember ```bundle``` first.
## Installation
-Add the gem to your Gemfie ```gem 'ueditor_rails', :git => 'https://github.com/jasl/ueditor_rails.git'```.
+Add the gem to your Gemfie ```gem 'ueditor_rails', :git => 'https://github.com/jasl/ueditor_rails.git'``` or ```gem 'ueditor_rails'```.
-and run ```rails g ueditor_rails:install```.
+```bundle``` and run ```rails g ueditor_rails:install```.
## Configure
See ```app/assets/javascripts/ueditor_config.js.erb``` for detail.
## Using
+```require ueditor_rails/init``` to your application.js first.
+
+**samples**
+
```f.ueditor_text :body```
```ueditor_text_tag 'test2', 'text here'```
```ueditor_text_tag 'test1', 'text here', :id => 'xxxx', :width => 500, :toolbars => [["bold","italic","underline"]]```