> 30f7226d9a first commit 2 年之前 tailwind-color-palette 30f7226d9a first commit 2 年之前 tailwindcss 30f7226d9a first commit 2 年之前 thenify 30f7226d9a first commit 2 年之前 thenify-all 30f7226d9a first commit 2 年之前 to-regex-range 30f7226d9a first commit 2 年之前 tr46 30f7226d9a first commit 2 年之前 ts-interface-checker 30f7226d9a first commit 2 年之前 uglify-js 30f7226d9a first commit 2 年之前 underscore 30f7226d9a first commit 2 年之前 upper-case 30f7226d9a first commit 2 年之前 util-deprecate 30f7226d9a first commit 2 年之前 valid-data-url 30f7226d9a first commit 2 年之前 web-resource-inliner 30f7226d9a first commit 2 年之前 webidl-conversions 30f7226d9a first commit 2 年之前 whatwg-url 30f7226d9a first commit 2 年之前 wrap-ansi 30f7226d9a first commit 2 年之前 wrappy 30f7226d9a first commit 2 年之前 y18n 30f7226d9a first commit 2 年之前 yallist 30f7226d9a first commit 2 年之前 yaml 30f7226d9a first commit 2 年之前 yargs 30f7226d9a first commit 2 年之前 yargs-parser 30f7226d9a first commit 2 年之前 .yarn-integrity 30f7226d9a first commit 2 年之前 tum/whitesports - Gogs: Simplico Git Service

Нет описания

block.json 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "apiVersion": 2,
  3. "name": "core/file",
  4. "title": "File",
  5. "category": "media",
  6. "description": "Add a link to a downloadable file.",
  7. "keywords": [ "document", "pdf", "download" ],
  8. "textdomain": "default",
  9. "attributes": {
  10. "id": {
  11. "type": "number"
  12. },
  13. "href": {
  14. "type": "string"
  15. },
  16. "fileName": {
  17. "type": "string",
  18. "source": "html",
  19. "selector": "a:not([download])"
  20. },
  21. "textLinkHref": {
  22. "type": "string",
  23. "source": "attribute",
  24. "selector": "a:not([download])",
  25. "attribute": "href"
  26. },
  27. "textLinkTarget": {
  28. "type": "string",
  29. "source": "attribute",
  30. "selector": "a:not([download])",
  31. "attribute": "target"
  32. },
  33. "showDownloadButton": {
  34. "type": "boolean",
  35. "default": true
  36. },
  37. "downloadButtonText": {
  38. "type": "string",
  39. "source": "html",
  40. "selector": "a[download]"
  41. },
  42. "displayPreview": {
  43. "type": "boolean"
  44. },
  45. "previewHeight": {
  46. "type": "number",
  47. "default": 600
  48. }
  49. },
  50. "supports": {
  51. "anchor": true,
  52. "align": true
  53. },
  54. "viewScript": "file:./view.min.js",
  55. "editorStyle": "wp-block-file-editor",
  56. "style": "wp-block-file"
  57. }