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.


Copyright ByRivers Tech LLC/ WP-Tutoring.Com All Rights Reserved.

  • Get Expert WordPress Help Right Now!

  • Please enter your phone number so we can fully discuss your needs.
  • This field is for validation purposes and should be left unchanged.