summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/page-list/block.json
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/page-list/block.json')
-rw-r--r--wp-includes/blocks/page-list/block.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/wp-includes/blocks/page-list/block.json b/wp-includes/blocks/page-list/block.json
new file mode 100644
index 0000000..7f4f2ce
--- /dev/null
+++ b/wp-includes/blocks/page-list/block.json
@@ -0,0 +1,54 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/page-list",
+ "title": "Page List",
+ "category": "widgets",
+ "description": "Display a list of all pages.",
+ "keywords": [ "menu", "navigation" ],
+ "textdomain": "default",
+ "attributes": {
+ "parentPageID": {
+ "type": "integer",
+ "default": 0
+ },
+ "isNested": {
+ "type": "boolean",
+ "default": false
+ }
+ },
+ "usesContext": [
+ "textColor",
+ "customTextColor",
+ "backgroundColor",
+ "customBackgroundColor",
+ "overlayTextColor",
+ "customOverlayTextColor",
+ "overlayBackgroundColor",
+ "customOverlayBackgroundColor",
+ "fontSize",
+ "customFontSize",
+ "showSubmenuIcon",
+ "style",
+ "openSubmenusOnClick"
+ ],
+ "supports": {
+ "reusable": false,
+ "html": false,
+ "typography": {
+ "fontSize": true,
+ "lineHeight": true,
+ "__experimentalFontFamily": true,
+ "__experimentalFontWeight": true,
+ "__experimentalFontStyle": true,
+ "__experimentalTextTransform": true,
+ "__experimentalTextDecoration": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true
+ }
+ }
+ },
+ "editorStyle": "wp-block-page-list-editor",
+ "style": "wp-block-page-list"
+}