| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"version": "0.0.2", |
| 5 |
"name": "tableberg/table", |
| 6 |
"title": "Tableberg", |
| 7 |
"category": "design", |
| 8 |
"icon": "table-row-after", |
| 9 |
"description": "Tableberg: table builder Gutenberg block", |
| 10 |
"supports": { |
| 11 |
"html": false |
| 12 |
}, |
| 13 |
"attributes": { |
| 14 |
"rows": { |
| 15 |
"type": "number", |
| 16 |
"default": 2 |
| 17 |
}, |
| 18 |
"hasTableCreated": { |
| 19 |
"type": "boolean", |
| 20 |
"default": false |
| 21 |
}, |
| 22 |
"cellPadding": { |
| 23 |
"type": "object", |
| 24 |
"default": {} |
| 25 |
}, |
| 26 |
"enableTableHeader": { |
| 27 |
"type": "boolean", |
| 28 |
"default": false |
| 29 |
}, |
| 30 |
"enableTableFooter": { |
| 31 |
"type": "boolean", |
| 32 |
"default": false |
| 33 |
}, |
| 34 |
"tableWidth": { |
| 35 |
"type": "string", |
| 36 |
"default": "" |
| 37 |
}, |
| 38 |
"tableAlignment": { |
| 39 |
"type": "string", |
| 40 |
"default": "center" |
| 41 |
}, |
| 42 |
"headerBackgroundColor": { |
| 43 |
"type": "string", |
| 44 |
"default": null |
| 45 |
}, |
| 46 |
"headerBackgroundGradient": { |
| 47 |
"type": "string", |
| 48 |
"default": null |
| 49 |
}, |
| 50 |
"evenRowBackgroundColor": { |
| 51 |
"type": "string", |
| 52 |
"default": null |
| 53 |
}, |
| 54 |
"evenRowBackgroundGradient": { |
| 55 |
"type": "string", |
| 56 |
"default": null |
| 57 |
}, |
| 58 |
"oddRowBackgroundColor": { |
| 59 |
"type": "string", |
| 60 |
"default": null |
| 61 |
}, |
| 62 |
"oddRowBackgroundGradient": { |
| 63 |
"type": "string", |
| 64 |
"default": null |
| 65 |
}, |
| 66 |
"footerBackgroundColor": { |
| 67 |
"type": "string", |
| 68 |
"default": null |
| 69 |
}, |
| 70 |
"footerBackgroundGradient": { |
| 71 |
"type": "string", |
| 72 |
"default": null |
| 73 |
}, |
| 74 |
"tableBorder": { |
| 75 |
"type": "object", |
| 76 |
"default": {} |
| 77 |
}, |
| 78 |
"innerBorder": { |
| 79 |
"type": "object", |
| 80 |
"default": {} |
| 81 |
}, |
| 82 |
"enableInnerBorder": { |
| 83 |
"type": "boolean", |
| 84 |
"default": true |
| 85 |
} |
| 86 |
}, |
| 87 |
"textdomain": "tableberg", |
| 88 |
"editorScript": "file:./index.tsx", |
| 89 |
"style": "file:./style-index.css" |
| 90 |
} |