How to setup wysiwyg editing for rails - yui_editor
Previously, I was using tinymce on my rails app along with the plugin. I’ve since moved to using the yui_editor through larslevan’s plugin on github.
I am currently much happier with the yui_editor and would recommend it over anything else I’ve been able to find out there.
Plus, setup was a breeze. Thanks larsklevan.
Here’s the api documentation for the yui editor.
How to skin the yui editor with css.
And here’s how to setup a custom image browser.

Scott Motte » Blog Archive » How to setup TinyMCE for Ruby on Rails | August 15, 2008
[...] see new post on how to setup yui_editor [...]
renuka | September 15, 2008
Hi,
I want to copy all code from ysi_editor textarea with html so is it possible?
Nicklas Ramhöj | October 20, 2008
Hi.
I’m trying to integrate the yui_editor with the in_place_editing-plugin.
I’m calling:
var editor = new YAHOO.widget.#{editor_class}(textAreaId,#{options[:editor_config_javascript] || ‘{}’});
editor.render();
global_editors.push( editor );
From controls.js
But I getting an error saying that global_editors is undefined.
When I use the plugin as intended (rendering rich editor fields onLoad) it works, but I can’t figure out where global_editors is defined…? Is global_editors some kind of global js-variable? And if that’s the case, why isn’t defined in my new context?
Many thinks in advance,
Kind regards,
Nicklas Ramhöj