- md5
- e40ea6b6acbd983981e0511176e69ecf
- sha1
- 4dbcd8b657e02194fdb0279f4eb12af1d40b3664
- sha256
- bffae65de720eb2b86257a88c48fdd6bfc36a6607ce7487505702e2ff35a82e8
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
{
"apiVersion": 2,
"name": "core/gallery",
"category": "media",
"attributes": {
"images": {
"type": "array",
"default": [],
"source": "query",
"selector": ".blocks-gallery-item",
"query": {
"url": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "src"
},
"fullUrl": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "data-full-url"
},
"link": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "data-link"
},
"alt": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "alt",
"default": ""
},
"id": {
"type": "string",
"source": "attribute",
"selector": "img",
"attribute": "data-id"
},
"caption": {
"type": "string",
"source": "html",
"selector": ".blocks-gallery-item__caption"
}
}
},
"ids": {
"type": "array",
"items": {
"type": "number"
},
"default": []
},
"columns": {
"type": "number",
"minimum": 1,
"maximum": 8
},
"caption": {
"type": "string",
"source": "html",
"selector": ".blocks-gallery-caption"
},
"imageCrop": {
"type": "boolean",
"default": true
},
"linkTo": {
"type": "string"
},
"sizeSlug": {
"type": "string",
"default": "large"
}
},
"supports": {
"anchor": true,
"align": true
},
"editorStyle": "wp-block-gallery-editor",
"style": "wp-block-gallery"
}
The same content is in 29 releases, WordPress 5.7-beta1 to 5.7.21. See them all, or every version of this file.