at path:
ROOT
/
wp-includes
/
blocks
/
gallery
/
block.json
run:
R
W
Run
block.json
2.63 KB
2024-02-06 14:00:13
R
W
Run
Delete
Rename
editor-rtl.css
3.58 KB
2024-02-06 14:00:13
R
W
Run
Delete
Rename
editor-rtl.min.css
3.24 KB
2024-02-06 14:00:13
R
W
Run
Delete
Rename
editor.css
3.58 KB
2024-02-06 14:00:13
R
W
Run
Delete
Rename
editor.min.css
3.24 KB
2024-02-06 14:00:13
R
W
Run
Delete
Rename
style-rtl.css
14.39 KB
2024-02-06 14:00:13
R
W
Run
Delete
Rename
style-rtl.min.css
13.77 KB
2024-02-06 14:00:13
R
W
Run
Delete
Rename
style.css
14.4 KB
2024-02-06 14:00:13
R
W
Run
Delete
Rename
style.min.css
13.77 KB
2024-02-06 14:00:13
R
W
Run
Delete
Rename
theme-rtl.css
150 By
2023-07-06 17:58:08
R
W
Run
Delete
Rename
theme-rtl.min.css
133 By
2021-11-08 14:29:20
R
W
Run
Delete
Rename
theme.css
150 By
2023-07-06 17:58:08
R
W
Run
Delete
Rename
theme.min.css
133 By
2021-11-08 14:29:20
R
W
Run
Delete
Rename
error_log
up
📄
block.json
Save
{ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "core/gallery", "title": "Gallery", "category": "media", "description": "Display multiple images in a rich gallery.", "keywords": [ "images", "photos" ], "textdomain": "default", "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": [] }, "shortCodeTransforms": { "type": "array", "items": { "type": "object" }, "default": [] }, "columns": { "type": "number", "minimum": 1, "maximum": 8 }, "caption": { "type": "string", "source": "html", "selector": ".blocks-gallery-caption" }, "imageCrop": { "type": "boolean", "default": true }, "fixedHeight": { "type": "boolean", "default": true }, "linkTarget": { "type": "string" }, "linkTo": { "type": "string" }, "sizeSlug": { "type": "string", "default": "large" }, "allowResize": { "type": "boolean", "default": false } }, "providesContext": { "allowResize": "allowResize", "imageCrop": "imageCrop", "fixedHeight": "fixedHeight" }, "supports": { "anchor": true, "align": true, "html": false, "units": [ "px", "em", "rem", "vh", "vw" ], "spacing": { "margin": true, "padding": true, "blockGap": [ "horizontal", "vertical" ], "__experimentalSkipSerialization": [ "blockGap" ], "__experimentalDefaultControls": { "blockGap": true, "margin": false, "padding": false } }, "color": { "text": false, "background": true, "gradients": true }, "layout": { "allowSwitching": false, "allowInheriting": false, "allowEditing": false, "default": { "type": "flex" } } }, "editorStyle": "wp-block-gallery-editor", "style": "wp-block-gallery" }