Table of contents
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.
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.



Leave a comment