O'Reilly logo

Drupal® 7 Bible by Brice Dunwoodie, Ric Shreves

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

Chapter 12. Formatting Content and Media

IN THIS CHAPTER

  • Understanding text formatting

  • Working with images

  • Working with other media files

  • Using WYSIWYG editors

Content on the Web has become increasingly rich and interactive. You or your authors will likely need to work with different forms of images, video, and, of course, rich text content. In all cases, the Drupal fabric of core and contributed modules comes to your aid.

In this chapter, I cover how you can manage text, rich text formats, and other media, and how—with the help of contributed modules—you can finely tune your authors' editing experience.

Understanding Text Formatting

You use Drupal's text formats to control the type of content that authors and commenters can enter into the system. In your standard Drupal install, the simplest form of text content is called Plain text, and it does not allow any HTML markup or formatting. On the other side of the spectrum you have the most complex text content called Full HTML; this format supports a broad range of HTML markup tags. The real power of Drupal text formats is that you can create or configure custom text formats that span the range and are designed specifically for your authoring and security needs.

Tip

Text formats are also called Input formats in various places in the system. You can understand these to be the same thing.

Forming a handy team, text filters work in combination with text formats, but they differ as they act on the submitted text content, changing how it is ultimately ...

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