image_assist

TinyMCE for blogging in Drupal 6

TinyMCE is a great WYSIWYG editor for Drupal, but there are a couple things that it doesn't do right out of the box. First, you have to enable the Firefox spell checking. This seems like an obvious feature, and I'm not sure why it is turned off by default.

This topic was covered in the Drupal forums. To enable spell checking in Firefox, navigate to modules/tinymce/jscripts/tiny_mce/plugins/spellchecker/config.php and change the line $spellCheckerConfig['enabled'] = false; to true.

A second great feature that can be added to TinyMCE is integration with the Drupal module image assist. Specifically, this allows you to easily upload and add inline images through a button in TinyMCE.

If you don't have TinyMCE installed and running, here is a great tutorial on installing TinyMCE. In the tutorial, there is a section on adding image assist. These instructions are for Drupal 5, but are also valid for Drupal 6 except that the plugins folder for image assist has changed to modules/tinymce/tinymce/jscripts/tiny_mce/plugins/ Since there are several plugins folders in the tinymce directory structure, this can be confusing. An excellent resource is the INSTALL.txt file in the image assist directory.

When the image assist is working, you will see a camera in the toolbar. As you enter content in the TinyMCE window, you can place the cursor at the point you want to place an image and click the camera. This will bring up a window where you can choose an image that has been loaded previously or upload a new one. When you upload the images make sure you de-select the check box to promote the images to the frontpage.

Syndicate content