Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Essential Contributed Modules > Entering content with WYSIWYG HTML e...

7.4. Entering content with WYSIWYG HTML editors

A WYSIWYG editor allows people to create web-friendly text in a browser. It allows you to write text and apply HTML markup to the text you write, such as changing the font size and font color, displaying icons, and more. You most likely use an HTML editor when you write e-mails if you use a web-based service for e-mail, such as Gmail, Hotmail/Live, or Yahoo! The best module to use to install a WYSIWYG editor is the (drumroll, please) Wysiwyg module (http://drupal.org/project/wysiwyg). This module allows you to install any of a number of WYSIWYG editors, including TinyMCE, CKEditor, YUI (Yahoo!), and more.

WYSIWYG editors also allow you to embed images and videos from third-party sources such as Flickr and YouTube. If you want to upload images and videos to your own server using a WYSIWYG editor, I recommend using the IMCE module (http://drupal.org/project/imce) along with the IMCE Wysiwyg bridge (http://drupal.org/project/imce_wysiwyg). These two modules allow you to upload files directly to the server through a WYSIWYG editor, including the ability to resize images and saving to multiple directories. Unfortunately, a limited number of WYSIWYG editors are supported using this method, including CKEditor, FCKeditor, and TinyMCE. Another alternative to insert images and files into your WYSIWYG content area is to use the Insert module (drupal.org/project/insert). This module allows you to upload files using Drupal's built-in Field API and then insert those files into the content area. My recommendation is to play around with both modules and see which one is the best fit for your work style and preferences.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint