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