Paragraph

1–2 minutes
86 words

For creating and formatting plain text content,

Paragraph exaple
  • Paragraph can be justified full or wide

Block example

Paragraph example

Paragraph with link

theme.json

Paragraph

  • core/paragraph
CategoryConfiguration
Colorbackground: Available
gradient: Available
text: Available
link: Available
TypographyfontSize: Available
lineHeight: Available
fitText: Available
textAlign: Available
textColumns: Available
textIndent: Available
Spacingpadding: Available
margin: Available
blockGap: —
Borderborder: Available
radius: Available
Filterduotone: Available
ShadowAvailable
CssAvailable

Json example

"core/paragraph": {
    "color": {
        "text": "var(--wp--preset--color--on-surface)"
    },
    "elements": {
        "link": {
            ":hover": {
                "color": {
                    "text": "var(--wp--preset--color--tertiary-container)"
                }
            },
            "color": {
                "text": "var(--wp--preset--color--tertiary)"
            }
        }
    }
}