Today I am going to talk about how to integrate ckeditor (a text editor) in your rails application. Ckeditor is the most commonly used text editor now a days, because of that there are so many gems available. Here I am using ckeditor gem.
Step 1: Add gem to your Gemfile and run bundle:
Step 2: If you want to give support for uploading files using the text editor, ckeditor has support for multiple image uploader plugins. Some of them are:
a) Using paperclip:
If you are using paperclip you need to add paperclip in your Gemfile and run the command to install it