Custom HTML Block

Add custom HTML code and preview it right in the WordPress editor.

Overview

With the custom HTML block, you can add any custom HTML code you'd like, and see a preview right in the editor.

Custom HTML block example

Use custom HTML...

  • for <iframe> embeds
  • to include custom <script> tags
  • to include content from a third-party source
  • to add custom classes or IDs to an HTML element

Options

There aren't any. Zilch. Nada.

Since you can do whatever you want to the HTML code, there are no additional options.

Other Gutenberg Blocks

Updated: March 4, 2018