Skip to content
This repository

Image upload management provided by Paperclip Gem for the Redactor Editor

branch: master

Paperclip Gem Integration for Redactor.js

Image upload management provided by paperclip gem for the Redactor WYSIWYG editor


In your Gemfile, add the following dependencies:

gem 'paperclip'
gem 'redactor-paperclip'


$ bundle install

And then run:

rails g redactor:install

Finally run:

rake db:migrate


Add to your css file (usually app/assets/stylesheets/application.css)

*= require redactor

And to your javascript file (usually app/assets/javascripts/application.js)

//= require redactor

Initialize Redactor

In your javascript file:

     $('textarea').redactor({ imageUpload: 'paperclip' });

See the Redactor Documentation for a full list of configuration options.


Redactor has 3 different licenses for commercial use. For details please see License Agreement.

Special Thanks

SammyLin ( redactor-rails )

Something went wrong with that request. Please try again.