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

JS code should go inside the head. #12

Closed pjmorse closed 12 years ago

pjmorse commented 12 years ago

Using :insert_after puts the JS between the body and head tags, which creates invalid HTML. It should go inside the head, hence :insert_bottom.