Posted by ant
October 10th, 2008
Filed in Rails
The reason for my specific jaunts into the world of XSS protection were due to me wanting to implement a Rich Text Editor on the Rails project I’m currently working on. After considering numerous options (including FCKEditor, Yahoo YUI and Kupu) I decided to settle on TInyMCE for my editor of choice. It’s configurable, has a plugin architecture, it’s highly supported, has been around for ages etc etc..
Plus, I found a project called Tiny MCE Plus. It provides many of the helpers etc that makes it much easier to plug into Rails. It’s really easy to implement (and documented on the site) but what really interested me was the fact that there’s a TinyMCE plugin and Rails generator that does image uploads included!
I had to do a load of changes to this plugin to make it completely suit my needs, including refactoring the code to use jQuery rather than Prototype, but it was certainly something to use as a basis. The best Rails – Rich Text Editor combination I’ve found. I’ll be documenting my efforts more fully soon!
Blog uses Mephisto
Design from OSWD
by dreamLogic

Leave a Reply ☆