| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"version": "0.5.6", |
| 5 |
"name": "tableberg/table", |
| 6 |
"title": "Tableberg", |
| 7 |
"category": "design", |
| 8 |
"description": "Table Block By Tableberg - Advanced Table Block for Block Editor", |
| 9 |
"keywords": [ |
| 10 |
"table", |
| 11 |
"tableberg", |
| 12 |
"cell", |
| 13 |
"row", |
| 14 |
"column" |
| 15 |
], |
| 16 |
"allowedBlocks": [ |
| 17 |
"tableberg/cell" |
| 18 |
], |
| 19 |
"supports": { |
| 20 |
"html": false |
| 21 |
}, |
| 22 |
"attributes": { |
| 23 |
"version": { |
| 24 |
"type": "string", |
| 25 |
"default": "" |
| 26 |
}, |
| 27 |
"rows": { |
| 28 |
"type": "number", |
| 29 |
"default": 2 |
| 30 |
}, |
| 31 |
"cols": { |
| 32 |
"type": "number", |
| 33 |
"default": 2 |
| 34 |
}, |
| 35 |
"cells": { |
| 36 |
"type": "number", |
| 37 |
"default": 0 |
| 38 |
}, |
| 39 |
"fixedColWidth": { |
| 40 |
"type": "boolean", |
| 41 |
"default": true |
| 42 |
}, |
| 43 |
"colWidths": { |
| 44 |
"type": "array", |
| 45 |
"default": [], |
| 46 |
"_comment": "REMOVE THIS IN FUTURE" |
| 47 |
}, |
| 48 |
"rowHeights": { |
| 49 |
"type": "array", |
| 50 |
"default": [], |
| 51 |
"_comment": "REMOVE THIS IN FUTURE" |
| 52 |
}, |
| 53 |
"colStyles": { |
| 54 |
"type": "object", |
| 55 |
"default": {} |
| 56 |
}, |
| 57 |
"rowStyles": { |
| 58 |
"type": "object", |
| 59 |
"default": {} |
| 60 |
}, |
| 61 |
"hasTableCreated": { |
| 62 |
"type": "boolean", |
| 63 |
"default": false |
| 64 |
}, |
| 65 |
"cellPadding": { |
| 66 |
"type": "object", |
| 67 |
"default": {} |
| 68 |
}, |
| 69 |
"cellSpacing": { |
| 70 |
"type": "object", |
| 71 |
"default": {} |
| 72 |
}, |
| 73 |
"enableTableHeader": { |
| 74 |
"type": "string", |
| 75 |
"default": "" |
| 76 |
}, |
| 77 |
"enableTableFooter": { |
| 78 |
"type": "string", |
| 79 |
"default": "" |
| 80 |
}, |
| 81 |
"tableWidth": { |
| 82 |
"type": "string", |
| 83 |
"default": "" |
| 84 |
}, |
| 85 |
"tableAlignment": { |
| 86 |
"type": "string", |
| 87 |
"default": "center" |
| 88 |
}, |
| 89 |
"blockSpacing": { |
| 90 |
"type": "string", |
| 91 |
"default": null |
| 92 |
}, |
| 93 |
"headerBackgroundColor": { |
| 94 |
"type": "string", |
| 95 |
"default": null |
| 96 |
}, |
| 97 |
"headerBackgroundGradient": { |
| 98 |
"type": "string", |
| 99 |
"default": null |
| 100 |
}, |
| 101 |
"evenRowBackgroundColor": { |
| 102 |
"type": "string", |
| 103 |
"default": null |
| 104 |
}, |
| 105 |
"evenRowBackgroundGradient": { |
| 106 |
"type": "string", |
| 107 |
"default": null |
| 108 |
}, |
| 109 |
"oddRowBackgroundColor": { |
| 110 |
"type": "string", |
| 111 |
"default": null |
| 112 |
}, |
| 113 |
"oddRowBackgroundGradient": { |
| 114 |
"type": "string", |
| 115 |
"default": null |
| 116 |
}, |
| 117 |
"footerBackgroundColor": { |
| 118 |
"type": "string", |
| 119 |
"default": null |
| 120 |
}, |
| 121 |
"footerBackgroundGradient": { |
| 122 |
"type": "string", |
| 123 |
"default": null |
| 124 |
}, |
| 125 |
"tableBorder": { |
| 126 |
"type": "object", |
| 127 |
"default": {} |
| 128 |
}, |
| 129 |
"tableBorderRadius": { |
| 130 |
"type": "object", |
| 131 |
"default": {} |
| 132 |
}, |
| 133 |
"innerBorder": { |
| 134 |
"type": "object", |
| 135 |
"default": { |
| 136 |
"color": "#000000", |
| 137 |
"width": "1px" |
| 138 |
} |
| 139 |
}, |
| 140 |
"hideCellOutsideBorders": { |
| 141 |
"type": "boolean", |
| 142 |
"default": false |
| 143 |
}, |
| 144 |
"enableInnerBorder": { |
| 145 |
"type": "boolean", |
| 146 |
"default": true |
| 147 |
}, |
| 148 |
"cellBorderRadius": { |
| 149 |
"type": "object", |
| 150 |
"default": {} |
| 151 |
}, |
| 152 |
"isExample": { |
| 153 |
"type": "boolean", |
| 154 |
"default": false |
| 155 |
}, |
| 156 |
"fontSize": { |
| 157 |
"type": "string", |
| 158 |
"default": "" |
| 159 |
}, |
| 160 |
"fontColor": { |
| 161 |
"type": "string", |
| 162 |
"default": "" |
| 163 |
}, |
| 164 |
"linkColor": { |
| 165 |
"type": "string", |
| 166 |
"default": "" |
| 167 |
}, |
| 168 |
"responsive": { |
| 169 |
"type": "object", |
| 170 |
"default": { |
| 171 |
"last": "primary", |
| 172 |
"breakpoints": {} |
| 173 |
} |
| 174 |
}, |
| 175 |
"stickyTopRow": { |
| 176 |
"type": "boolean", |
| 177 |
"default": false |
| 178 |
}, |
| 179 |
"stickyFirstCol": { |
| 180 |
"type": "boolean", |
| 181 |
"default": false |
| 182 |
}, |
| 183 |
"innerBorderType": { |
| 184 |
"type": "string", |
| 185 |
"default": "" |
| 186 |
}, |
| 187 |
"disableThemeStyle": { |
| 188 |
"type": "boolean", |
| 189 |
"default": false |
| 190 |
}, |
| 191 |
"search": { |
| 192 |
"type": "boolean", |
| 193 |
"default": false |
| 194 |
}, |
| 195 |
"searchPosition": { |
| 196 |
"type": "string", |
| 197 |
"default": "wide" |
| 198 |
}, |
| 199 |
"sort": { |
| 200 |
"type": "object", |
| 201 |
"default": {} |
| 202 |
} |
| 203 |
}, |
| 204 |
"example": { |
| 205 |
"attributes": { |
| 206 |
"isExample": true |
| 207 |
} |
| 208 |
}, |
| 209 |
"textdomain": "tableberg", |
| 210 |
"editorScript": "tableberg-script", |
| 211 |
"editorStyle": "tableberg-editor-style", |
| 212 |
"style": "tableberg-style" |
| 213 |
} |