spree-contrib / spree_editor

Rich text editor for Spree with Image and File uploading in-place.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
112 stars 183 forks source link

i need to add text editor for a new textarea field of my own? #23

Closed railsfactory-ferdinand closed 11 years ago

railsfactory-ferdinand commented 12 years ago

i just to use text editor for my own textarea field in product page,but i couldn't able to integrate like description field in product page?what can i do for that?kindly guide me to do that for a text area of my own?

davidslvto commented 12 years ago

You just need to give it a class='tinymce'

https://github.com/spohlenz/tinymce-rails (I assume you are using tinymce)

JDutil commented 11 years ago

As @davidslvto pointed out you should be able to just add the tinymce class if that is the editor engine your using. There is also a configuration preference that you can add the field to within the admin panel.