| @@ -11,12 +11,8 @@ | ||
| 11 | 11 | "attributes": { |
| 12 | 12 | "parentPageID": { |
| 13 | 13 | "type": "integer", |
| 14 | 14 | "default": 0 |
| 15 | - }, | |
| 16 | - "isNested": { | |
| 17 | - "type": "boolean", | |
| 18 | - "default": false | |
| 19 | 15 | } |
| 20 | 16 | }, |
| 21 | 17 | "usesContext": [ |
| 22 | 18 | "textColor", |
| @@ -31,9 +27,10 @@ | ||
| 31 | 27 | "customFontSize", |
| 32 | 28 | "showSubmenuIcon", |
| 33 | 29 | "style", |
| 34 | 30 | "openSubmenusOnClick", |
| 35 | - "submenuVisibility" | |
| 31 | + "submenuVisibility", | |
| 32 | + "core/isInsideSubmenu" | |
| 36 | 33 | ], |
| 37 | 34 | "supports": { |
| 38 | 35 | "anchor": true, |
| 39 | 36 | "reusable": false, |
| @@ -53,8 +50,17 @@ | ||
| 53 | 50 | }, |
| 54 | 51 | "interactivity": { |
| 55 | 52 | "clientNavigation": true |
| 56 | 53 | }, |
| 54 | + "background": { | |
| 55 | + "backgroundImage": true, | |
| 56 | + "backgroundSize": true, | |
| 57 | + "gradient": true, | |
| 58 | + "__experimentalDefaultControls": { | |
| 59 | + "backgroundImage": true, | |
| 60 | + "gradient": true | |
| 61 | + } | |
| 62 | + }, | |
| 57 | 63 | "color": { |
| 58 | 64 | "text": true, |
| 59 | 65 | "background": true, |
| 60 | 66 | "link": true, |
| @@ -78,8 +84,9 @@ | ||
| 78 | 84 | "padding": false, |
| 79 | 85 | "margin": false |
| 80 | 86 | } |
| 81 | 87 | }, |
| 88 | + "shadow": true, | |
| 82 | 89 | "contentRole": true |
| 83 | 90 | }, |
| 84 | 91 | "editorStyle": "wp-block-page-list-editor", |
| 85 | 92 | "style": "wp-block-page-list" |