PluginProbe
Gutenberg / 13.5.1
Gutenberg v13.5.1
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
gutenberg / build / block-library / blocks / table / block.json

block.json in Gutenberg 13.5.1, at build/block-library/blocks/table/block.json

177 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 2,
4 "name": "core/table",
5 "title": "Table",
6 "category": "text",
7 "description": "Create structured content in rows and columns to display information.",
8 "textdomain": "default",
9 "attributes": {
10 "hasFixedLayout": {
11 "type": "boolean",
12 "default": false
13 },
14 "caption": {
15 "type": "string",
16 "source": "html",
17 "selector": "figcaption",
18 "default": ""
19 },
20 "head": {
21 "type": "array",
22 "default": [],
23 "source": "query",
24 "selector": "thead tr",
25 "query": {
26 "cells": {
27 "type": "array",
28 "default": [],
29 "source": "query",
30 "selector": "td,th",
31 "query": {
32 "content": {
33 "type": "string",
34 "source": "html"
35 },
36 "tag": {
37 "type": "string",
38 "default": "td",
39 "source": "tag"
40 },
41 "scope": {
42 "type": "string",
43 "source": "attribute",
44 "attribute": "scope"
45 },
46 "align": {
47 "type": "string",
48 "source": "attribute",
49 "attribute": "data-align"
50 }
51 }
52 }
53 }
54 },
55 "body": {
56 "type": "array",
57 "default": [],
58 "source": "query",
59 "selector": "tbody tr",
60 "query": {
61 "cells": {
62 "type": "array",
63 "default": [],
64 "source": "query",
65 "selector": "td,th",
66 "query": {
67 "content": {
68 "type": "string",
69 "source": "html"
70 },
71 "tag": {
72 "type": "string",
73 "default": "td",
74 "source": "tag"
75 },
76 "scope": {
77 "type": "string",
78 "source": "attribute",
79 "attribute": "scope"
80 },
81 "align": {
82 "type": "string",
83 "source": "attribute",
84 "attribute": "data-align"
85 }
86 }
87 }
88 }
89 },
90 "foot": {
91 "type": "array",
92 "default": [],
93 "source": "query",
94 "selector": "tfoot tr",
95 "query": {
96 "cells": {
97 "type": "array",
98 "default": [],
99 "source": "query",
100 "selector": "td,th",
101 "query": {
102 "content": {
103 "type": "string",
104 "source": "html"
105 },
106 "tag": {
107 "type": "string",
108 "default": "td",
109 "source": "tag"
110 },
111 "scope": {
112 "type": "string",
113 "source": "attribute",
114 "attribute": "scope"
115 },
116 "align": {
117 "type": "string",
118 "source": "attribute",
119 "attribute": "data-align"
120 }
121 }
122 }
123 }
124 }
125 },
126 "supports": {
127 "anchor": true,
128 "align": true,
129 "color": {
130 "__experimentalSkipSerialization": true,
131 "gradients": true,
132 "__experimentalDefaultControls": {
133 "background": true,
134 "text": true
135 }
136 },
137 "typography": {
138 "fontSize": true,
139 "lineHeight": true,
140 "__experimentalFontStyle": true,
141 "__experimentalFontWeight": true,
142 "__experimentalLetterSpacing": true,
143 "__experimentalTextTransform": true,
144 "__experimentalDefaultControls": {
145 "fontSize": true
146 }
147 },
148 "__experimentalBorder": {
149 "__experimentalSkipSerialization": true,
150 "color": true,
151 "style": true,
152 "width": true,
153 "__experimentalDefaultControls": {
154 "color": true,
155 "style": true,
156 "width": true
157 }
158 },
159 "__experimentalSelector": ".wp-block-table > table",
160 "__experimentalStyle": {
161 "spacing": {
162 "margin": "0 0 1em 0"
163 }
164 }
165 },
166 "styles": [
167 {
168 "name": "regular",
169 "label": "Default",
170 "isDefault": true
171 },
172 { "name": "stripes", "label": "Stripes" }
173 ],
174 "editorStyle": "wp-block-table-editor",
175 "style": "wp-block-table"
176 }
177