PHP 8.2.31
Preview: block.json Size: 2.61 KB
/home/nshryvcy/himaltourism.com/wp-includes/blocks/gallery/block.json

{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"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",
			"default": [],
			"items": {
				"type": "object"
			}
		},
		"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
			}
		},
		"color": {
			"text": false,
			"background": true,
			"gradients": true
		},
		"__experimentalLayout": {
			"allowSwitching": false,
			"allowInheriting": false,
			"allowEditing": false,
			"default": {
				"type": "flex"
			}
		}
	},
	"editorStyle": "wp-block-gallery-editor",
	"style": "wp-block-gallery"
}

Directory Contents

Dirs: 0 × Files: 13

Name Size Perms Modified Actions
2.61 KB lrw-r--r-- 2022-09-21 02:13:30
Edit Download
3.68 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
3.33 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
3.68 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
3.33 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
14.44 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
13.80 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
14.45 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
13.81 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
150 B lrw-r--r-- 2023-04-04 05:42:19
Edit Download
133 B lrw-r--r-- 2021-11-09 01:59:22
Edit Download
150 B lrw-r--r-- 2023-04-04 05:42:19
Edit Download
133 B lrw-r--r-- 2021-11-09 01:59:22
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).