2021-05-19 11:09:27 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2021-05-19 11:09:27 -04:00
|
|
|
"apiVersion": 2,
|
|
|
|
"name": "core/post-excerpt",
|
|
|
|
"title": "Post Excerpt",
|
2021-06-22 06:00:50 -04:00
|
|
|
"category": "theme",
|
2021-05-19 11:09:27 -04:00
|
|
|
"description": "Display a post's excerpt.",
|
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"textAlign": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"moreText": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"showMoreOnNewLine": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
}
|
|
|
|
},
|
2021-06-15 04:52:30 -04:00
|
|
|
"usesContext": [ "postId", "postType", "queryId" ],
|
2021-05-19 11:09:27 -04:00
|
|
|
"supports": {
|
|
|
|
"html": false,
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
2022-04-12 11:12:47 -04:00
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true,
|
|
|
|
"link": true
|
|
|
|
}
|
2021-05-19 11:09:27 -04:00
|
|
|
},
|
2021-11-08 09:29:21 -05:00
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
|
|
|
"padding": true
|
|
|
|
},
|
2021-06-08 04:09:53 -04:00
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
2021-11-08 09:29:21 -05:00
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2021-06-08 04:09:53 -04:00
|
|
|
}
|
2021-05-19 11:09:27 -04:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-post-excerpt-editor",
|
|
|
|
"style": "wp-block-post-excerpt"
|
|
|
|
}
|