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-excerpt",
|
|
|
|
"title": "Post Excerpt",
|
2021-06-22 12:00:50 +02:00
|
|
|
"category": "theme",
|
2021-05-19 17:09:27 +02:00
|
|
|
"description": "Display a post's excerpt.",
|
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"textAlign": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"moreText": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"showMoreOnNewLine": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
}
|
|
|
|
},
|
2021-06-15 10:52:30 +02:00
|
|
|
"usesContext": [ "postId", "postType", "queryId" ],
|
2021-05-19 17:09:27 +02:00
|
|
|
"supports": {
|
2023-02-07 08:04:52 +01:00
|
|
|
"anchor": true,
|
2021-05-19 17:09:27 +02:00
|
|
|
"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-11-08 15:29:21 +01:00
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
|
|
|
"padding": true
|
|
|
|
},
|
2021-06-08 10:09:53 +02:00
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
2021-11-08 15:29:21 +01:00
|
|
|
"lineHeight": true,
|
2022-09-20 17:43:29 +02:00
|
|
|
"__experimentalFontFamily": true,
|
2021-11-08 15:29:21 +01:00
|
|
|
"__experimentalFontWeight": true,
|
2022-09-20 17:43:29 +02:00
|
|
|
"__experimentalFontStyle": true,
|
2021-11-08 15:29:21 +01:00
|
|
|
"__experimentalTextTransform": true,
|
2022-09-20 17:43:29 +02:00
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
2021-11-08 15:29:21 +01:00
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2021-06-08 10:09:53 +02:00
|
|
|
}
|
2021-05-19 17:09:27 +02:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-post-excerpt-editor",
|
|
|
|
"style": "wp-block-post-excerpt"
|
|
|
|
}
|