Hello, I'm trying to use Nicedit to improve my text_areas in some views
of my project.
I have installed jquery:
ruby script/plugin install git://github.com/aaronchi/jrails.git
nicEdit plugin:
ruby script/plugin install
git://github.com/sergio-fry/Simple-nicEdit.git
Add js in layout:
<%= javascript_include_tag 'nicEdit', 'nicEditInit' %>
Use it in form
<% form_for @item do |f| %>
<%= f.rich_text_area :description %>
<% end %>
I have no results in my views and no javascript errors appears (checked
with firebug).
Could someone tell me if I have skipped something?
Could someone recommend me other plugin or gem for this purpose?
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment