You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.0 KiB

1 year ago
  1. {
  2. "$schema": "https://schemas.wp.org/trunk/block.json",
  3. "apiVersion": 3,
  4. "name": "core/embed",
  5. "title": "Embed",
  6. "category": "embed",
  7. "description": "Add a block that displays content pulled from other sites, like Twitter or YouTube.",
  8. "textdomain": "default",
  9. "attributes": {
  10. "url": {
  11. "type": "string",
  12. "__experimentalRole": "content"
  13. },
  14. "caption": {
  15. "type": "string",
  16. "source": "html",
  17. "selector": "figcaption",
  18. "__experimentalRole": "content"
  19. },
  20. "type": {
  21. "type": "string",
  22. "__experimentalRole": "content"
  23. },
  24. "providerNameSlug": {
  25. "type": "string",
  26. "__experimentalRole": "content"
  27. },
  28. "allowResponsive": {
  29. "type": "boolean",
  30. "default": true
  31. },
  32. "responsive": {
  33. "type": "boolean",
  34. "default": false,
  35. "__experimentalRole": "content"
  36. },
  37. "previewable": {
  38. "type": "boolean",
  39. "default": true,
  40. "__experimentalRole": "content"
  41. }
  42. },
  43. "supports": {
  44. "align": true,
  45. "spacing": {
  46. "margin": true
  47. }
  48. },
  49. "editorStyle": "wp-block-embed-editor",
  50. "style": "wp-block-embed"
  51. }