Text Blocks
Text blocks are the foundation of content creation in WordPress. These blocks handle all forms of written content, from simple paragraphs to complex code snippets.Paragraph
Name:core/paragraph
Description: Start with the basic building block of all narrative.
Attributes
content(rich-text) - The paragraph contentdropCap(boolean) - Enable decorative first letter, default: falseplaceholder(string) - Placeholder textdirection(string) - Text direction: “ltr” or “rtl”
Supports
- Align: wide, full
- Color: background, gradients, text, link
- Spacing: margin, padding
- Typography: fontSize, lineHeight, textAlign, textColumns, textIndent, fitText
- Splitting: true
- Interactivity: clientNavigation
Usage
Heading
Name:core/heading
Description: Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.
Attributes
content(rich-text) - The heading contentlevel(number) - Heading level (1-6), default: 2levelOptions(array) - Available heading levelsplaceholder(string) - Placeholder text
Supports
- Align: wide, full
- Color: background, gradients, text, link
- Spacing: margin, padding
- Typography: fontSize, lineHeight, textAlign, fitText
- Splitting: true
Usage
List
Name:core/list
Description: An organized collection of items displayed in a specific order.
Attributes
ordered(boolean) - Ordered (numbered) or unordered (bulleted)values- List items contenttype(string) - List marker typestart(number) - Starting number for ordered listsreversed(boolean) - Reverse numberingplaceholder(string) - Placeholder text
Supports
- Color: background, gradients, text, link
- Spacing: margin, padding
- Typography: fontSize, lineHeight
- Allowed Blocks: core/list-item
Usage
List Item
Name:core/list-item
Description: An individual item within a list.
Attributes
content(rich-text) - The list item contentplaceholder(string) - Placeholder text
Supports
- Parent: core/list
- Color: background, gradients, text, link
- Spacing: margin, padding
- Typography: fontSize, lineHeight
- Splitting: true
- Allowed Blocks: core/list (for nested lists)
Quote
Name:core/quote
Description: Give quoted text visual emphasis. “In quoting others, we cite ourselves.” — Julio Cortázar
Attributes
value(string) - Quote contentcitation(string) - Citation/attribution texttextAlign(string) - Text alignment
Supports
- Align: left, right, wide, full
- Background: backgroundImage, backgroundSize
- Color: background, gradients, text, link, heading
- Dimensions: minHeight
- Spacing: margin, padding, blockGap
- Typography: fontSize, lineHeight
Usage
Pullquote
Name:core/pullquote
Description: Give special visual emphasis to a quote from your text.
Attributes
value(string) - Quote contentcitation(string) - Citation/attribution texttextAlign(string) - Text alignment
Supports
- Align: left, right, wide, full
- Background: backgroundImage, backgroundSize
- Color: background, gradients, text, link
- Dimensions: minHeight
- Spacing: margin, padding
- Typography: fontSize, lineHeight
Code
Name:core/code
Description: Display code snippets that respect your spacing and tabs.
Attributes
content(string) - Code content
Supports
- Align: wide
- Color: background, gradients, text
- Spacing: margin, padding
- Typography: fontSize, lineHeight
Usage
Preformatted
Name:core/preformatted
Description: Add text that respects your spacing and tabs, and also allows styling.
Attributes
content(string) - Preformatted text content
Supports
- Color: background, gradients, text
- Spacing: margin, padding
- Typography: fontSize, lineHeight
Poetry (Verse)
Name:core/verse
Description: Insert poetry. Use special spacing formats. Or quote song lyrics.
Attributes
content(string) - Verse content
Supports
- Background: backgroundImage, backgroundSize
- Color: background, gradients, text, link
- Dimensions: minHeight
- Spacing: margin, padding
- Typography: fontSize, lineHeight, textAlign
Usage
Table
Name:core/table
Description: Create structured content in rows and columns to display information.
Attributes
head(array) - Table header rowsbody(array) - Table body rowsfoot(array) - Table footer rowscaption(string) - Table captionhasFixedLayout(boolean) - Use fixed table layout
Supports
- Align: left, center, right
- Color: background, gradients, text
- Spacing: margin, padding
- Typography: fontSize, lineHeight
Usage
Details
Name:core/details
Description: Hide and show additional content.
Attributes
summary(string) - Summary/toggle textshowContent(boolean) - Initially expanded statename(string) - Name attribute for accordion groupsplaceholder(string) - Placeholder text
Supports
- Align: wide, full
- Color: background, gradients, text, link
- Spacing: margin, padding, blockGap
- Typography: fontSize, lineHeight
Math
Name:core/math
Description: Display mathematical notation using LaTeX.
Attributes
latex(string) - LaTeX formulamathML(string) - MathML representation
Supports
- Color: background, gradients, text
- Spacing: margin, padding
- Typography: fontSize
Usage
Footnotes
Name:core/footnotes
Description: Display footnotes added to the page.
Supports
- Color: background, text, link
- Spacing: margin, padding
- Typography: fontSize, lineHeight
- Multiple: false (only one instance allowed)
- Inserter: false (automatically added)
Classic
Name:core/freeform
Description: Use the classic WordPress editor.
Attributes
content(string) - Classic editor content
Supports
- Limited - Preserves backward compatibility with classic editor content
Best Practices
- Use semantic headings - Start with H1 and nest properly (H1 → H2 → H3)
- Accessible content - Use proper heading hierarchy for screen readers
- Lists for organization - Use lists instead of manual bullet points
- Code formatting - Use Code block for inline code, Preformatted for multi-line
- Quote attribution - Always include citations in Quote and Pullquote blocks