Helping site owners learn WordPress since 2012 · (844) WP-TUTOR
Block Editor

Adding Preformatted Text to Gutenberg- WordPress 5.0

Learn how to add preformatted text in the WordPress Gutenberg editor with the Preformatted block, which preserves your spacing, tabs, and styling.

WT
WP Tutoring TeamWordPress Instructors
Updated Oct 11, 2021
1 min read

A preformatted block allows you to add text that respects your spacing and tabs, and also allows particular styling.

Step 1-  Hover your mouse over the Add Block icon (the plus sign in the upper left hand corner within the Gutenberg editor). Scroll to Formatting. Select Preformatting.

Adding Preformatted Text to Gutenberg

Step 2- The Preformatted block will appear. You’ll see a text editor that allows you to enter the text you would like to use. There’s also a sub menu above the block that allows you to format your text. From the block menu on the right, you can add any class names under the advanced section.

WT

WP Tutoring Team

WordPress Instructors

We’ve been teaching WordPress to individuals and businesses since 2013 — through step-by-step tutorials and 1-on-1 tutoring sessions.

Leave a comment

Comments are reviewed before they appear.

Get our free WordPress starter guide

Join thousands of site owners and get step-by-step WordPress tutorials in your inbox, plus printable cheat sheets.

Beginner-friendly, no jargon
Printable cheat sheets & checklists
Unsubscribe anytime

Request your session

We’ll reply quickly — usually the same business day.

By using this form you agree with the storage and handling of your data by this site.