# gutenberg/8.5.1/build/block-library/blocks/file/block.json

Gutenberg, version 8.5.1. 43 lines.

- Page: https://pluginprobe.com/plugins/gutenberg/8.5.1/code/build/block-library/blocks/file/block.json
- Raw: https://pluginprobe.com/plugins/gutenberg/8.5.1/raw/build/block-library/blocks/file/block.json
- Modified: 2020-07-08T14:10:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/gutenberg/8.5.1/code/build/block-library/blocks/file/block.json#L10-L20`.

```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
	}
}

```
