mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-10 06:38:42 +02:00
It contains several changes in addition to regular update to WordPress packages: - All newly exposed blocks are now registered on the server. - Dutone block support was added. - Border block support was updated. - New shared function `construct_wp_query_args` was added for the family of Query blocks - it might need some further work. Props youknowriad. See #52991. Built from https://develop.svn.wordpress.org/trunk@50929 git-svn-id: http://core.svn.wordpress.org/trunk@50538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
51 lines
982 B
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"
|
|
}
|