WordPress/wp-includes/blocks/pullquote/block.json

51 lines
982 B
JSON

{
"apiVersion": 2,
"name": "core/pullquote",
"title": "Pullquote",
"category": "text",
"description": "Give special visual emphasis to a quote from your text.",
"textdomain": "default",
"attributes": {
"value": {
"type": "string",
"source": "html",
"selector": "blockquote",
"multiline": "p",
"__experimentalRole": "content"
},
"citation": {
"type": "string",
"source": "html",
"selector": "cite",
"default": "",
"__experimentalRole": "content"
},
"mainColor": {
"type": "string"
},
"customMainColor": {
"type": "string"
},
"textColor": {
"type": "string"
},
"customTextColor": {
"type": "string"
}
},
"supports": {
"anchor": true,
"align": [ "left", "right", "wide", "full" ]
},
"styles": [
{
"name": "default",
"label": "Default",
"isDefault": true
},
{ "name": "solid-color", "label": "Solid color" }
],
"editorStyle": "wp-block-pullquote-editor",
"style": "wp-block-pullquote"
}