build/scripts/block-library/column
block.json
1.6 KB
10 months ago
block.json in Gutenberg 23.2.0, at build/scripts/block-library/column/block.json
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "core/column", |
| 5 | "title": "Column", |
| 6 | "category": "design", |
| 7 | "parent": [ "core/columns" ], |
| 8 | "description": "A single column within a columns block.", |
| 9 | "textdomain": "default", |
| 10 | "attributes": { |
| 11 | "verticalAlignment": { |
| 12 | "type": "string" |
| 13 | }, |
| 14 | "width": { |
| 15 | "type": "string" |
| 16 | }, |
| 17 | "templateLock": { |
| 18 | "type": [ "string", "boolean" ], |
| 19 | "enum": [ "all", "insert", "contentOnly", false ] |
| 20 | } |
| 21 | }, |
| 22 | "supports": { |
| 23 | "__experimentalOnEnter": true, |
| 24 | "anchor": true, |
| 25 | "reusable": false, |
| 26 | "html": false, |
| 27 | "color": { |
| 28 | "gradients": true, |
| 29 | "heading": true, |
| 30 | "button": true, |
| 31 | "link": true, |
| 32 | "__experimentalDefaultControls": { |
| 33 | "background": true, |
| 34 | "text": true |
| 35 | } |
| 36 | }, |
| 37 | "shadow": true, |
| 38 | "spacing": { |
| 39 | "blockGap": true, |
| 40 | "padding": true, |
| 41 | "__experimentalDefaultControls": { |
| 42 | "padding": true, |
| 43 | "blockGap": true |
| 44 | } |
| 45 | }, |
| 46 | "__experimentalBorder": { |
| 47 | "color": true, |
| 48 | "radius": true, |
| 49 | "style": true, |
| 50 | "width": true, |
| 51 | "__experimentalDefaultControls": { |
| 52 | "color": true, |
| 53 | "radius": true, |
| 54 | "style": true, |
| 55 | "width": true |
| 56 | } |
| 57 | }, |
| 58 | "typography": { |
| 59 | "fontSize": true, |
| 60 | "lineHeight": true, |
| 61 | "__experimentalFontFamily": true, |
| 62 | "__experimentalFontWeight": true, |
| 63 | "__experimentalFontStyle": true, |
| 64 | "__experimentalTextTransform": true, |
| 65 | "__experimentalTextDecoration": true, |
| 66 | "__experimentalLetterSpacing": true, |
| 67 | "__experimentalDefaultControls": { |
| 68 | "fontSize": true |
| 69 | } |
| 70 | }, |
| 71 | "layout": true, |
| 72 | "interactivity": { |
| 73 | "clientNavigation": true |
| 74 | }, |
| 75 | "allowedBlocks": true |
| 76 | } |
| 77 | } |
| 78 |