PluginProbe
VK Blocks / 0.53.2
VK Blocks v0.53.2
1.126.4 1.126.3 1.126.1 1.126.2 1.126.0 1.125.0 1.124.0 1.123.0 1.122.0 1.121.0 1.120.0 1.119.2 1.119.1 1.119.0 1.118.7 1.82.0.0 1.82.0.1 1.83.0.0 1.83.0.1 1.84.0.0 1.84.0.1 1.85.0.2 1.85.0.3 1.85.1.0 1.85.1.1 All 287 releases
vk-blocks / src / blocks / heading / deprecated / schema.js
schema.js
297 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 export const schemav0_24_1 ={
2 level: {
3 type: "number",
4 default: 2
5 },
6 align: {
7 type: "string"
8 },
9 titleStyle: {
10 type: "string",
11 default: "default"
12 },
13 outerMarginBottom: {
14 type: "number",
15 default: null
16 },
17 title: {
18 type: "string",
19 source: "html",
20 selector: "h1,h2,h3,h4,h5,h6",
21 default: ""
22 },
23 titleColor: {
24 type: "string",
25 default: "#000000"
26 },
27 titleSize: {
28 type: "number",
29 default: 2
30 },
31 titleMarginBottom: {
32 type: "number",
33 default: 1
34 },
35 subText: {
36 source: "html",
37 selector: "p",
38 default: ""
39 },
40 subTextFlag: {
41 type: "string",
42 default: "on"
43 },
44 subTextColor: {
45 type: "string",
46 default: "#000000"
47 },
48 subTextSize: {
49 type: "number",
50 default: 1.2
51 }
52 }
53
54 export const schema = {
55 anchor: {
56 type: 'string',
57 source: 'attribute',
58 attribute: 'id',
59 selector: '*',
60 },
61 level: {
62 type: 'number',
63 default: 2,
64 },
65 align: {
66 type: 'string',
67 },
68 titleStyle: {
69 type: 'string',
70 default: 'default',
71 },
72 outerMarginBottom: {
73 type: 'number',
74 },
75 title: {
76 type: 'string',
77 source: 'html',
78 selector: 'h1,h2,h3,h4,h5,h6',
79 default: '',
80 },
81 titleColor: {
82 type: 'string',
83 default: '#000000',
84 },
85 titleSize: {
86 type: 'number',
87 default: 2.6,
88 },
89 titleMarginBottom: {
90 type: 'number',
91 },
92 subText: {
93 source: 'html',
94 selector: 'p',
95 default: '',
96 },
97 subTextFlag: {
98 type: 'string',
99 default: 'on',
100 },
101 subTextColor: {
102 type: 'string',
103 default: '#000000',
104 },
105 subTextSize: {
106 type: 'number',
107 default: 1.8,
108 },
109 };
110
111 export const schema1 = {
112 anchor: {
113 type: 'string',
114 source: 'attribute',
115 attribute: 'id',
116 selector: '*',
117 },
118 level: {
119 type: 'number',
120 default: 2,
121 },
122 align: {
123 type: 'string',
124 },
125 titleStyle: {
126 type: 'string',
127 default: 'default',
128 },
129 outerMarginBottom: {
130 type: 'number',
131 },
132 title: {
133 type: 'string',
134 source: 'html',
135 selector: 'h1,h2,h3,h4,h5,h6',
136 default: '',
137 },
138 titleColor: {
139 type: 'string',
140 default: '#000000',
141 },
142 titleSize: {
143 type: 'number',
144 default: 2.6,
145 },
146 titleMarginBottom: {
147 type: 'number',
148 },
149 subText: {
150 source: 'html',
151 selector: 'p',
152 default: '',
153 },
154 subTextFlag: {
155 type: 'string',
156 default: 'on',
157 },
158 subTextColor: {
159 type: 'string',
160 default: '#000000',
161 },
162 subTextSize: {
163 type: 'number',
164 default: 1.8,
165 },
166 }
167
168 export const schema2 = {
169 anchor: {
170 type: 'string',
171 source: 'attribute',
172 attribute: 'id',
173 selector: '*',
174 },
175 level: {
176 type: "number",
177 default: 2
178 },
179 align: {
180 type: "string"
181 },
182 titleStyle: {
183 type: "string",
184 default: "default"
185 },
186 outerMarginBottom: {
187 type: "number",
188 default: ""
189 },
190 title: {
191 type: "string",
192 source: "html",
193 selector: "h1,h2,h3,h4,h5,h6",
194 default: ""
195 },
196 titleColor: {
197 type: "string",
198 default: "#000000"
199 },
200 titleSize: {
201 type: "number",
202 default: 2
203 },
204 titleMarginBottom: {
205 type: "number",
206 default: 1
207 },
208 subText: {
209 source: "html",
210 selector: "p",
211 default: ""
212 },
213 subTextFlag: {
214 type: "string",
215 default: "on"
216 },
217 subTextColor: {
218 type: "string",
219 default: "#000000"
220 },
221 subTextSize: {
222 type: "number",
223 default: 1.2
224 }
225 }
226
227 export const schema_0_40_0 = {
228 anchor: {
229 type: 'string',
230 source: 'attribute',
231 attribute: 'id',
232 selector: '*',
233 },
234 level: {
235 type: "number",
236 default: 2
237 },
238 align: {
239 type: "string"
240 },
241 titleStyle: {
242 type: "string",
243 default: "default"
244 },
245 outerMarginBottom: {
246 type: "number",
247 default: 0
248 },
249 title: {
250 type: "string",
251 source: "html",
252 selector: "span",
253 default: ""
254 },
255 titleColor: {
256 type: "string",
257 default: "#000000"
258 },
259 titleSize: {
260 type: "number",
261 default: 2
262 },
263 titleMarginBottom: {
264 type: "number",
265 default: 1
266 },
267 subText: {
268 source: "html",
269 selector: "p",
270 default: ""
271 },
272 subTextFlag: {
273 type: "string",
274 default: "on"
275 },
276 subTextColor: {
277 type: "string",
278 default: "#000000"
279 },
280 subTextSize: {
281 type: "number",
282 default: 1.2
283 },
284 fontAwesomeIconBefore: {
285 type: 'string',
286 default: '',
287 },
288 fontAwesomeIconAfter: {
289 type: 'string',
290 default: '',
291 },
292 fontAwesomeIconColor: {
293 type: "string",
294 default: "#000000"
295 },
296 };
297