spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
816 stars 258 forks source link

How to use tinymce-rails + paperclip #110

Closed legos closed 11 years ago

legos commented 11 years ago

I'm currently using paperclip + S3 stoarge in my project to upload assets via polymorphic associations. How can I setup tinymce to use paperclip for file uploads and then browse those files and insert them into textareas?

spohlenz commented 11 years ago

I believe the tinymce-rails-imageupload plugin (https://github.com/PerfectlyNormal/tinymce-rails-imageupload) will be your best starting point, although I haven't used it personally.