- Timestamp:
- 04/25/2022 04:55:45 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/data/blocks/fixtures/core__gallery__columns.json
r46587 r53261 1 1 [ 2 { 3 "clientId": "_clientId_0", 4 "name": "core/gallery", 5 "isValid": true, 6 "attributes": { 7 "images": [ 8 { 9 "url": "https://cldup.com/uuUqE_dXzy.jpg", 10 "alt": "title", 11 "caption": "" 12 }, 13 { 14 "url": "http://google.com/hi.png", 15 "alt": "title", 16 "caption": "" 17 } 18 ], 19 "columns": 1, 20 "imageCrop": true, 21 "linkTo": "none" 22 }, 23 "innerBlocks": [], 24 "originalContent": "<ul class=\"wp-block-gallery columns-1 is-cropped\">\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n\t<li class=\"blocks-gallery-item\">\n\t\t<figure>\n\t\t\t<img src=\"http://google.com/hi.png\" alt=\"title\" />\n\t\t</figure>\n\t</li>\n</ul>" 25 } 2 { 3 "name": "core/gallery", 4 "isValid": true, 5 "attributes": { 6 "images": [], 7 "ids": [], 8 "shortCodeTransforms": [], 9 "caption": "", 10 "imageCrop": true, 11 "fixedHeight": true, 12 "linkTo": "none", 13 "sizeSlug": "large", 14 "allowResize": false, 15 "className": "columns-1", 16 "columns": 1 17 }, 18 "innerBlocks": [ 19 { 20 "name": "core/image", 21 "isValid": true, 22 "attributes": { 23 "url": "https://cldup.com/uuUqE_dXzy.jpg", 24 "alt": "Image gallery image", 25 "caption": "", 26 "sizeSlug": "large", 27 "linkDestination": "none" 28 }, 29 "innerBlocks": [] 30 }, 31 { 32 "name": "core/image", 33 "isValid": true, 34 "attributes": { 35 "url": "http://google.com/hi.png", 36 "alt": "Image gallery image", 37 "caption": "", 38 "sizeSlug": "large", 39 "linkDestination": "none" 40 }, 41 "innerBlocks": [] 42 } 43 ] 44 } 26 45 ]
Note: See TracChangeset
for help on using the changeset viewer.