WordPress/wp-includes/blocks/post-title/block.json

44 lines
800 B
JSON
Raw Normal View History

{
"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"
}