2020-07-01 14:29:03 +02:00
|
|
|
{
|
2020-10-20 15:36:16 +02:00
|
|
|
"apiVersion": 2,
|
2020-07-01 14:29:03 +02: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 16:43:35 +02:00
|
|
|
"anchor": true,
|
2020-07-01 14:29:03 +02:00
|
|
|
"align": true
|
2021-01-28 03:04:13 +01:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-file-editor",
|
|
|
|
"style": "wp-block-file"
|
2020-07-01 14:29:03 +02:00
|
|
|
}
|