2021-11-08 21:17:17 -05:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 10:24:19 -04:00
|
|
|
"apiVersion": 3,
|
2021-11-08 21:17:17 -05:00
|
|
|
"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 02:04:52 -05:00
|
|
|
},
|
|
|
|
"arrow": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "none"
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"reusable": false,
|
|
|
|
"html": false,
|
2022-09-20 11:43:29 -04:00
|
|
|
"color": {
|
|
|
|
"link": true
|
|
|
|
},
|
2021-11-08 21:17:17 -05:00
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
2022-09-20 11:43:29 -04:00
|
|
|
"__experimentalFontFamily": true,
|
2021-11-08 21:17:17 -05:00
|
|
|
"__experimentalFontWeight": true,
|
2022-09-20 11:43:29 -04:00
|
|
|
"__experimentalFontStyle": true,
|
2021-11-08 21:17:17 -05:00
|
|
|
"__experimentalTextTransform": true,
|
2022-09-20 11:43:29 -04:00
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
2023-09-26 10:23:26 -04:00
|
|
|
"__experimentalWritingMode": true,
|
2021-11-08 21:17:17 -05:00
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
|
|
|
}
|
2023-02-07 02:04:52 -05:00
|
|
|
},
|
|
|
|
"style": "wp-block-post-navigation-link"
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|