block.json in Tableberg – Simple Gutenberg Table Block 1.1.5, at src/blocks/row/block.json
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "tableberg/row", |
| 5 | "title": "Row", |
| 6 | "category": "design", |
| 7 | "description": "A row of cells within a Tableberg table.", |
| 8 | "parent": [ |
| 9 | "tableberg/table" |
| 10 | ], |
| 11 | "supports": { |
| 12 | "html": false, |
| 13 | "customClassName": false, |
| 14 | "reusable": false |
| 15 | }, |
| 16 | "attributes": { |
| 17 | "height": { |
| 18 | "type": "string" |
| 19 | }, |
| 20 | "backgroundColor": { |
| 21 | "type": "string" |
| 22 | }, |
| 23 | "border": { |
| 24 | "type": "object" |
| 25 | } |
| 26 | }, |
| 27 | "providesContext": { |
| 28 | "tableberg/rowBackgroundColor": "backgroundColor" |
| 29 | }, |
| 30 | "textdomain": "tableberg" |
| 31 | } |
| 32 |