PHP 8.1.33
Preview: block.json Size: 730 B
/home/jambtst2015/www/wp-includes/blocks/file/block.json

{
	"name": "core/file",
	"category": "media",
	"attributes": {
		"id": {
			"type": "number"
		},
		"href": {
			"type": "string"
		},
		"fileName": {
			"type": "string",
			"source": "html",
			"selector": "a:not([download])"
		},
		"textLinkHref": {
			"type": "string",
			"source": "attribute",
			"selector": "a:not([download])",
			"attribute": "href"
		},
		"textLinkTarget": {
			"type": "string",
			"source": "attribute",
			"selector": "a:not([download])",
			"attribute": "target"
		},
		"showDownloadButton": {
			"type": "boolean",
			"default": true
		},
		"downloadButtonText": {
			"type": "string",
			"source": "html",
			"selector": "a[download]"
		}
	},
	"supports": {
		"anchor": true,
		"align": true
	}
}

Directory Contents

Dirs: 0 × Files: 1

Name Size Perms Modified Actions
730 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download

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