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

Gutenberg, version 10.1.0. 46 lines.

- Page: https://pluginprobe.com/plugins/gutenberg/10.1.0/code/build/block-library/blocks/file/block.json
- Raw: https://pluginprobe.com/plugins/gutenberg/10.1.0/raw/build/block-library/blocks/file/block.json
- Modified: 2020-12-23T10:59:44+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/10.1.0/code/build/block-library/blocks/file/block.json#L10-L20`.

```json
{
	"apiVersion": 2,
	"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
	},
	"editorStyle": "wp-block-file-editor",
	"style": "wp-block-file"
}

```
