mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
c3ea09ebb8
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
44 lines
800 B
JSON
44 lines
800 B
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/post-title",
|
|
"title": "Post Title",
|
|
"category": "design",
|
|
"description": "Displays the title of a post, page, or any other content-type.",
|
|
"textdomain": "default",
|
|
"usesContext": [ "postId", "postType" ],
|
|
"attributes": {
|
|
"textAlign": {
|
|
"type": "string"
|
|
},
|
|
"level": {
|
|
"type": "number",
|
|
"default": 2
|
|
},
|
|
"isLink": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"rel": {
|
|
"type": "string",
|
|
"attribute": "rel",
|
|
"default": ""
|
|
},
|
|
"linkTarget": {
|
|
"type": "string",
|
|
"default": "_self"
|
|
}
|
|
},
|
|
"supports": {
|
|
"align": [ "wide", "full" ],
|
|
"html": false,
|
|
"color": {
|
|
"gradients": true,
|
|
"link": true
|
|
},
|
|
"fontSize": true,
|
|
"lineHeight": true,
|
|
"__experimentalFontFamily": true
|
|
},
|
|
"style": "wp-block-post-title"
|
|
}
|