2021-05-19 17:09:27 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2021-05-19 17:09:27 +02:00
|
|
|
"apiVersion": 2,
|
|
|
|
"name": "core/post-date",
|
|
|
|
"title": "Post Date",
|
2021-06-22 12:00:50 +02:00
|
|
|
"category": "theme",
|
2021-05-19 17:09:27 +02:00
|
|
|
"description": "Add the date of this post.",
|
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"textAlign": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"format": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"isLink": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
}
|
|
|
|
},
|
2021-06-15 10:52:30 +02:00
|
|
|
"usesContext": [ "postId", "postType", "queryId" ],
|
2021-05-19 17:09:27 +02:00
|
|
|
"supports": {
|
|
|
|
"html": false,
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
2022-04-12 17:12:47 +02:00
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true,
|
|
|
|
"link": true
|
|
|
|
}
|
2021-05-19 17:09:27 +02:00
|
|
|
},
|
2021-06-08 10:09:53 +02:00
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
2021-11-08 15:29:21 +01:00
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2021-06-08 10:09:53 +02:00
|
|
|
}
|
2021-05-19 17:09:27 +02:00
|
|
|
}
|
|
|
|
}
|