2021-11-09 03:17:17 +01:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2021-11-09 03:17:17 +01:00
|
|
|
"apiVersion": 2,
|
|
|
|
"name": "core/post-navigation-link",
|
|
|
|
"title": "Post Navigation Link",
|
|
|
|
"category": "theme",
|
|
|
|
"description": "Displays the next or previous post link that is adjacent to the current post.",
|
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"textAlign": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "next"
|
|
|
|
},
|
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"showTitle": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"linkLabel": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
2023-02-07 08:04:52 +01:00
|
|
|
},
|
|
|
|
"arrow": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "none"
|
2021-11-09 03:17:17 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"reusable": false,
|
|
|
|
"html": false,
|
2022-09-20 17:43:29 +02:00
|
|
|
"color": {
|
|
|
|
"link": true
|
|
|
|
},
|
2021-11-09 03:17:17 +01:00
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
2022-09-20 17:43:29 +02:00
|
|
|
"__experimentalFontFamily": true,
|
2021-11-09 03:17:17 +01:00
|
|
|
"__experimentalFontWeight": true,
|
2022-09-20 17:43:29 +02:00
|
|
|
"__experimentalFontStyle": true,
|
2021-11-09 03:17:17 +01:00
|
|
|
"__experimentalTextTransform": true,
|
2022-09-20 17:43:29 +02:00
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
2021-11-09 03:17:17 +01:00
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
|
|
|
}
|
2023-02-07 08:04:52 +01:00
|
|
|
},
|
|
|
|
"style": "wp-block-post-navigation-link"
|
2021-11-09 03:17:17 +01:00
|
|
|
}
|