# Rich Text Editor

**URL:** <https://www.ruby-forum.com/t/rich-text-editor/183866>\
**Category:** Rails\
**Created:** [February 22, 2010, 4:37am UTC](https://www.ruby-forum.com/t/rich-text-editor/183866 "2010-02-22T04:37:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [February 22, 2010, 4:37am UTC](https://www.ruby-forum.com/t/rich-text-editor/183866/1 "2010-02-22T04:37:29Z")

</div>

I’m fairly new to ROR. Does anyone know of a good rich text editor to  
use? Is fckeditor good or is their a better one to use?

Thanks, Steve

---

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [February 22, 2010, 4:52am UTC](https://www.ruby-forum.com/t/rich-text-editor/183866/2 "2010-02-22T04:52:42Z")

</div>

scite – emacs – netbeans

On Mon, Feb 22, 2010 at 11:36 AM, steve [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> removed\_email\_address@domain.invalid[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> .  
> For more options, visit this group at  
> [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

–  
æˆ‘ä¸æ˜¯æƒ³è·‘ä¸‹åŽ»,æˆ‘æ˜¯ç„¡è·¯å¯èµ°äº†~

---

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [February 22, 2010, 5:04am UTC](https://www.ruby-forum.com/t/rich-text-editor/183866/3 "2010-02-22T05:04:25Z")

</div>

On Sun, 2010-02-21 at 19:36 -0800, steve wrote:

> I’m fairly new to ROR. Does anyone know of a good rich text editor to  
> use? Is fckeditor good or is their a better one to use?

* * *

I played with tinymce and easy-fckeditor and settled on easy-fckeditor  
because it allowed me to easily configure which tools were displayed and  
I have different tools for different forms/columns. Specifically, there  
are areas where I don’t allow http tags at all.

fckeditor, the new ckeditor, easy-fckeditor and tinymce all seem very  
capable of doing the job. The difference is whether you want to  
customer, what you want to customize and how deeply you want to get into  
the javascript code to customize. For me, easy-fckeditor was an  
appropriate choice.

You also will definitely want to check out the Sanitize gem because it  
allows you to choose which tags/attributes are permitted because as soon  
as you allow people to start putting in their own tags, someone is bound  
to start putting in things like script tags.

Craig

–  
This message has been scanned for viruses and  
dangerous content by MailScanner, and is  
believed to be clean.

---

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [February 22, 2010, 7:40pm UTC](https://www.ruby-forum.com/t/rich-text-editor/183866/4 "2010-02-22T19:40:38Z")

</div>

TinyMCE editor is also a good option. Plugin supports image & media  
upload  
alongwith YML configuration for plugins

> **[GitHub - sandipransing/rails\_tiny\_mce: A Tiny MCE Rich text Editor for rails...](https://github.com/sandipransing/rails_tiny_mce)**
>
> A Tiny MCE Rich text Editor for rails using jquery, paperclip with image and media upload support - GitHub - sandipransing/rails\_tiny\_mce: A Tiny MCE Rich text Editor for rails using jquery, paperc...

On 2/22/10, ben wiseley [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > capable of doing the job. The difference is whether you want to
> > 
> > To unsubscribe from this group, send email to  
> > To post to this group, send email to removed\_email\_address@domain.invalid.  
> > To unsubscribe from this group, send email to  
> > removed\_email\_address@domain.invalid.  
> > For more options, visit this group at  
> > [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

–  
Sandip

* * *

> **[Fun On Rails](http://funonrails.com/)**
>
> Journal of a Web Developer #ruby #rails #JS

---

<div class="post-metadata">

**Author:** ![steve](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@steve](https://www.ruby-forum.com/u/steve)\
**Post date:** [February 22, 2010, 5:28pm UTC](https://www.ruby-forum.com/t/rich-text-editor/183866/5 "2010-02-22T17:28:56Z")

</div>

There’s also [GitHub - basecamp/wysihat: A WYSIWYG JavaScript framework](http://github.com/37signals/wysihat)

I’ve used tinymce on past projects. It’s a pain in the ass but, if you  
need  
to integrate uploading images and really customize things it might be  
the  
best way to go. AFAIK it has many more plugins than fck and their  
forums  
are pretty active.
