O'Reilly logo

Drupal 6 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Replacing Drupal's textareas with a WYSIWYG HTML editor

WYSIWYG or What You See Is What You Get editors are a common requirement on most Drupal sites and ease HTML input, styling, and other potentially involved tasks for contributors to the site. In this recipe, we will be looking at replacing Drupal textareas with a popular WYSIWYG editor named CKEditor.

Getting ready

We will be using the WYSIWYG module which can be downloaded from http://drupal.org/project/wysiwyg.

How to do it...

The WYSIWYG module is effectively a Drupal wrapper that supports a multitude of third-party editors. It can be downloaded and installed just like any other module. Once this is done, we will need to enable one of the available third-party editors—in this case, CKEditor—as ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required