| @@ -1,0 +1,52 @@ | ||
| 1 | +{ | |
| 2 | + "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | + "apiVersion": 3, | |
| 4 | + "name": "ablocks/table-cell", | |
| 5 | + "version": "0.1.0", | |
| 6 | + "title": "table-cell", | |
| 7 | + "category": "ablocks", | |
| 8 | + "description": "Create a fully customizable, responsive table. Supports multiple rows and columns", | |
| 9 | + "example": [], | |
| 10 | + "parent": [ | |
| 11 | + "ablocks/table" | |
| 12 | + ], | |
| 13 | + "supports": { | |
| 14 | + "html": true, | |
| 15 | + "anchor": true | |
| 16 | + }, | |
| 17 | + "textdomain": "ablocks", | |
| 18 | + "attributes": { | |
| 19 | + "block_id": { | |
| 20 | + "type": "string", | |
| 21 | + "default": "" | |
| 22 | + }, | |
| 23 | + "tagName": { | |
| 24 | + "type": "string", | |
| 25 | + "default": "td" | |
| 26 | + }, | |
| 27 | + "cellColor": { | |
| 28 | + "type": "string", | |
| 29 | + "default": "" | |
| 30 | + }, | |
| 31 | + "cellColorH": { | |
| 32 | + "type": "string", | |
| 33 | + "default": "" | |
| 34 | + }, | |
| 35 | + "rowSpan": { | |
| 36 | + "type": "string", | |
| 37 | + "default": "1" | |
| 38 | + }, | |
| 39 | + "colSpan": { | |
| 40 | + "type": "string", | |
| 41 | + "default": "1" | |
| 42 | + }, | |
| 43 | + "textAlignment": { | |
| 44 | + "type": "object", | |
| 45 | + "default": { | |
| 46 | + "value": "left", | |
| 47 | + "valueTablet": "", | |
| 48 | + "valueMobile": "" | |
| 49 | + } | |
| 50 | + } | |
| 51 | + } | |
| 52 | +} | |