PerfectlyNormal / tinymce-rails-imageupload

Image upload plugin for TinyMCE and Rails with the asset pipeline
MIT License
149 stars 153 forks source link

How do you use this a plugin with tinymce-rails? #28

Closed dagumak closed 11 years ago

dagumak commented 11 years ago

https://github.com/spohlenz/tinymce-rails

How do I include this as a plugin?

dagumak commented 11 years ago

= tinymce_assets

= form_for @post, :html => {:multipart => true} do |f| = f.text_area :body, :class => "tinymce" = tinymce :plugins => "uploadimage"

PerfectlyNormal commented 11 years ago

Never used the helpers for the tinymce-rails gem, but glad you figured it out. I just include the JavaScript manually, and activate the editor on each page that needs it manually.