Paragraph


Start with the basic building block of all narrative.

  • Name: core/paragraph
  • Category: text
  • API Version: 3
  • Block Type: Hybrid (static save + server enhancements)
  • Keywords: text

Attributes

Defined via the attributes property in block.json.

Attribute Type Default Description
content rich-text Source: rich-text. Selector: p. Role: content
dropCap boolean false
placeholder string
direction string Enum: ltr, rtl

Supports

Defined via the supports property in block.json.

CSS Selectors

Defined via the selectors property in block.json.

  • root: p
  • typography:
    • textIndent: .wp-block-paragraph + .wp-block-paragraph

Block Markup

This is a hybrid block. It saves static markup that the server may enhance during rendering.

<!-- wp:paragraph {"dropCap":false} -->
<!-- Content... -->
<!-- /wp:paragraph -->

Source