[go: up one dir, main page]

Developer
Documentation
Resources
Get Support
Sign in
Developer
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Developer
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Oct 3, 2025

Node - paragraph

Purpose

The paragraph node is a container for a block of formatted text delineated by a carriage return.
It's the equivalent of the HTML <p> tag.

Type

paragraph is a top-level block node.

Example

1
2
{
  "type": "paragraph",
  "content": [
    {
      "type": "text",
      "text": "Hello world"
    }
  ]
}

Fields

NameRequiredTypeValue
typestring"paragraph"
contentarrayArray of zero or more nodes.
attrsobject
attrs.localIdstringAn ID to uniquely identify this node within the document.

Content

content can take any inline mode.

Rate this page: