← All changes
|
build/scripts/block-library/post-template/block.json
+15
-2
23.3.0
→
trunk
View file →
| @@ -13,9 +13,10 @@ | ||
| 13 | 13 | "displayLayout", |
| 14 | 14 | "templateSlug", |
| 15 | 15 | "previewPostType", |
| 16 | 16 | "enhancedPagination", |
| 17 | - "postType" | |
| 17 | + "postType", | |
| 18 | + "postId" | |
| 18 | 19 | ], |
| 19 | 20 | "supports": { |
| 20 | 21 | "anchor": true, |
| 21 | 22 | "reusable": false, |
| @@ -21,11 +22,22 @@ | ||
| 21 | 22 | "reusable": false, |
| 22 | 23 | "html": false, |
| 23 | 24 | "align": [ "wide", "full" ], |
| 24 | 25 | "layout": true, |
| 26 | + "background": { | |
| 27 | + "backgroundImage": true, | |
| 28 | + "backgroundSize": true, | |
| 29 | + "gradient": true, | |
| 30 | + "__experimentalDefaultControls": { | |
| 31 | + "backgroundImage": true, | |
| 32 | + "gradient": true | |
| 33 | + } | |
| 34 | + }, | |
| 25 | 35 | "color": { |
| 26 | 36 | "gradients": true, |
| 27 | 37 | "link": true, |
| 38 | + "heading": true, | |
| 39 | + "button": true, | |
| 28 | 40 | "__experimentalDefaultControls": { |
| 29 | 41 | "background": true, |
| 30 | 42 | "text": true |
| 31 | 43 | } |
| @@ -62,9 +74,10 @@ | ||
| 62 | 74 | "radius": true, |
| 63 | 75 | "color": true, |
| 64 | 76 | "width": true, |
| 65 | 77 | "style": true |
| 66 | - } | |
| 78 | + }, | |
| 79 | + "shadow": true | |
| 67 | 80 | }, |
| 68 | 81 | "style": "wp-block-post-template", |
| 69 | 82 | "editorStyle": "wp-block-post-template-editor" |
| 70 | 83 | } |