block.json in Gutenberg 12.1.0, at build/block-library/blocks/embed/block.json
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 2, |
| 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 | }, |
| 13 | "caption": { |
| 14 | "type": "string", |
| 15 | "source": "html", |
| 16 | "selector": "figcaption" |
| 17 | }, |
| 18 | "type": { |
| 19 | "type": "string" |
| 20 | }, |
| 21 | "providerNameSlug": { |
| 22 | "type": "string" |
| 23 | }, |
| 24 | "allowResponsive": { |
| 25 | "type": "boolean", |
| 26 | "default": true |
| 27 | }, |
| 28 | "responsive": { |
| 29 | "type": "boolean", |
| 30 | "default": false |
| 31 | }, |
| 32 | "previewable": { |
| 33 | "type": "boolean", |
| 34 | "default": true |
| 35 | } |
| 36 | }, |
| 37 | "supports": { |
| 38 | "align": true |
| 39 | }, |
| 40 | "editorStyle": "wp-block-embed-editor", |
| 41 | "style": "wp-block-embed" |
| 42 | } |
| 43 |