equal
deleted
inserted
replaced
1 { |
1 { |
|
2 "apiVersion": 2, |
2 "name": "core/table", |
3 "name": "core/table", |
|
4 "title": "Table", |
3 "category": "text", |
5 "category": "text", |
|
6 "description": "Insert a table — perfect for sharing charts and data.", |
|
7 "textdomain": "default", |
4 "attributes": { |
8 "attributes": { |
5 "hasFixedLayout": { |
9 "hasFixedLayout": { |
6 "type": "boolean", |
10 "type": "boolean", |
7 "default": false |
11 "default": false |
8 }, |
|
9 "backgroundColor": { |
|
10 "type": "string" |
|
11 }, |
12 }, |
12 "caption": { |
13 "caption": { |
13 "type": "string", |
14 "type": "string", |
14 "source": "html", |
15 "source": "html", |
15 "selector": "figcaption", |
16 "selector": "figcaption", |
121 } |
122 } |
122 } |
123 } |
123 }, |
124 }, |
124 "supports": { |
125 "supports": { |
125 "anchor": true, |
126 "anchor": true, |
126 "align": true |
127 "align": true, |
127 } |
128 "color": { |
|
129 "__experimentalSkipSerialization": true, |
|
130 "gradients": true |
|
131 }, |
|
132 "__experimentalBorder": { |
|
133 "__experimentalSkipSerialization": true, |
|
134 "color": true, |
|
135 "style": true, |
|
136 "width": true |
|
137 }, |
|
138 "__experimentalSelector": ".wp-block-table > table" |
|
139 }, |
|
140 "styles": [ |
|
141 { |
|
142 "name": "regular", |
|
143 "label": "Default", |
|
144 "isDefault": true |
|
145 }, |
|
146 { "name": "stripes", "label": "Stripes" } |
|
147 ], |
|
148 "editorStyle": "wp-block-table-editor", |
|
149 "style": "wp-block-table" |
128 } |
150 } |