CoreFiles by mySites.guru
block.json56 lines, 1,074 bytes, from wordpress-5.8-beta3.zip
Raw History Compare with 5.8-beta2
md5
7f5ce3906ce7b9253d8b68b4e0b097c3
sha1
1dfe53989eb18f6e6038f3c5571bc197a0ec8450
sha256
0c584f9a3f193a730101028885d09d2e3abe496320f4f3a1f059a5723a55ecf7
{
	"apiVersion": 2,
	"name": "core/file",
	"title": "File",
	"category": "media",
	"description": "Add a link to a downloadable file.",
	"keywords": [ "document", "pdf", "download" ],
	"textdomain": "default",
	"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]"
		},
		"displayPreview": {
			"type": "boolean"
		},
		"previewHeight": {
			"type": "number",
			"default": 600
		}
	},
	"supports": {
		"anchor": true,
		"align": true
	},
	"editorStyle": "wp-block-file-editor",
	"style": "wp-block-file"
}

The same content is in 3 releases, WordPress 5.8-beta1 to 5.8-beta3. See them all, or every version of this file.