PluginProbe
Gutenberg / 22.7.0
Gutenberg v22.7.0
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | build/scripts/block-library/gallery/block.json +3 -8 23.6.2 → 22.7.0 View file →
@@ -3,9 +3,9 @@
3 3 "apiVersion": 3,
4 4 "name": "core/gallery",
5 5 "title": "Gallery",
6 6 "category": "media",
7 - "usesContext": [ "galleryId", "postId", "postType" ],
7 + "usesContext": [ "galleryId" ],
8 8 "allowedBlocks": [ "core/image" ],
9 9 "description": "Display multiple images in a rich gallery.",
10 10 "keywords": [ "images", "photos" ],
11 11 "textdomain": "default",
@@ -60,11 +60,8 @@
60 60 "type": "number"
61 61 },
62 62 "default": []
63 63 },
64 - "dynamicContent": {
65 - "type": "object"
66 - },
67 64 "navigationButtonType": {
68 65 "type": "string",
69 66 "default": "icon",
70 67 "enum": [ "icon", "text", "both" ]
@@ -141,12 +138,10 @@
141 138 "units": [ "px", "em", "rem", "vh", "vw" ],
142 139 "spacing": {
143 140 "margin": true,
144 141 "padding": true,
145 - "blockGap": {
146 - "sides": [ "horizontal", "vertical" ],
147 - "__experimentalDefault": "var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) )"
148 - },
142 + "blockGap": [ "horizontal", "vertical" ],
143 + "__experimentalSkipSerialization": [ "blockGap" ],
149 144 "__experimentalDefaultControls": {
150 145 "blockGap": true,
151 146 "margin": false,
152 147 "padding": false