Using the Text Editor
The Text Editor is used throughout Drupal to add and format content, including paragraphs, headings, lists, links, tables, and images. You’ll find it in the Body field and in many of the components available when building a page.
The editor includes a toolbar with common formatting options to help you organize and present content consistently across the website.
Adding Text
You can type directly into the Text Editor or copy and paste content from another source.
When pasting content from Word, Google Docs, or another website, use Paste as Plain Text to remove unwanted formatting.
- Mac: Shift + Command + V
- Windows: Ctrl + Shift + V
Pasting as plain text helps prevent inconsistent fonts, spacing, and other formatting issues. Once the text is added, use the editor’s toolbar to apply the appropriate formatting.
Formatting Text

The toolbar includes options for formatting text, creating headings, and applying predefined styles.
- Highlight the text you want to format.
- Select Bold or Italic from the toolbar to emphasize text.
- Use the Paragraph dropdown to apply headings or return text to standard paragraph formatting.
- Use the Styles dropdown to apply additional predefined text styles.
Headings
Headings help organize content and make pages easier to navigate for visitors and screen reader users.
Use the Paragraph dropdown to select the appropriate heading level. Headings should follow a logical hierarchy, beginning with the page title and continuing through the sections of the page.
Avoid skipping heading levels or choosing headings based solely on their appearance.
Text Styles
The Styles dropdown provides additional formatting options for text. Use these styles when a particular type of content needs a different visual treatment.
Use standard paragraph formatting for most body copy and apply additional styles sparingly to maintain a consistent appearance.
Adding and Removing Links

Use the Link button in the text editor toolbar to add, edit, or remove links.
- Highlight the text you want to link.
- Select the link button (chain icon) in the toolbar.
- Enter the destination URL and save your change.
To edit or remove an existing link, select the linked text and use the same button to update or unlink it.
For additional guidance, including link settings, accessibility, and best practices, see Adding and Styling Links.
Creating Lists

Use bulleted or numbered lists to organize related information and make content easier to scan.
- Place your cursor where you want the list to begin.
- Select the Bulleted List or Numbered List icon from the toolbar.
- Enter your first item and press Enter to add another.
- Use the Increase Indent and Decrease Indent buttons to create or adjust nested lists.
Use numbered lists for instructions or information that follows a specific sequence. Use bulleted lists when the order of items is not important.
Adding Tables

The Text Editor includes a Table button for inserting tables directly into your content.
Tables should be used to present structured information, not to control the layout of a page. For more advanced tables, consider using the dedicated Table component.
See Adding Tables for more information.
Adding Images and Media

Use the Media button in the toolbar to insert images or other supported media from Drupal’s Media Library.
You can select an existing media item or upload a new one when permitted. When uploading images, include appropriate alternative text to describe meaningful visual content.
See Adding Images for more information.
Editing HTML

The Source button allows you to view and edit the HTML behind the content in the Text Editor.
Editing HTML should only be attempted by users familiar with HTML markup. Incorrect changes can affect the appearance, accessibility, or functionality of the content.
For most editors, the standard toolbar provides everything needed to format page content.