- md5
- 5de8e7a08238a058978de04051b134b3
- sha1
- 5ec1a84e23b866070c258a2bdaf267a264363688
- sha256
- 48a786e436ec6a9aae4496f96ece669da9fc82b5bcc53f6ffa667794e4f7f86c
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
{
"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
},
"viewScript": "file:./view.min.js",
"editorStyle": "wp-block-file-editor",
"style": "wp-block-file"
}
The same content is in 27 releases, WordPress 5.8-beta4 to 5.8.19. See them all, or every version of this file.