redactor-rails - Rich Text Editor

redactor-rails has a advantage like no need to see preview of html contents.

Add gem

gem 'redactor-rails'

Add to your application.js:

//= require redactor-rails

Add to your application.css:

  *= require redactor-rails

and in your input field need to add a class: "redactor"

thats it.

You can integrate carrierwave with this to save images in apFor more see documentation :

Sunil Sharma

I am a Ruby on Rails developer, passionate about building interesting and innovative web and mobile apps. | Ruby on Rails | Ember.js | Cordova | Travelling | Party | Trekking ...

Read More