2021-06-08 20:13:01 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2021-06-08 20:13:01 +02:00
|
|
|
"apiVersion": 2,
|
|
|
|
"name": "core/page-list",
|
|
|
|
"title": "Page List",
|
|
|
|
"category": "widgets",
|
|
|
|
"description": "Display a list of all pages.",
|
|
|
|
"keywords": [ "menu", "navigation" ],
|
|
|
|
"textdomain": "default",
|
2021-11-08 15:29:21 +01:00
|
|
|
"attributes": {
|
2022-04-12 17:12:47 +02:00
|
|
|
"__unstableMaxPages": {
|
|
|
|
"type": "number"
|
|
|
|
}
|
2021-11-08 15:29:21 +01:00
|
|
|
},
|
2021-06-08 20:13:01 +02:00
|
|
|
"usesContext": [
|
|
|
|
"textColor",
|
|
|
|
"customTextColor",
|
|
|
|
"backgroundColor",
|
|
|
|
"customBackgroundColor",
|
2021-11-08 15:29:21 +01:00
|
|
|
"overlayTextColor",
|
|
|
|
"customOverlayTextColor",
|
|
|
|
"overlayBackgroundColor",
|
|
|
|
"customOverlayBackgroundColor",
|
2021-06-08 20:13:01 +02:00
|
|
|
"fontSize",
|
|
|
|
"customFontSize",
|
|
|
|
"showSubmenuIcon",
|
2021-11-08 15:29:21 +01:00
|
|
|
"style",
|
|
|
|
"openSubmenusOnClick"
|
2021-06-08 20:13:01 +02:00
|
|
|
],
|
|
|
|
"supports": {
|
|
|
|
"reusable": false,
|
|
|
|
"html": false
|
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-page-list-editor",
|
|
|
|
"style": "wp-block-page-list"
|
|
|
|
}
|