--- a/wp/wp-includes/blocks/table/block.json Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/blocks/table/block.json Wed Sep 21 18:19:35 2022 +0200
@@ -1,14 +1,15 @@
{
+ "apiVersion": 2,
"name": "core/table",
+ "title": "Table",
"category": "text",
+ "description": "Insert a table — perfect for sharing charts and data.",
+ "textdomain": "default",
"attributes": {
"hasFixedLayout": {
"type": "boolean",
"default": false
},
- "backgroundColor": {
- "type": "string"
- },
"caption": {
"type": "string",
"source": "html",
@@ -123,6 +124,27 @@
},
"supports": {
"anchor": true,
- "align": true
- }
+ "align": true,
+ "color": {
+ "__experimentalSkipSerialization": true,
+ "gradients": true
+ },
+ "__experimentalBorder": {
+ "__experimentalSkipSerialization": true,
+ "color": true,
+ "style": true,
+ "width": true
+ },
+ "__experimentalSelector": ".wp-block-table > table"
+ },
+ "styles": [
+ {
+ "name": "regular",
+ "label": "Default",
+ "isDefault": true
+ },
+ { "name": "stripes", "label": "Stripes" }
+ ],
+ "editorStyle": "wp-block-table-editor",
+ "style": "wp-block-table"
}