2021-06-08 14:13:01 -04: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-06-08 14:13:01 -04:00
|
|
|
"name": "core/page-list",
|
|
|
|
"title": "Page List",
|
|
|
|
"category": "widgets",
|
2024-02-09 13:22:22 -05:00
|
|
|
"allowedBlocks": [ "core/page-list-item" ],
|
2021-06-08 14:13:01 -04:00
|
|
|
"description": "Display a list of all pages.",
|
|
|
|
"keywords": [ "menu", "navigation" ],
|
|
|
|
"textdomain": "default",
|
2023-02-07 02:04:52 -05:00
|
|
|
"attributes": {
|
|
|
|
"parentPageID": {
|
|
|
|
"type": "integer",
|
|
|
|
"default": 0
|
|
|
|
},
|
|
|
|
"isNested": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
}
|
|
|
|
},
|
2021-06-08 14:13:01 -04:00
|
|
|
"usesContext": [
|
|
|
|
"textColor",
|
|
|
|
"customTextColor",
|
|
|
|
"backgroundColor",
|
|
|
|
"customBackgroundColor",
|
2021-11-08 09:29:21 -05:00
|
|
|
"overlayTextColor",
|
|
|
|
"customOverlayTextColor",
|
|
|
|
"overlayBackgroundColor",
|
|
|
|
"customOverlayBackgroundColor",
|
2021-06-08 14:13:01 -04:00
|
|
|
"fontSize",
|
|
|
|
"customFontSize",
|
|
|
|
"showSubmenuIcon",
|
2021-11-08 09:29:21 -05:00
|
|
|
"style",
|
|
|
|
"openSubmenusOnClick"
|
2021-06-08 14:13:01 -04:00
|
|
|
],
|
|
|
|
"supports": {
|
|
|
|
"reusable": false,
|
2023-02-07 02:04:52 -05:00
|
|
|
"html": false,
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2024-02-09 13:22:22 -05:00
|
|
|
},
|
|
|
|
"interactivity": {
|
|
|
|
"clientNavigation": true
|
2023-02-07 02:04:52 -05:00
|
|
|
}
|
2021-06-08 14:13:01 -04:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-page-list-editor",
|
|
|
|
"style": "wp-block-page-list"
|
|
|
|
}
|