Ask A Question

Notifications

You’re not receiving notifications from this thread.

Rich text format editor in rails 4

John Munyi asked in General

I am looking for a rich text format editor that is compatible with rails 4, any good ones out there, I want to make beautiful text-areas with rich text.

cheers

Reply

If you don't need anything too complicated, Basecamp just released their new text editor that I found to be really good. It's called Trix. https://github.com/basecamp/trix

There's also CKEditor and TinyMCE that have been used by a lot of people in the past. I don't particularly like them, but they do a lot more than Trix.

Reply

Thanks chris had tried out cke and its was a bit of an overkill in the wrong direction will checkout Trix... Need something simple

Reply

It's pretty much the most awesome one I've seen. I'm going to have to do an episode on it soon.

Reply

Check out this gem if you'd like an 'easy' way to integrate the editor.

https://github.com/maclover7/trix

I've used it in a few of my projects.

Reply

Thanks Andrew and Chris .. Trix does it for me

Reply

I have used this one in the past, pretty cool https://github.com/froala/wysiwyg-rails and also https://github.com/summernote/summernote-rails

Reply

Since I started to blog with Jekyll, Markdown seem to be the most convenient way to edit text.
I have used an editor like the one used in the Ghost blogging platform for a client rails project and it worked perfectly.
Maybe worth considering in the future https://github.com/timsayshey/Ghost-Markdown-Editor.
I find it way easier to use that any text editor.

Reply

The ghost editor looks pretty sweet too! Thanks for sharing that.

Reply

Seems like Trix is having a lot of problems and lack of support for image and image uploading, I have personally ran into a bunch of diffrent issues with Trix and it seems their core does not want to implement a lot of nessacary features such as image orantation and image resizing.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.