Server IP : 172.67.157.199 / Your IP : 3.138.120.122 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/coblocks/dist/blocks/gallery-masonry/ |
Upload File : |
{ "apiVersion": 2, "$schema": "https://schemas.wp.org/trunk/block.json", "name": "coblocks/gallery-masonry", "title": "Masonry Gallery", "category": "media", "description": "Display multiple images in a masonry style gallery.", "keywords": [ "images", "photos", "lightbox" ], "textdomain": "coblocks", "attributes": { "images": { "type": "array", "default": [], "source": "query", "selector": ".coblocks-gallery--item", "query": { "url": { "source": "attribute", "selector": "img", "attribute": "src" }, "link": { "source": "attribute", "selector": "img", "attribute": "data-link" }, "imgLink": { "source": "attribute", "selector": "img", "attribute": "data-imglink" }, "alt": { "source": "attribute", "selector": "img", "attribute": "alt", "default": "" }, "id": { "source": "attribute", "selector": "img", "attribute": "data-id" }, "caption": { "type": "array", "source": "children", "selector": "figcaption" } } }, "caption": { "type": "string", "source": "html", "selector": ".blocks-gallery-caption" }, "filter": { "default": "none", "type": "string" }, "linkTarget": { "type": "string" }, "linkTo": { "type": "string" }, "radius": { "type": "number", "default": 0 }, "sizeSlug": { "type": "string", "default": "large" }, "allowResize": { "type": "boolean", "default": false } }, "example": { "innerBlocks": [ { "attributes": { "url": "https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg" }, "name": "core/image" }, { "attributes": { "url": "https://s.w.org/images/core/5.3/Windbuchencom.jpg" }, "name": "core/image" }, { "attributes": { "url": "https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg" }, "name": "core/image" }, { "attributes": { "url": "https://s.w.org/images/core/5.3/MtBlanc1.jpg" }, "name": "core/image" }, { "attributes": { "url": "https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg" }, "name": "core/image" } ] }, "providesContext": { "allowResize": "allowResize", "imageCrop": "imageCrop" }, "editorScript": [ "coblocks-5" ], "viewScript": [ "coblocks-lightbox" ], "supports": { "anchor": true, "gutter": { "default": "medium", "customDefault": 0.2 }, "align": [ "wide", "full" ], "coBlocksSpacing": true, "html": false } }