Classic

In this article


Use the classic WordPress editor.

  • Name: core/freeform
  • Category: text
  • API Version: 3
  • Block Type: Static (saved in post content)

Attributes

Defined via the attributes property in block.json.

Attribute Type Default Description
content string Source: raw

Supports

Defined via the supports property in block.json.

Block Markup

This is a static block. The markup is saved directly in the post content.

<!-- wp:core/freeform -->
Testing freeform block with some
<div class="wp-some-class">
    HTML <span style="color: red;">content</span>
</div>
<!-- /wp:core/freeform -->

Source