2020-07-01 08:29:03 -04:00
|
|
|
{
|
2020-10-20 09:36:16 -04:00
|
|
|
"apiVersion": 2,
|
2020-07-01 08:29:03 -04:00
|
|
|
"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": {
|
2020-07-07 10:43:35 -04:00
|
|
|
"anchor": true,
|
2020-07-01 08:29:03 -04:00
|
|
|
"align": true
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-file-editor",
|
|
|
|
"style": "wp-block-file"
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|