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 follows:
Browse to the WYSIWYG module's configuration page at
admin/settings/wysiwyg
(Home | Administer | Site configuration).From the list of editors listed on the ensuing page, click on the Download link corresponding to the entry for CKEditor...