PluginProbe
Gutenberg / 10.5.3
Gutenberg v10.5.3
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 10.5.3, at build/block-library/blocks/table/block.json

133 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 2,
3 "name": "core/table",
4 "category": "text",
5 "attributes": {
6 "hasFixedLayout": {
7 "type": "boolean",
8 "default": false
9 },
10 "backgroundColor": {
11 "type": "string"
12 },
13 "caption": {
14 "type": "string",
15 "source": "html",
16 "selector": "figcaption",
17 "default": ""
18 },
19 "head": {
20 "type": "array",
21 "default": [],
22 "source": "query",
23 "selector": "thead tr",
24 "query": {
25 "cells": {
26 "type": "array",
27 "default": [],
28 "source": "query",
29 "selector": "td,th",
30 "query": {
31 "content": {
32 "type": "string",
33 "source": "html"
34 },
35 "tag": {
36 "type": "string",
37 "default": "td",
38 "source": "tag"
39 },
40 "scope": {
41 "type": "string",
42 "source": "attribute",
43 "attribute": "scope"
44 },
45 "align": {
46 "type": "string",
47 "source": "attribute",
48 "attribute": "data-align"
49 }
50 }
51 }
52 }
53 },
54 "body": {
55 "type": "array",
56 "default": [],
57 "source": "query",
58 "selector": "tbody tr",
59 "query": {
60 "cells": {
61 "type": "array",
62 "default": [],
63 "source": "query",
64 "selector": "td,th",
65 "query": {
66 "content": {
67 "type": "string",
68 "source": "html"
69 },
70 "tag": {
71 "type": "string",
72 "default": "td",
73 "source": "tag"
74 },
75 "scope": {
76 "type": "string",
77 "source": "attribute",
78 "attribute": "scope"
79 },
80 "align": {
81 "type": "string",
82 "source": "attribute",
83 "attribute": "data-align"
84 }
85 }
86 }
87 }
88 },
89 "foot": {
90 "type": "array",
91 "default": [],
92 "source": "query",
93 "selector": "tfoot tr",
94 "query": {
95 "cells": {
96 "type": "array",
97 "default": [],
98 "source": "query",
99 "selector": "td,th",
100 "query": {
101 "content": {
102 "type": "string",
103 "source": "html"
104 },
105 "tag": {
106 "type": "string",
107 "default": "td",
108 "source": "tag"
109 },
110 "scope": {
111 "type": "string",
112 "source": "attribute",
113 "attribute": "scope"
114 },
115 "align": {
116 "type": "string",
117 "source": "attribute",
118 "attribute": "data-align"
119 }
120 }
121 }
122 }
123 }
124 },
125 "supports": {
126 "anchor": true,
127 "align": true,
128 "__experimentalSelector": ".wp-block-table > table"
129 },
130 "editorStyle": "wp-block-table-editor",
131 "style": "wp-block-table"
132 }
133