PluginProbe
Getwid – Gutenberg Blocks / 3.0.2
Getwid – Gutenberg Blocks v3.0.2
3.0.2 3.0.1 3.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.2.0 trunk 1.8.7 1.9.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9
getwid / assets / blocks / table / block.json

block.json in Getwid – Gutenberg Blocks 3.0.2, at assets/blocks/table/block.json

158 lines 3.5 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": 3,
4 "textdomain": "getwid",
5 "name": "getwid/table",
6 "description": "Creates a responsive data table.",
7 "category": "getwid-blocks",
8 "title": "Table",
9 "icon": "editor-table",
10 "supports": {
11 "align": [
12 "wide",
13 "full"
14 ]
15 },
16 "attributes": {
17 "align": {
18 "type": "string"
19 },
20 "head": {
21 "type": "array",
22 "source": "query",
23 "selector": "thead tr",
24 "query": {
25 "cells": {
26 "type": "array",
27 "source": "query",
28 "selector": "th",
29 "query": {
30 "content": {
31 "type": "string",
32 "source": "html"
33 },
34 "styles": {
35 "type": "string",
36 "source": "attribute",
37 "attribute": "style"
38 },
39 "colSpan": {
40 "type": "string",
41 "source": "attribute",
42 "attribute": "colspan"
43 },
44 "rowSpan": {
45 "type": "string",
46 "source": "attribute",
47 "attribute": "rowspan"
48 }
49 },
50 "default": []
51 }
52 },
53 "default": []
54 },
55 "body": {
56 "type": "array",
57 "source": "query",
58 "selector": "tbody tr",
59 "query": {
60 "cells": {
61 "type": "array",
62 "source": "query",
63 "selector": "td",
64 "query": {
65 "content": {
66 "type": "string",
67 "source": "html"
68 },
69 "styles": {
70 "type": "string",
71 "source": "attribute",
72 "attribute": "style"
73 },
74 "colSpan": {
75 "type": "string",
76 "source": "attribute",
77 "attribute": "colspan"
78 },
79 "rowSpan": {
80 "type": "string",
81 "source": "attribute",
82 "attribute": "rowspan"
83 }
84 },
85 "default": []
86 }
87 },
88 "default": []
89 },
90 "foot": {
91 "type": "array",
92 "source": "query",
93 "selector": "tfoot tr",
94 "query": {
95 "cells": {
96 "type": "array",
97 "source": "query",
98 "selector": "td",
99 "query": {
100 "content": {
101 "type": "string",
102 "source": "html"
103 },
104 "styles": {
105 "type": "string",
106 "source": "attribute",
107 "attribute": "style"
108 },
109 "colSpan": {
110 "type": "string",
111 "source": "attribute",
112 "attribute": "colspan"
113 },
114 "rowSpan": {
115 "type": "string",
116 "source": "attribute",
117 "attribute": "rowspan"
118 }
119 },
120 "default": []
121 }
122 },
123 "default": []
124 },
125 "caption": {
126 "type": "string",
127 "source": "html",
128 "selector": ".wp-block-getwid-table figcaption"
129 },
130 "tableLayout": {
131 "type": "string"
132 },
133 "borderCollapse": {
134 "type": "string"
135 },
136 "horizontalAlign": {
137 "type": "string"
138 },
139 "verticalAlign": {
140 "type": "string"
141 },
142 "backgroundColor": {
143 "type": "string"
144 },
145 "textColor": {
146 "type": "string"
147 },
148 "customBackgroundColor": {
149 "type": "string"
150 },
151 "customTextColor": {
152 "type": "string"
153 }
154 },
155 "editorScript": "file:./index.js",
156 "editorStyle": "file:./index.css",
157 "style": "file:./style-index.css"
158 }