Reply to comment

Fix for YUI Rich Text Editor in Drupal in Safari, Chrome and other WebKit browsers

Drupal's biggest hurdle, from a client's user interface perspective, is the dearth of acceptable rich text editors.  Wordpress comes with a fantastic editor preinstalled that has robust multimedia tools as well.  Drupal?  Drupal gives you an empty field by default.  If you want to easily upload, embed, and manipulate images in your posts you need to do some serious module installing and configuring.

And this is where I welcome Yahoo's Rich Text Editor.  It's what I'm using on this site, and for the most part it is fantastic.  It looks and acts like non-web-admin types would want it to, and includes a built-in image uploader.  But the Drupal modules don't set it up to work in Safari, Chrome, Camino or any other WebKit based browsers.  The most frustrating thing happens when you click "submit" in these browsers: the page appears to just refresh.

There's a solution!  In the Drupal Site Configuration menu for YUI Common Settings, change the "Location of YUI library" to http://yui.yahooapis.com/2.5.2 and voila!

This fix was tested with Drupal 6.13, Yahoo YUI module 6.x-1.1-rc2, and Yahoo Rich Text Editor module 6.x-2.33.

Reply

By submitting this form, you accept the Mollom privacy policy.