Give special visual emphasis to a quote from your text.
Attributes
Defined via the attributes property in block.json.
| Attribute | Type | Default | Description |
|---|---|---|---|
value |
rich-text |
— | Source: rich-text. Selector: p. Role: content |
citation |
rich-text |
— | Source: rich-text. Selector: cite. Role: content |
Supports
Defined via the supports property in block.json.
anchor:truealign:"left","right","wide","full"background:backgroundImage:truebackgroundSize:truegradient:true
color:gradients:truebackground:truelink:true
dimensions:minHeight:true
spacing:margin:truepadding:true
typography:fontSize:truelineHeight:truetextAlign:true
interactivity:clientNavigation:true
Block Markup
This is a static block. The markup is saved directly in the post content.
<!-- wp:core/pullquote -->
<figure class="wp-block-pullquote">
<blockquote>
<p>Testing pullquote block...</p><cite>...with a caption</cite>
</blockquote>
</figure>
<!-- /wp:core/pullquote -->
Source
- block.json (reference)
- Source directory — browse
edit.js,save.js,index.php, and more.