README.rdoc in esp-ckeditor-0.1.3 vs README.rdoc in esp-ckeditor-0.1.4
- old
+ new
@@ -1,8 +1,8 @@
= EspCkeditor
-CKEditor 3.6.2 for rails >= 3.1.0 project with formtastic and el_vfs_client (optional) support.
+CKEditor 3.6.2 for rails >= 3.1.0 project with el_vfs_client (optional) support.
== Install
To Gemfile
@@ -16,17 +16,14 @@
$ gem install esp-ckeditor
== Usage
-In layout or view include JavaScript
+Add to your <code>application.js</code>:
- <%= javascript_include_tag 'esp-ckeditor/application' %>
+ //= require esp-ckeditor
-and use formtastic input <tt>:as => :ckeditor</tt>
+and use textarea with <tt>:class => :ckeditor</tt>
- <%= form.input :annotation, :as => :ckeditor, :input_html => { :height => 100 } %>
- <%= form.input :text, :as => :ckeditor %>
-
== License
-This project rocks and uses MIT-LICENSE.
\ No newline at end of file
+This project rocks and uses MIT-LICENSE.