|
1 <?php return array( |
|
2 'archives' => array( |
|
3 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4 'apiVersion' => 3, |
|
5 'name' => 'core/archives', |
|
6 'title' => 'Archives', |
|
7 'category' => 'widgets', |
|
8 'description' => 'Display a date archive of your posts.', |
|
9 'textdomain' => 'default', |
|
10 'attributes' => array( |
|
11 'displayAsDropdown' => array( |
|
12 'type' => 'boolean', |
|
13 'default' => false |
|
14 ), |
|
15 'showLabel' => array( |
|
16 'type' => 'boolean', |
|
17 'default' => true |
|
18 ), |
|
19 'showPostCounts' => array( |
|
20 'type' => 'boolean', |
|
21 'default' => false |
|
22 ), |
|
23 'type' => array( |
|
24 'type' => 'string', |
|
25 'default' => 'monthly' |
|
26 ) |
|
27 ), |
|
28 'supports' => array( |
|
29 'align' => true, |
|
30 'html' => false, |
|
31 'spacing' => array( |
|
32 'margin' => true, |
|
33 'padding' => true, |
|
34 '__experimentalDefaultControls' => array( |
|
35 'margin' => false, |
|
36 'padding' => false |
|
37 ) |
|
38 ), |
|
39 'typography' => array( |
|
40 'fontSize' => true, |
|
41 'lineHeight' => true, |
|
42 '__experimentalFontFamily' => true, |
|
43 '__experimentalFontWeight' => true, |
|
44 '__experimentalFontStyle' => true, |
|
45 '__experimentalTextTransform' => true, |
|
46 '__experimentalTextDecoration' => true, |
|
47 '__experimentalLetterSpacing' => true, |
|
48 '__experimentalDefaultControls' => array( |
|
49 'fontSize' => true |
|
50 ) |
|
51 ), |
|
52 'interactivity' => array( |
|
53 'clientNavigation' => true |
|
54 ) |
|
55 ), |
|
56 'editorStyle' => 'wp-block-archives-editor' |
|
57 ), |
|
58 'audio' => array( |
|
59 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
60 'apiVersion' => 3, |
|
61 'name' => 'core/audio', |
|
62 'title' => 'Audio', |
|
63 'category' => 'media', |
|
64 'description' => 'Embed a simple audio player.', |
|
65 'keywords' => array( |
|
66 'music', |
|
67 'sound', |
|
68 'podcast', |
|
69 'recording' |
|
70 ), |
|
71 'textdomain' => 'default', |
|
72 'attributes' => array( |
|
73 'src' => array( |
|
74 'type' => 'string', |
|
75 'source' => 'attribute', |
|
76 'selector' => 'audio', |
|
77 'attribute' => 'src', |
|
78 '__experimentalRole' => 'content' |
|
79 ), |
|
80 'caption' => array( |
|
81 'type' => 'rich-text', |
|
82 'source' => 'rich-text', |
|
83 'selector' => 'figcaption', |
|
84 '__experimentalRole' => 'content' |
|
85 ), |
|
86 'id' => array( |
|
87 'type' => 'number', |
|
88 '__experimentalRole' => 'content' |
|
89 ), |
|
90 'autoplay' => array( |
|
91 'type' => 'boolean', |
|
92 'source' => 'attribute', |
|
93 'selector' => 'audio', |
|
94 'attribute' => 'autoplay' |
|
95 ), |
|
96 'loop' => array( |
|
97 'type' => 'boolean', |
|
98 'source' => 'attribute', |
|
99 'selector' => 'audio', |
|
100 'attribute' => 'loop' |
|
101 ), |
|
102 'preload' => array( |
|
103 'type' => 'string', |
|
104 'source' => 'attribute', |
|
105 'selector' => 'audio', |
|
106 'attribute' => 'preload' |
|
107 ) |
|
108 ), |
|
109 'supports' => array( |
|
110 'anchor' => true, |
|
111 'align' => true, |
|
112 'spacing' => array( |
|
113 'margin' => true, |
|
114 'padding' => true, |
|
115 '__experimentalDefaultControls' => array( |
|
116 'margin' => false, |
|
117 'padding' => false |
|
118 ) |
|
119 ), |
|
120 'interactivity' => array( |
|
121 'clientNavigation' => true |
|
122 ) |
|
123 ), |
|
124 'editorStyle' => 'wp-block-audio-editor', |
|
125 'style' => 'wp-block-audio' |
|
126 ), |
|
127 'avatar' => array( |
|
128 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
129 'apiVersion' => 3, |
|
130 'name' => 'core/avatar', |
|
131 'title' => 'Avatar', |
|
132 'category' => 'theme', |
|
133 'description' => 'Add a user’s avatar.', |
|
134 'textdomain' => 'default', |
|
135 'attributes' => array( |
|
136 'userId' => array( |
|
137 'type' => 'number' |
|
138 ), |
|
139 'size' => array( |
|
140 'type' => 'number', |
|
141 'default' => 96 |
|
142 ), |
|
143 'isLink' => array( |
|
144 'type' => 'boolean', |
|
145 'default' => false |
|
146 ), |
|
147 'linkTarget' => array( |
|
148 'type' => 'string', |
|
149 'default' => '_self' |
|
150 ) |
|
151 ), |
|
152 'usesContext' => array( |
|
153 'postType', |
|
154 'postId', |
|
155 'commentId' |
|
156 ), |
|
157 'supports' => array( |
|
158 'html' => false, |
|
159 'align' => true, |
|
160 'alignWide' => false, |
|
161 'spacing' => array( |
|
162 'margin' => true, |
|
163 'padding' => true, |
|
164 '__experimentalDefaultControls' => array( |
|
165 'margin' => false, |
|
166 'padding' => false |
|
167 ) |
|
168 ), |
|
169 '__experimentalBorder' => array( |
|
170 '__experimentalSkipSerialization' => true, |
|
171 'radius' => true, |
|
172 'width' => true, |
|
173 'color' => true, |
|
174 'style' => true, |
|
175 '__experimentalDefaultControls' => array( |
|
176 'radius' => true |
|
177 ) |
|
178 ), |
|
179 'color' => array( |
|
180 'text' => false, |
|
181 'background' => false, |
|
182 '__experimentalDuotone' => 'img' |
|
183 ), |
|
184 'interactivity' => array( |
|
185 'clientNavigation' => true |
|
186 ) |
|
187 ), |
|
188 'selectors' => array( |
|
189 'border' => '.wp-block-avatar img' |
|
190 ), |
|
191 'editorStyle' => 'wp-block-avatar-editor', |
|
192 'style' => 'wp-block-avatar' |
|
193 ), |
|
194 'block' => array( |
|
195 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
196 'apiVersion' => 3, |
|
197 'name' => 'core/block', |
|
198 'title' => 'Pattern', |
|
199 'category' => 'reusable', |
|
200 'description' => 'Reuse this design across your site.', |
|
201 'keywords' => array( |
|
202 'reusable' |
|
203 ), |
|
204 'textdomain' => 'default', |
|
205 'attributes' => array( |
|
206 'ref' => array( |
|
207 'type' => 'number' |
|
208 ), |
|
209 'content' => array( |
|
210 'type' => 'object', |
|
211 'default' => array( |
|
212 |
|
213 ) |
|
214 ) |
|
215 ), |
|
216 'providesContext' => array( |
|
217 'pattern/overrides' => 'content' |
|
218 ), |
|
219 'supports' => array( |
|
220 'customClassName' => false, |
|
221 'html' => false, |
|
222 'inserter' => false, |
|
223 'renaming' => false, |
|
224 'interactivity' => array( |
|
225 'clientNavigation' => true |
|
226 ) |
|
227 ) |
|
228 ), |
|
229 'button' => array( |
|
230 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
231 'apiVersion' => 3, |
|
232 'name' => 'core/button', |
|
233 'title' => 'Button', |
|
234 'category' => 'design', |
|
235 'parent' => array( |
|
236 'core/buttons' |
|
237 ), |
|
238 'description' => 'Prompt visitors to take action with a button-style link.', |
|
239 'keywords' => array( |
|
240 'link' |
|
241 ), |
|
242 'textdomain' => 'default', |
|
243 'attributes' => array( |
|
244 'tagName' => array( |
|
245 'type' => 'string', |
|
246 'enum' => array( |
|
247 'a', |
|
248 'button' |
|
249 ), |
|
250 'default' => 'a' |
|
251 ), |
|
252 'type' => array( |
|
253 'type' => 'string', |
|
254 'default' => 'button' |
|
255 ), |
|
256 'textAlign' => array( |
|
257 'type' => 'string' |
|
258 ), |
|
259 'url' => array( |
|
260 'type' => 'string', |
|
261 'source' => 'attribute', |
|
262 'selector' => 'a', |
|
263 'attribute' => 'href', |
|
264 '__experimentalRole' => 'content' |
|
265 ), |
|
266 'title' => array( |
|
267 'type' => 'string', |
|
268 'source' => 'attribute', |
|
269 'selector' => 'a,button', |
|
270 'attribute' => 'title', |
|
271 '__experimentalRole' => 'content' |
|
272 ), |
|
273 'text' => array( |
|
274 'type' => 'rich-text', |
|
275 'source' => 'rich-text', |
|
276 'selector' => 'a,button', |
|
277 '__experimentalRole' => 'content' |
|
278 ), |
|
279 'linkTarget' => array( |
|
280 'type' => 'string', |
|
281 'source' => 'attribute', |
|
282 'selector' => 'a', |
|
283 'attribute' => 'target', |
|
284 '__experimentalRole' => 'content' |
|
285 ), |
|
286 'rel' => array( |
|
287 'type' => 'string', |
|
288 'source' => 'attribute', |
|
289 'selector' => 'a', |
|
290 'attribute' => 'rel', |
|
291 '__experimentalRole' => 'content' |
|
292 ), |
|
293 'placeholder' => array( |
|
294 'type' => 'string' |
|
295 ), |
|
296 'backgroundColor' => array( |
|
297 'type' => 'string' |
|
298 ), |
|
299 'textColor' => array( |
|
300 'type' => 'string' |
|
301 ), |
|
302 'gradient' => array( |
|
303 'type' => 'string' |
|
304 ), |
|
305 'width' => array( |
|
306 'type' => 'number' |
|
307 ) |
|
308 ), |
|
309 'supports' => array( |
|
310 'anchor' => true, |
|
311 'splitting' => true, |
|
312 'align' => false, |
|
313 'alignWide' => false, |
|
314 'color' => array( |
|
315 '__experimentalSkipSerialization' => true, |
|
316 'gradients' => true, |
|
317 '__experimentalDefaultControls' => array( |
|
318 'background' => true, |
|
319 'text' => true |
|
320 ) |
|
321 ), |
|
322 'typography' => array( |
|
323 'fontSize' => true, |
|
324 'lineHeight' => true, |
|
325 '__experimentalFontFamily' => true, |
|
326 '__experimentalFontWeight' => true, |
|
327 '__experimentalFontStyle' => true, |
|
328 '__experimentalTextTransform' => true, |
|
329 '__experimentalTextDecoration' => true, |
|
330 '__experimentalLetterSpacing' => true, |
|
331 '__experimentalDefaultControls' => array( |
|
332 'fontSize' => true |
|
333 ) |
|
334 ), |
|
335 'reusable' => false, |
|
336 'shadow' => array( |
|
337 '__experimentalSkipSerialization' => true |
|
338 ), |
|
339 'spacing' => array( |
|
340 '__experimentalSkipSerialization' => true, |
|
341 'padding' => array( |
|
342 'horizontal', |
|
343 'vertical' |
|
344 ), |
|
345 '__experimentalDefaultControls' => array( |
|
346 'padding' => true |
|
347 ) |
|
348 ), |
|
349 '__experimentalBorder' => array( |
|
350 'color' => true, |
|
351 'radius' => true, |
|
352 'style' => true, |
|
353 'width' => true, |
|
354 '__experimentalSkipSerialization' => true, |
|
355 '__experimentalDefaultControls' => array( |
|
356 'color' => true, |
|
357 'radius' => true, |
|
358 'style' => true, |
|
359 'width' => true |
|
360 ) |
|
361 ), |
|
362 '__experimentalSelector' => '.wp-block-button .wp-block-button__link', |
|
363 'interactivity' => array( |
|
364 'clientNavigation' => true |
|
365 ) |
|
366 ), |
|
367 'styles' => array( |
|
368 array( |
|
369 'name' => 'fill', |
|
370 'label' => 'Fill', |
|
371 'isDefault' => true |
|
372 ), |
|
373 array( |
|
374 'name' => 'outline', |
|
375 'label' => 'Outline' |
|
376 ) |
|
377 ), |
|
378 'editorStyle' => 'wp-block-button-editor', |
|
379 'style' => 'wp-block-button' |
|
380 ), |
|
381 'buttons' => array( |
|
382 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
383 'apiVersion' => 3, |
|
384 'name' => 'core/buttons', |
|
385 'title' => 'Buttons', |
|
386 'category' => 'design', |
|
387 'allowedBlocks' => array( |
|
388 'core/button' |
|
389 ), |
|
390 'description' => 'Prompt visitors to take action with a group of button-style links.', |
|
391 'keywords' => array( |
|
392 'link' |
|
393 ), |
|
394 'textdomain' => 'default', |
|
395 'supports' => array( |
|
396 'anchor' => true, |
|
397 'align' => array( |
|
398 'wide', |
|
399 'full' |
|
400 ), |
|
401 'html' => false, |
|
402 '__experimentalExposeControlsToChildren' => true, |
|
403 'spacing' => array( |
|
404 'blockGap' => true, |
|
405 'margin' => array( |
|
406 'top', |
|
407 'bottom' |
|
408 ), |
|
409 '__experimentalDefaultControls' => array( |
|
410 'blockGap' => true |
|
411 ) |
|
412 ), |
|
413 'typography' => array( |
|
414 'fontSize' => true, |
|
415 'lineHeight' => true, |
|
416 '__experimentalFontFamily' => true, |
|
417 '__experimentalFontWeight' => true, |
|
418 '__experimentalFontStyle' => true, |
|
419 '__experimentalTextTransform' => true, |
|
420 '__experimentalTextDecoration' => true, |
|
421 '__experimentalLetterSpacing' => true, |
|
422 '__experimentalDefaultControls' => array( |
|
423 'fontSize' => true |
|
424 ) |
|
425 ), |
|
426 'layout' => array( |
|
427 'allowSwitching' => false, |
|
428 'allowInheriting' => false, |
|
429 'default' => array( |
|
430 'type' => 'flex' |
|
431 ) |
|
432 ), |
|
433 'interactivity' => array( |
|
434 'clientNavigation' => true |
|
435 ) |
|
436 ), |
|
437 'editorStyle' => 'wp-block-buttons-editor', |
|
438 'style' => 'wp-block-buttons' |
|
439 ), |
|
440 'calendar' => array( |
|
441 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
442 'apiVersion' => 3, |
|
443 'name' => 'core/calendar', |
|
444 'title' => 'Calendar', |
|
445 'category' => 'widgets', |
|
446 'description' => 'A calendar of your site’s posts.', |
|
447 'keywords' => array( |
|
448 'posts', |
|
449 'archive' |
|
450 ), |
|
451 'textdomain' => 'default', |
|
452 'attributes' => array( |
|
453 'month' => array( |
|
454 'type' => 'integer' |
|
455 ), |
|
456 'year' => array( |
|
457 'type' => 'integer' |
|
458 ) |
|
459 ), |
|
460 'supports' => array( |
|
461 'align' => true, |
|
462 'color' => array( |
|
463 'link' => true, |
|
464 '__experimentalSkipSerialization' => array( |
|
465 'text', |
|
466 'background' |
|
467 ), |
|
468 '__experimentalDefaultControls' => array( |
|
469 'background' => true, |
|
470 'text' => true |
|
471 ), |
|
472 '__experimentalSelector' => 'table, th' |
|
473 ), |
|
474 'typography' => array( |
|
475 'fontSize' => true, |
|
476 'lineHeight' => true, |
|
477 '__experimentalFontFamily' => true, |
|
478 '__experimentalFontWeight' => true, |
|
479 '__experimentalFontStyle' => true, |
|
480 '__experimentalTextTransform' => true, |
|
481 '__experimentalLetterSpacing' => true, |
|
482 '__experimentalDefaultControls' => array( |
|
483 'fontSize' => true |
|
484 ) |
|
485 ), |
|
486 'interactivity' => array( |
|
487 'clientNavigation' => true |
|
488 ) |
|
489 ), |
|
490 'style' => 'wp-block-calendar' |
|
491 ), |
|
492 'categories' => array( |
|
493 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
494 'apiVersion' => 3, |
|
495 'name' => 'core/categories', |
|
496 'title' => 'Categories List', |
|
497 'category' => 'widgets', |
|
498 'description' => 'Display a list of all categories.', |
|
499 'textdomain' => 'default', |
|
500 'attributes' => array( |
|
501 'displayAsDropdown' => array( |
|
502 'type' => 'boolean', |
|
503 'default' => false |
|
504 ), |
|
505 'showHierarchy' => array( |
|
506 'type' => 'boolean', |
|
507 'default' => false |
|
508 ), |
|
509 'showPostCounts' => array( |
|
510 'type' => 'boolean', |
|
511 'default' => false |
|
512 ), |
|
513 'showOnlyTopLevel' => array( |
|
514 'type' => 'boolean', |
|
515 'default' => false |
|
516 ), |
|
517 'showEmpty' => array( |
|
518 'type' => 'boolean', |
|
519 'default' => false |
|
520 ) |
|
521 ), |
|
522 'supports' => array( |
|
523 'align' => true, |
|
524 'html' => false, |
|
525 'spacing' => array( |
|
526 'margin' => true, |
|
527 'padding' => true, |
|
528 '__experimentalDefaultControls' => array( |
|
529 'margin' => false, |
|
530 'padding' => false |
|
531 ) |
|
532 ), |
|
533 'typography' => array( |
|
534 'fontSize' => true, |
|
535 'lineHeight' => true, |
|
536 '__experimentalFontFamily' => true, |
|
537 '__experimentalFontWeight' => true, |
|
538 '__experimentalFontStyle' => true, |
|
539 '__experimentalTextTransform' => true, |
|
540 '__experimentalTextDecoration' => true, |
|
541 '__experimentalLetterSpacing' => true, |
|
542 '__experimentalDefaultControls' => array( |
|
543 'fontSize' => true |
|
544 ) |
|
545 ), |
|
546 'interactivity' => array( |
|
547 'clientNavigation' => true |
|
548 ) |
|
549 ), |
|
550 'editorStyle' => 'wp-block-categories-editor', |
|
551 'style' => 'wp-block-categories' |
|
552 ), |
|
553 'code' => array( |
|
554 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
555 'apiVersion' => 3, |
|
556 'name' => 'core/code', |
|
557 'title' => 'Code', |
|
558 'category' => 'text', |
|
559 'description' => 'Display code snippets that respect your spacing and tabs.', |
|
560 'textdomain' => 'default', |
|
561 'attributes' => array( |
|
562 'content' => array( |
|
563 'type' => 'rich-text', |
|
564 'source' => 'rich-text', |
|
565 'selector' => 'code', |
|
566 '__unstablePreserveWhiteSpace' => true |
|
567 ) |
|
568 ), |
|
569 'supports' => array( |
|
570 'align' => array( |
|
571 'wide' |
|
572 ), |
|
573 'anchor' => true, |
|
574 'typography' => array( |
|
575 'fontSize' => true, |
|
576 'lineHeight' => true, |
|
577 '__experimentalFontFamily' => true, |
|
578 '__experimentalFontWeight' => true, |
|
579 '__experimentalFontStyle' => true, |
|
580 '__experimentalTextTransform' => true, |
|
581 '__experimentalTextDecoration' => true, |
|
582 '__experimentalLetterSpacing' => true, |
|
583 '__experimentalDefaultControls' => array( |
|
584 'fontSize' => true |
|
585 ) |
|
586 ), |
|
587 'spacing' => array( |
|
588 'margin' => array( |
|
589 'top', |
|
590 'bottom' |
|
591 ), |
|
592 'padding' => true, |
|
593 '__experimentalDefaultControls' => array( |
|
594 'margin' => false, |
|
595 'padding' => false |
|
596 ) |
|
597 ), |
|
598 '__experimentalBorder' => array( |
|
599 'radius' => true, |
|
600 'color' => true, |
|
601 'width' => true, |
|
602 'style' => true, |
|
603 '__experimentalDefaultControls' => array( |
|
604 'width' => true, |
|
605 'color' => true |
|
606 ) |
|
607 ), |
|
608 'color' => array( |
|
609 'text' => true, |
|
610 'background' => true, |
|
611 'gradients' => true, |
|
612 '__experimentalDefaultControls' => array( |
|
613 'background' => true, |
|
614 'text' => true |
|
615 ) |
|
616 ), |
|
617 'interactivity' => array( |
|
618 'clientNavigation' => true |
|
619 ) |
|
620 ), |
|
621 'style' => 'wp-block-code' |
|
622 ), |
|
623 'column' => array( |
|
624 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
625 'apiVersion' => 3, |
|
626 'name' => 'core/column', |
|
627 'title' => 'Column', |
|
628 'category' => 'design', |
|
629 'parent' => array( |
|
630 'core/columns' |
|
631 ), |
|
632 'description' => 'A single column within a columns block.', |
|
633 'textdomain' => 'default', |
|
634 'attributes' => array( |
|
635 'verticalAlignment' => array( |
|
636 'type' => 'string' |
|
637 ), |
|
638 'width' => array( |
|
639 'type' => 'string' |
|
640 ), |
|
641 'allowedBlocks' => array( |
|
642 'type' => 'array' |
|
643 ), |
|
644 'templateLock' => array( |
|
645 'type' => array( |
|
646 'string', |
|
647 'boolean' |
|
648 ), |
|
649 'enum' => array( |
|
650 'all', |
|
651 'insert', |
|
652 'contentOnly', |
|
653 false |
|
654 ) |
|
655 ) |
|
656 ), |
|
657 'supports' => array( |
|
658 '__experimentalOnEnter' => true, |
|
659 'anchor' => true, |
|
660 'reusable' => false, |
|
661 'html' => false, |
|
662 'color' => array( |
|
663 'gradients' => true, |
|
664 'heading' => true, |
|
665 'button' => true, |
|
666 'link' => true, |
|
667 '__experimentalDefaultControls' => array( |
|
668 'background' => true, |
|
669 'text' => true |
|
670 ) |
|
671 ), |
|
672 'shadow' => true, |
|
673 'spacing' => array( |
|
674 'blockGap' => true, |
|
675 'padding' => true, |
|
676 '__experimentalDefaultControls' => array( |
|
677 'padding' => true, |
|
678 'blockGap' => true |
|
679 ) |
|
680 ), |
|
681 '__experimentalBorder' => array( |
|
682 'color' => true, |
|
683 'style' => true, |
|
684 'width' => true, |
|
685 '__experimentalDefaultControls' => array( |
|
686 'color' => true, |
|
687 'style' => true, |
|
688 'width' => true |
|
689 ) |
|
690 ), |
|
691 'typography' => array( |
|
692 'fontSize' => true, |
|
693 'lineHeight' => true, |
|
694 '__experimentalFontFamily' => true, |
|
695 '__experimentalFontWeight' => true, |
|
696 '__experimentalFontStyle' => true, |
|
697 '__experimentalTextTransform' => true, |
|
698 '__experimentalTextDecoration' => true, |
|
699 '__experimentalLetterSpacing' => true, |
|
700 '__experimentalDefaultControls' => array( |
|
701 'fontSize' => true |
|
702 ) |
|
703 ), |
|
704 'layout' => true, |
|
705 'interactivity' => array( |
|
706 'clientNavigation' => true |
|
707 ) |
|
708 ) |
|
709 ), |
|
710 'columns' => array( |
|
711 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
712 'apiVersion' => 3, |
|
713 'name' => 'core/columns', |
|
714 'title' => 'Columns', |
|
715 'category' => 'design', |
|
716 'allowedBlocks' => array( |
|
717 'core/column' |
|
718 ), |
|
719 'description' => 'Display content in multiple columns, with blocks added to each column.', |
|
720 'textdomain' => 'default', |
|
721 'attributes' => array( |
|
722 'verticalAlignment' => array( |
|
723 'type' => 'string' |
|
724 ), |
|
725 'isStackedOnMobile' => array( |
|
726 'type' => 'boolean', |
|
727 'default' => true |
|
728 ), |
|
729 'templateLock' => array( |
|
730 'type' => array( |
|
731 'string', |
|
732 'boolean' |
|
733 ), |
|
734 'enum' => array( |
|
735 'all', |
|
736 'insert', |
|
737 'contentOnly', |
|
738 false |
|
739 ) |
|
740 ) |
|
741 ), |
|
742 'supports' => array( |
|
743 'anchor' => true, |
|
744 'align' => array( |
|
745 'wide', |
|
746 'full' |
|
747 ), |
|
748 'html' => false, |
|
749 'color' => array( |
|
750 'gradients' => true, |
|
751 'link' => true, |
|
752 'heading' => true, |
|
753 'button' => true, |
|
754 '__experimentalDefaultControls' => array( |
|
755 'background' => true, |
|
756 'text' => true |
|
757 ) |
|
758 ), |
|
759 'spacing' => array( |
|
760 'blockGap' => array( |
|
761 '__experimentalDefault' => '2em', |
|
762 'sides' => array( |
|
763 'horizontal', |
|
764 'vertical' |
|
765 ) |
|
766 ), |
|
767 'margin' => array( |
|
768 'top', |
|
769 'bottom' |
|
770 ), |
|
771 'padding' => true, |
|
772 '__experimentalDefaultControls' => array( |
|
773 'padding' => true, |
|
774 'blockGap' => true |
|
775 ) |
|
776 ), |
|
777 'layout' => array( |
|
778 'allowSwitching' => false, |
|
779 'allowInheriting' => false, |
|
780 'allowEditing' => false, |
|
781 'default' => array( |
|
782 'type' => 'flex', |
|
783 'flexWrap' => 'nowrap' |
|
784 ) |
|
785 ), |
|
786 '__experimentalBorder' => array( |
|
787 'color' => true, |
|
788 'radius' => true, |
|
789 'style' => true, |
|
790 'width' => true, |
|
791 '__experimentalDefaultControls' => array( |
|
792 'color' => true, |
|
793 'radius' => true, |
|
794 'style' => true, |
|
795 'width' => true |
|
796 ) |
|
797 ), |
|
798 'typography' => array( |
|
799 'fontSize' => true, |
|
800 'lineHeight' => true, |
|
801 '__experimentalFontFamily' => true, |
|
802 '__experimentalFontWeight' => true, |
|
803 '__experimentalFontStyle' => true, |
|
804 '__experimentalTextTransform' => true, |
|
805 '__experimentalTextDecoration' => true, |
|
806 '__experimentalLetterSpacing' => true, |
|
807 '__experimentalDefaultControls' => array( |
|
808 'fontSize' => true |
|
809 ) |
|
810 ), |
|
811 'interactivity' => array( |
|
812 'clientNavigation' => true |
|
813 ), |
|
814 'shadow' => true |
|
815 ), |
|
816 'editorStyle' => 'wp-block-columns-editor', |
|
817 'style' => 'wp-block-columns' |
|
818 ), |
|
819 'comment-author-name' => array( |
|
820 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
821 'apiVersion' => 3, |
|
822 'name' => 'core/comment-author-name', |
|
823 'title' => 'Comment Author Name', |
|
824 'category' => 'theme', |
|
825 'ancestor' => array( |
|
826 'core/comment-template' |
|
827 ), |
|
828 'description' => 'Displays the name of the author of the comment.', |
|
829 'textdomain' => 'default', |
|
830 'attributes' => array( |
|
831 'isLink' => array( |
|
832 'type' => 'boolean', |
|
833 'default' => true |
|
834 ), |
|
835 'linkTarget' => array( |
|
836 'type' => 'string', |
|
837 'default' => '_self' |
|
838 ), |
|
839 'textAlign' => array( |
|
840 'type' => 'string' |
|
841 ) |
|
842 ), |
|
843 'usesContext' => array( |
|
844 'commentId' |
|
845 ), |
|
846 'supports' => array( |
|
847 'html' => false, |
|
848 'spacing' => array( |
|
849 'margin' => true, |
|
850 'padding' => true |
|
851 ), |
|
852 'color' => array( |
|
853 'gradients' => true, |
|
854 'link' => true, |
|
855 '__experimentalDefaultControls' => array( |
|
856 'background' => true, |
|
857 'text' => true, |
|
858 'link' => true |
|
859 ) |
|
860 ), |
|
861 'typography' => array( |
|
862 'fontSize' => true, |
|
863 'lineHeight' => true, |
|
864 '__experimentalFontFamily' => true, |
|
865 '__experimentalFontWeight' => true, |
|
866 '__experimentalFontStyle' => true, |
|
867 '__experimentalTextTransform' => true, |
|
868 '__experimentalTextDecoration' => true, |
|
869 '__experimentalLetterSpacing' => true, |
|
870 '__experimentalDefaultControls' => array( |
|
871 'fontSize' => true |
|
872 ) |
|
873 ), |
|
874 'interactivity' => array( |
|
875 'clientNavigation' => true |
|
876 ) |
|
877 ) |
|
878 ), |
|
879 'comment-content' => array( |
|
880 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
881 'apiVersion' => 3, |
|
882 'name' => 'core/comment-content', |
|
883 'title' => 'Comment Content', |
|
884 'category' => 'theme', |
|
885 'ancestor' => array( |
|
886 'core/comment-template' |
|
887 ), |
|
888 'description' => 'Displays the contents of a comment.', |
|
889 'textdomain' => 'default', |
|
890 'usesContext' => array( |
|
891 'commentId' |
|
892 ), |
|
893 'attributes' => array( |
|
894 'textAlign' => array( |
|
895 'type' => 'string' |
|
896 ) |
|
897 ), |
|
898 'supports' => array( |
|
899 'color' => array( |
|
900 'gradients' => true, |
|
901 'link' => true, |
|
902 '__experimentalDefaultControls' => array( |
|
903 'background' => true, |
|
904 'text' => true |
|
905 ) |
|
906 ), |
|
907 'typography' => array( |
|
908 'fontSize' => true, |
|
909 'lineHeight' => true, |
|
910 '__experimentalFontFamily' => true, |
|
911 '__experimentalFontWeight' => true, |
|
912 '__experimentalFontStyle' => true, |
|
913 '__experimentalTextTransform' => true, |
|
914 '__experimentalTextDecoration' => true, |
|
915 '__experimentalLetterSpacing' => true, |
|
916 '__experimentalDefaultControls' => array( |
|
917 'fontSize' => true |
|
918 ) |
|
919 ), |
|
920 'spacing' => array( |
|
921 'padding' => array( |
|
922 'horizontal', |
|
923 'vertical' |
|
924 ), |
|
925 '__experimentalDefaultControls' => array( |
|
926 'padding' => true |
|
927 ) |
|
928 ), |
|
929 'html' => false |
|
930 ) |
|
931 ), |
|
932 'comment-date' => array( |
|
933 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
934 'apiVersion' => 3, |
|
935 'name' => 'core/comment-date', |
|
936 'title' => 'Comment Date', |
|
937 'category' => 'theme', |
|
938 'ancestor' => array( |
|
939 'core/comment-template' |
|
940 ), |
|
941 'description' => 'Displays the date on which the comment was posted.', |
|
942 'textdomain' => 'default', |
|
943 'attributes' => array( |
|
944 'format' => array( |
|
945 'type' => 'string' |
|
946 ), |
|
947 'isLink' => array( |
|
948 'type' => 'boolean', |
|
949 'default' => true |
|
950 ) |
|
951 ), |
|
952 'usesContext' => array( |
|
953 'commentId' |
|
954 ), |
|
955 'supports' => array( |
|
956 'html' => false, |
|
957 'color' => array( |
|
958 'gradients' => true, |
|
959 'link' => true, |
|
960 '__experimentalDefaultControls' => array( |
|
961 'background' => true, |
|
962 'text' => true, |
|
963 'link' => true |
|
964 ) |
|
965 ), |
|
966 'spacing' => array( |
|
967 'margin' => true, |
|
968 'padding' => true |
|
969 ), |
|
970 'typography' => array( |
|
971 'fontSize' => true, |
|
972 'lineHeight' => true, |
|
973 '__experimentalFontFamily' => true, |
|
974 '__experimentalFontWeight' => true, |
|
975 '__experimentalFontStyle' => true, |
|
976 '__experimentalTextTransform' => true, |
|
977 '__experimentalTextDecoration' => true, |
|
978 '__experimentalLetterSpacing' => true, |
|
979 '__experimentalDefaultControls' => array( |
|
980 'fontSize' => true |
|
981 ) |
|
982 ), |
|
983 'interactivity' => array( |
|
984 'clientNavigation' => true |
|
985 ) |
|
986 ) |
|
987 ), |
|
988 'comment-edit-link' => array( |
|
989 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
990 'apiVersion' => 3, |
|
991 'name' => 'core/comment-edit-link', |
|
992 'title' => 'Comment Edit Link', |
|
993 'category' => 'theme', |
|
994 'ancestor' => array( |
|
995 'core/comment-template' |
|
996 ), |
|
997 'description' => 'Displays a link to edit the comment in the WordPress Dashboard. This link is only visible to users with the edit comment capability.', |
|
998 'textdomain' => 'default', |
|
999 'usesContext' => array( |
|
1000 'commentId' |
|
1001 ), |
|
1002 'attributes' => array( |
|
1003 'linkTarget' => array( |
|
1004 'type' => 'string', |
|
1005 'default' => '_self' |
|
1006 ), |
|
1007 'textAlign' => array( |
|
1008 'type' => 'string' |
|
1009 ) |
|
1010 ), |
|
1011 'supports' => array( |
|
1012 'html' => false, |
|
1013 'color' => array( |
|
1014 'link' => true, |
|
1015 'gradients' => true, |
|
1016 'text' => false, |
|
1017 '__experimentalDefaultControls' => array( |
|
1018 'background' => true, |
|
1019 'link' => true |
|
1020 ) |
|
1021 ), |
|
1022 'spacing' => array( |
|
1023 'margin' => true, |
|
1024 'padding' => true |
|
1025 ), |
|
1026 'typography' => array( |
|
1027 'fontSize' => true, |
|
1028 'lineHeight' => true, |
|
1029 '__experimentalFontFamily' => true, |
|
1030 '__experimentalFontWeight' => true, |
|
1031 '__experimentalFontStyle' => true, |
|
1032 '__experimentalTextTransform' => true, |
|
1033 '__experimentalTextDecoration' => true, |
|
1034 '__experimentalLetterSpacing' => true, |
|
1035 '__experimentalDefaultControls' => array( |
|
1036 'fontSize' => true |
|
1037 ) |
|
1038 ), |
|
1039 'interactivity' => array( |
|
1040 'clientNavigation' => true |
|
1041 ) |
|
1042 ) |
|
1043 ), |
|
1044 'comment-reply-link' => array( |
|
1045 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1046 'apiVersion' => 3, |
|
1047 'name' => 'core/comment-reply-link', |
|
1048 'title' => 'Comment Reply Link', |
|
1049 'category' => 'theme', |
|
1050 'ancestor' => array( |
|
1051 'core/comment-template' |
|
1052 ), |
|
1053 'description' => 'Displays a link to reply to a comment.', |
|
1054 'textdomain' => 'default', |
|
1055 'usesContext' => array( |
|
1056 'commentId' |
|
1057 ), |
|
1058 'attributes' => array( |
|
1059 'textAlign' => array( |
|
1060 'type' => 'string' |
|
1061 ) |
|
1062 ), |
|
1063 'supports' => array( |
|
1064 'color' => array( |
|
1065 'gradients' => true, |
|
1066 'link' => true, |
|
1067 'text' => false, |
|
1068 '__experimentalDefaultControls' => array( |
|
1069 'background' => true, |
|
1070 'link' => true |
|
1071 ) |
|
1072 ), |
|
1073 'spacing' => array( |
|
1074 'margin' => true, |
|
1075 'padding' => true |
|
1076 ), |
|
1077 'typography' => array( |
|
1078 'fontSize' => true, |
|
1079 'lineHeight' => true, |
|
1080 '__experimentalFontFamily' => true, |
|
1081 '__experimentalFontWeight' => true, |
|
1082 '__experimentalFontStyle' => true, |
|
1083 '__experimentalTextTransform' => true, |
|
1084 '__experimentalTextDecoration' => true, |
|
1085 '__experimentalLetterSpacing' => true, |
|
1086 '__experimentalDefaultControls' => array( |
|
1087 'fontSize' => true |
|
1088 ) |
|
1089 ), |
|
1090 'html' => false |
|
1091 ) |
|
1092 ), |
|
1093 'comment-template' => array( |
|
1094 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1095 'apiVersion' => 3, |
|
1096 'name' => 'core/comment-template', |
|
1097 'title' => 'Comment Template', |
|
1098 'category' => 'design', |
|
1099 'parent' => array( |
|
1100 'core/comments' |
|
1101 ), |
|
1102 'description' => 'Contains the block elements used to display a comment, like the title, date, author, avatar and more.', |
|
1103 'textdomain' => 'default', |
|
1104 'usesContext' => array( |
|
1105 'postId' |
|
1106 ), |
|
1107 'supports' => array( |
|
1108 'align' => true, |
|
1109 'html' => false, |
|
1110 'reusable' => false, |
|
1111 'spacing' => array( |
|
1112 'margin' => true, |
|
1113 'padding' => true |
|
1114 ), |
|
1115 'typography' => array( |
|
1116 'fontSize' => true, |
|
1117 'lineHeight' => true, |
|
1118 '__experimentalFontFamily' => true, |
|
1119 '__experimentalFontWeight' => true, |
|
1120 '__experimentalFontStyle' => true, |
|
1121 '__experimentalTextTransform' => true, |
|
1122 '__experimentalTextDecoration' => true, |
|
1123 '__experimentalLetterSpacing' => true, |
|
1124 '__experimentalDefaultControls' => array( |
|
1125 'fontSize' => true |
|
1126 ) |
|
1127 ), |
|
1128 'interactivity' => array( |
|
1129 'clientNavigation' => true |
|
1130 ) |
|
1131 ), |
|
1132 'style' => 'wp-block-comment-template' |
|
1133 ), |
|
1134 'comments' => array( |
|
1135 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1136 'apiVersion' => 3, |
|
1137 'name' => 'core/comments', |
|
1138 'title' => 'Comments', |
|
1139 'category' => 'theme', |
|
1140 'description' => 'An advanced block that allows displaying post comments using different visual configurations.', |
|
1141 'textdomain' => 'default', |
|
1142 'attributes' => array( |
|
1143 'tagName' => array( |
|
1144 'type' => 'string', |
|
1145 'default' => 'div' |
|
1146 ), |
|
1147 'legacy' => array( |
|
1148 'type' => 'boolean', |
|
1149 'default' => false |
|
1150 ) |
|
1151 ), |
|
1152 'supports' => array( |
|
1153 'align' => array( |
|
1154 'wide', |
|
1155 'full' |
|
1156 ), |
|
1157 'html' => false, |
|
1158 'color' => array( |
|
1159 'gradients' => true, |
|
1160 'heading' => true, |
|
1161 'link' => true, |
|
1162 '__experimentalDefaultControls' => array( |
|
1163 'background' => true, |
|
1164 'text' => true, |
|
1165 'link' => true |
|
1166 ) |
|
1167 ), |
|
1168 'spacing' => array( |
|
1169 'margin' => true, |
|
1170 'padding' => true |
|
1171 ), |
|
1172 'typography' => array( |
|
1173 'fontSize' => true, |
|
1174 'lineHeight' => true, |
|
1175 '__experimentalFontFamily' => true, |
|
1176 '__experimentalFontWeight' => true, |
|
1177 '__experimentalFontStyle' => true, |
|
1178 '__experimentalTextTransform' => true, |
|
1179 '__experimentalTextDecoration' => true, |
|
1180 '__experimentalLetterSpacing' => true, |
|
1181 '__experimentalDefaultControls' => array( |
|
1182 'fontSize' => true |
|
1183 ) |
|
1184 ) |
|
1185 ), |
|
1186 'editorStyle' => 'wp-block-comments-editor', |
|
1187 'usesContext' => array( |
|
1188 'postId', |
|
1189 'postType' |
|
1190 ) |
|
1191 ), |
|
1192 'comments-pagination' => array( |
|
1193 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1194 'apiVersion' => 3, |
|
1195 'name' => 'core/comments-pagination', |
|
1196 'title' => 'Comments Pagination', |
|
1197 'category' => 'theme', |
|
1198 'parent' => array( |
|
1199 'core/comments' |
|
1200 ), |
|
1201 'allowedBlocks' => array( |
|
1202 'core/comments-pagination-previous', |
|
1203 'core/comments-pagination-numbers', |
|
1204 'core/comments-pagination-next' |
|
1205 ), |
|
1206 'description' => 'Displays a paginated navigation to next/previous set of comments, when applicable.', |
|
1207 'textdomain' => 'default', |
|
1208 'attributes' => array( |
|
1209 'paginationArrow' => array( |
|
1210 'type' => 'string', |
|
1211 'default' => 'none' |
|
1212 ) |
|
1213 ), |
|
1214 'providesContext' => array( |
|
1215 'comments/paginationArrow' => 'paginationArrow' |
|
1216 ), |
|
1217 'supports' => array( |
|
1218 'align' => true, |
|
1219 'reusable' => false, |
|
1220 'html' => false, |
|
1221 'color' => array( |
|
1222 'gradients' => true, |
|
1223 'link' => true, |
|
1224 '__experimentalDefaultControls' => array( |
|
1225 'background' => true, |
|
1226 'text' => true, |
|
1227 'link' => true |
|
1228 ) |
|
1229 ), |
|
1230 'layout' => array( |
|
1231 'allowSwitching' => false, |
|
1232 'allowInheriting' => false, |
|
1233 'default' => array( |
|
1234 'type' => 'flex' |
|
1235 ) |
|
1236 ), |
|
1237 'typography' => array( |
|
1238 'fontSize' => true, |
|
1239 'lineHeight' => true, |
|
1240 '__experimentalFontFamily' => true, |
|
1241 '__experimentalFontWeight' => true, |
|
1242 '__experimentalFontStyle' => true, |
|
1243 '__experimentalTextTransform' => true, |
|
1244 '__experimentalTextDecoration' => true, |
|
1245 '__experimentalLetterSpacing' => true, |
|
1246 '__experimentalDefaultControls' => array( |
|
1247 'fontSize' => true |
|
1248 ) |
|
1249 ), |
|
1250 'interactivity' => array( |
|
1251 'clientNavigation' => true |
|
1252 ) |
|
1253 ), |
|
1254 'editorStyle' => 'wp-block-comments-pagination-editor', |
|
1255 'style' => 'wp-block-comments-pagination' |
|
1256 ), |
|
1257 'comments-pagination-next' => array( |
|
1258 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1259 'apiVersion' => 3, |
|
1260 'name' => 'core/comments-pagination-next', |
|
1261 'title' => 'Comments Next Page', |
|
1262 'category' => 'theme', |
|
1263 'parent' => array( |
|
1264 'core/comments-pagination' |
|
1265 ), |
|
1266 'description' => 'Displays the next comment\'s page link.', |
|
1267 'textdomain' => 'default', |
|
1268 'attributes' => array( |
|
1269 'label' => array( |
|
1270 'type' => 'string' |
|
1271 ) |
|
1272 ), |
|
1273 'usesContext' => array( |
|
1274 'postId', |
|
1275 'comments/paginationArrow' |
|
1276 ), |
|
1277 'supports' => array( |
|
1278 'reusable' => false, |
|
1279 'html' => false, |
|
1280 'color' => array( |
|
1281 'gradients' => true, |
|
1282 'text' => false, |
|
1283 '__experimentalDefaultControls' => array( |
|
1284 'background' => true |
|
1285 ) |
|
1286 ), |
|
1287 'typography' => array( |
|
1288 'fontSize' => true, |
|
1289 'lineHeight' => true, |
|
1290 '__experimentalFontFamily' => true, |
|
1291 '__experimentalFontWeight' => true, |
|
1292 '__experimentalFontStyle' => true, |
|
1293 '__experimentalTextTransform' => true, |
|
1294 '__experimentalTextDecoration' => true, |
|
1295 '__experimentalLetterSpacing' => true, |
|
1296 '__experimentalDefaultControls' => array( |
|
1297 'fontSize' => true |
|
1298 ) |
|
1299 ), |
|
1300 'interactivity' => array( |
|
1301 'clientNavigation' => true |
|
1302 ) |
|
1303 ) |
|
1304 ), |
|
1305 'comments-pagination-numbers' => array( |
|
1306 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1307 'apiVersion' => 3, |
|
1308 'name' => 'core/comments-pagination-numbers', |
|
1309 'title' => 'Comments Page Numbers', |
|
1310 'category' => 'theme', |
|
1311 'parent' => array( |
|
1312 'core/comments-pagination' |
|
1313 ), |
|
1314 'description' => 'Displays a list of page numbers for comments pagination.', |
|
1315 'textdomain' => 'default', |
|
1316 'usesContext' => array( |
|
1317 'postId' |
|
1318 ), |
|
1319 'supports' => array( |
|
1320 'reusable' => false, |
|
1321 'html' => false, |
|
1322 'color' => array( |
|
1323 'gradients' => true, |
|
1324 'text' => false, |
|
1325 '__experimentalDefaultControls' => array( |
|
1326 'background' => true |
|
1327 ) |
|
1328 ), |
|
1329 'typography' => array( |
|
1330 'fontSize' => true, |
|
1331 'lineHeight' => true, |
|
1332 '__experimentalFontFamily' => true, |
|
1333 '__experimentalFontWeight' => true, |
|
1334 '__experimentalFontStyle' => true, |
|
1335 '__experimentalTextTransform' => true, |
|
1336 '__experimentalTextDecoration' => true, |
|
1337 '__experimentalLetterSpacing' => true, |
|
1338 '__experimentalDefaultControls' => array( |
|
1339 'fontSize' => true |
|
1340 ) |
|
1341 ), |
|
1342 'interactivity' => array( |
|
1343 'clientNavigation' => true |
|
1344 ) |
|
1345 ) |
|
1346 ), |
|
1347 'comments-pagination-previous' => array( |
|
1348 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1349 'apiVersion' => 3, |
|
1350 'name' => 'core/comments-pagination-previous', |
|
1351 'title' => 'Comments Previous Page', |
|
1352 'category' => 'theme', |
|
1353 'parent' => array( |
|
1354 'core/comments-pagination' |
|
1355 ), |
|
1356 'description' => 'Displays the previous comment\'s page link.', |
|
1357 'textdomain' => 'default', |
|
1358 'attributes' => array( |
|
1359 'label' => array( |
|
1360 'type' => 'string' |
|
1361 ) |
|
1362 ), |
|
1363 'usesContext' => array( |
|
1364 'postId', |
|
1365 'comments/paginationArrow' |
|
1366 ), |
|
1367 'supports' => array( |
|
1368 'reusable' => false, |
|
1369 'html' => false, |
|
1370 'color' => array( |
|
1371 'gradients' => true, |
|
1372 'text' => false, |
|
1373 '__experimentalDefaultControls' => array( |
|
1374 'background' => true |
|
1375 ) |
|
1376 ), |
|
1377 'typography' => array( |
|
1378 'fontSize' => true, |
|
1379 'lineHeight' => true, |
|
1380 '__experimentalFontFamily' => true, |
|
1381 '__experimentalFontWeight' => true, |
|
1382 '__experimentalFontStyle' => true, |
|
1383 '__experimentalTextTransform' => true, |
|
1384 '__experimentalTextDecoration' => true, |
|
1385 '__experimentalLetterSpacing' => true, |
|
1386 '__experimentalDefaultControls' => array( |
|
1387 'fontSize' => true |
|
1388 ) |
|
1389 ), |
|
1390 'interactivity' => array( |
|
1391 'clientNavigation' => true |
|
1392 ) |
|
1393 ) |
|
1394 ), |
|
1395 'comments-title' => array( |
|
1396 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1397 'apiVersion' => 3, |
|
1398 'name' => 'core/comments-title', |
|
1399 'title' => 'Comments Title', |
|
1400 'category' => 'theme', |
|
1401 'ancestor' => array( |
|
1402 'core/comments' |
|
1403 ), |
|
1404 'description' => 'Displays a title with the number of comments.', |
|
1405 'textdomain' => 'default', |
|
1406 'usesContext' => array( |
|
1407 'postId', |
|
1408 'postType' |
|
1409 ), |
|
1410 'attributes' => array( |
|
1411 'textAlign' => array( |
|
1412 'type' => 'string' |
|
1413 ), |
|
1414 'showPostTitle' => array( |
|
1415 'type' => 'boolean', |
|
1416 'default' => true |
|
1417 ), |
|
1418 'showCommentsCount' => array( |
|
1419 'type' => 'boolean', |
|
1420 'default' => true |
|
1421 ), |
|
1422 'level' => array( |
|
1423 'type' => 'number', |
|
1424 'default' => 2 |
|
1425 ) |
|
1426 ), |
|
1427 'supports' => array( |
|
1428 'anchor' => false, |
|
1429 'align' => true, |
|
1430 'html' => false, |
|
1431 '__experimentalBorder' => array( |
|
1432 'radius' => true, |
|
1433 'color' => true, |
|
1434 'width' => true, |
|
1435 'style' => true |
|
1436 ), |
|
1437 'color' => array( |
|
1438 'gradients' => true, |
|
1439 '__experimentalDefaultControls' => array( |
|
1440 'background' => true, |
|
1441 'text' => true |
|
1442 ) |
|
1443 ), |
|
1444 'spacing' => array( |
|
1445 'margin' => true, |
|
1446 'padding' => true |
|
1447 ), |
|
1448 'typography' => array( |
|
1449 'fontSize' => true, |
|
1450 'lineHeight' => true, |
|
1451 '__experimentalFontFamily' => true, |
|
1452 '__experimentalFontWeight' => true, |
|
1453 '__experimentalFontStyle' => true, |
|
1454 '__experimentalTextTransform' => true, |
|
1455 '__experimentalTextDecoration' => true, |
|
1456 '__experimentalLetterSpacing' => true, |
|
1457 '__experimentalDefaultControls' => array( |
|
1458 'fontSize' => true, |
|
1459 '__experimentalFontFamily' => true, |
|
1460 '__experimentalFontStyle' => true, |
|
1461 '__experimentalFontWeight' => true |
|
1462 ) |
|
1463 ), |
|
1464 'interactivity' => array( |
|
1465 'clientNavigation' => true |
|
1466 ) |
|
1467 ) |
|
1468 ), |
|
1469 'cover' => array( |
|
1470 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1471 'apiVersion' => 3, |
|
1472 'name' => 'core/cover', |
|
1473 'title' => 'Cover', |
|
1474 'category' => 'media', |
|
1475 'description' => 'Add an image or video with a text overlay.', |
|
1476 'textdomain' => 'default', |
|
1477 'attributes' => array( |
|
1478 'url' => array( |
|
1479 'type' => 'string' |
|
1480 ), |
|
1481 'useFeaturedImage' => array( |
|
1482 'type' => 'boolean', |
|
1483 'default' => false |
|
1484 ), |
|
1485 'id' => array( |
|
1486 'type' => 'number' |
|
1487 ), |
|
1488 'alt' => array( |
|
1489 'type' => 'string', |
|
1490 'default' => '' |
|
1491 ), |
|
1492 'hasParallax' => array( |
|
1493 'type' => 'boolean', |
|
1494 'default' => false |
|
1495 ), |
|
1496 'isRepeated' => array( |
|
1497 'type' => 'boolean', |
|
1498 'default' => false |
|
1499 ), |
|
1500 'dimRatio' => array( |
|
1501 'type' => 'number', |
|
1502 'default' => 100 |
|
1503 ), |
|
1504 'overlayColor' => array( |
|
1505 'type' => 'string' |
|
1506 ), |
|
1507 'customOverlayColor' => array( |
|
1508 'type' => 'string' |
|
1509 ), |
|
1510 'isUserOverlayColor' => array( |
|
1511 'type' => 'boolean' |
|
1512 ), |
|
1513 'backgroundType' => array( |
|
1514 'type' => 'string', |
|
1515 'default' => 'image' |
|
1516 ), |
|
1517 'focalPoint' => array( |
|
1518 'type' => 'object' |
|
1519 ), |
|
1520 'minHeight' => array( |
|
1521 'type' => 'number' |
|
1522 ), |
|
1523 'minHeightUnit' => array( |
|
1524 'type' => 'string' |
|
1525 ), |
|
1526 'gradient' => array( |
|
1527 'type' => 'string' |
|
1528 ), |
|
1529 'customGradient' => array( |
|
1530 'type' => 'string' |
|
1531 ), |
|
1532 'contentPosition' => array( |
|
1533 'type' => 'string' |
|
1534 ), |
|
1535 'isDark' => array( |
|
1536 'type' => 'boolean', |
|
1537 'default' => true |
|
1538 ), |
|
1539 'allowedBlocks' => array( |
|
1540 'type' => 'array' |
|
1541 ), |
|
1542 'templateLock' => array( |
|
1543 'type' => array( |
|
1544 'string', |
|
1545 'boolean' |
|
1546 ), |
|
1547 'enum' => array( |
|
1548 'all', |
|
1549 'insert', |
|
1550 'contentOnly', |
|
1551 false |
|
1552 ) |
|
1553 ), |
|
1554 'tagName' => array( |
|
1555 'type' => 'string', |
|
1556 'default' => 'div' |
|
1557 ) |
|
1558 ), |
|
1559 'usesContext' => array( |
|
1560 'postId', |
|
1561 'postType' |
|
1562 ), |
|
1563 'supports' => array( |
|
1564 'anchor' => true, |
|
1565 'align' => true, |
|
1566 'html' => false, |
|
1567 'shadow' => true, |
|
1568 'spacing' => array( |
|
1569 'padding' => true, |
|
1570 'margin' => array( |
|
1571 'top', |
|
1572 'bottom' |
|
1573 ), |
|
1574 'blockGap' => true, |
|
1575 '__experimentalDefaultControls' => array( |
|
1576 'padding' => true, |
|
1577 'blockGap' => true |
|
1578 ) |
|
1579 ), |
|
1580 '__experimentalBorder' => array( |
|
1581 'color' => true, |
|
1582 'radius' => true, |
|
1583 'style' => true, |
|
1584 'width' => true, |
|
1585 '__experimentalDefaultControls' => array( |
|
1586 'color' => true, |
|
1587 'radius' => true, |
|
1588 'style' => true, |
|
1589 'width' => true |
|
1590 ) |
|
1591 ), |
|
1592 'color' => array( |
|
1593 '__experimentalDuotone' => '> .wp-block-cover__image-background, > .wp-block-cover__video-background', |
|
1594 'heading' => true, |
|
1595 'text' => true, |
|
1596 'background' => false, |
|
1597 '__experimentalSkipSerialization' => array( |
|
1598 'gradients' |
|
1599 ), |
|
1600 'enableContrastChecker' => false |
|
1601 ), |
|
1602 'dimensions' => array( |
|
1603 'aspectRatio' => true |
|
1604 ), |
|
1605 'typography' => array( |
|
1606 'fontSize' => true, |
|
1607 'lineHeight' => true, |
|
1608 '__experimentalFontFamily' => true, |
|
1609 '__experimentalFontWeight' => true, |
|
1610 '__experimentalFontStyle' => true, |
|
1611 '__experimentalTextTransform' => true, |
|
1612 '__experimentalTextDecoration' => true, |
|
1613 '__experimentalLetterSpacing' => true, |
|
1614 '__experimentalDefaultControls' => array( |
|
1615 'fontSize' => true |
|
1616 ) |
|
1617 ), |
|
1618 'layout' => array( |
|
1619 'allowJustification' => false |
|
1620 ), |
|
1621 'interactivity' => array( |
|
1622 'clientNavigation' => true |
|
1623 ) |
|
1624 ), |
|
1625 'editorStyle' => 'wp-block-cover-editor', |
|
1626 'style' => 'wp-block-cover' |
|
1627 ), |
|
1628 'details' => array( |
|
1629 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1630 'apiVersion' => 3, |
|
1631 'name' => 'core/details', |
|
1632 'title' => 'Details', |
|
1633 'category' => 'text', |
|
1634 'description' => 'Hide and show additional content.', |
|
1635 'keywords' => array( |
|
1636 'accordion', |
|
1637 'summary', |
|
1638 'toggle', |
|
1639 'disclosure' |
|
1640 ), |
|
1641 'textdomain' => 'default', |
|
1642 'attributes' => array( |
|
1643 'showContent' => array( |
|
1644 'type' => 'boolean', |
|
1645 'default' => false |
|
1646 ), |
|
1647 'summary' => array( |
|
1648 'type' => 'rich-text', |
|
1649 'source' => 'rich-text', |
|
1650 'selector' => 'summary' |
|
1651 ) |
|
1652 ), |
|
1653 'supports' => array( |
|
1654 '__experimentalOnEnter' => true, |
|
1655 'align' => array( |
|
1656 'wide', |
|
1657 'full' |
|
1658 ), |
|
1659 'color' => array( |
|
1660 'gradients' => true, |
|
1661 'link' => true, |
|
1662 '__experimentalDefaultControls' => array( |
|
1663 'background' => true, |
|
1664 'text' => true |
|
1665 ) |
|
1666 ), |
|
1667 '__experimentalBorder' => array( |
|
1668 'color' => true, |
|
1669 'width' => true, |
|
1670 'style' => true |
|
1671 ), |
|
1672 'html' => false, |
|
1673 'spacing' => array( |
|
1674 'margin' => true, |
|
1675 'padding' => true, |
|
1676 'blockGap' => true, |
|
1677 '__experimentalDefaultControls' => array( |
|
1678 'margin' => false, |
|
1679 'padding' => false |
|
1680 ) |
|
1681 ), |
|
1682 'typography' => array( |
|
1683 'fontSize' => true, |
|
1684 'lineHeight' => true, |
|
1685 '__experimentalFontFamily' => true, |
|
1686 '__experimentalFontWeight' => true, |
|
1687 '__experimentalFontStyle' => true, |
|
1688 '__experimentalTextTransform' => true, |
|
1689 '__experimentalTextDecoration' => true, |
|
1690 '__experimentalLetterSpacing' => true, |
|
1691 '__experimentalDefaultControls' => array( |
|
1692 'fontSize' => true |
|
1693 ) |
|
1694 ), |
|
1695 'layout' => array( |
|
1696 'allowEditing' => false |
|
1697 ), |
|
1698 'interactivity' => array( |
|
1699 'clientNavigation' => true |
|
1700 ) |
|
1701 ), |
|
1702 'editorStyle' => 'wp-block-details-editor', |
|
1703 'style' => 'wp-block-details' |
|
1704 ), |
|
1705 'embed' => array( |
|
1706 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1707 'apiVersion' => 3, |
|
1708 'name' => 'core/embed', |
|
1709 'title' => 'Embed', |
|
1710 'category' => 'embed', |
|
1711 'description' => 'Add a block that displays content pulled from other sites, like Twitter or YouTube.', |
|
1712 'textdomain' => 'default', |
|
1713 'attributes' => array( |
|
1714 'url' => array( |
|
1715 'type' => 'string', |
|
1716 '__experimentalRole' => 'content' |
|
1717 ), |
|
1718 'caption' => array( |
|
1719 'type' => 'rich-text', |
|
1720 'source' => 'rich-text', |
|
1721 'selector' => 'figcaption', |
|
1722 '__experimentalRole' => 'content' |
|
1723 ), |
|
1724 'type' => array( |
|
1725 'type' => 'string', |
|
1726 '__experimentalRole' => 'content' |
|
1727 ), |
|
1728 'providerNameSlug' => array( |
|
1729 'type' => 'string', |
|
1730 '__experimentalRole' => 'content' |
|
1731 ), |
|
1732 'allowResponsive' => array( |
|
1733 'type' => 'boolean', |
|
1734 'default' => true |
|
1735 ), |
|
1736 'responsive' => array( |
|
1737 'type' => 'boolean', |
|
1738 'default' => false, |
|
1739 '__experimentalRole' => 'content' |
|
1740 ), |
|
1741 'previewable' => array( |
|
1742 'type' => 'boolean', |
|
1743 'default' => true, |
|
1744 '__experimentalRole' => 'content' |
|
1745 ) |
|
1746 ), |
|
1747 'supports' => array( |
|
1748 'align' => true, |
|
1749 'spacing' => array( |
|
1750 'margin' => true |
|
1751 ), |
|
1752 'interactivity' => array( |
|
1753 'clientNavigation' => true |
|
1754 ) |
|
1755 ), |
|
1756 'editorStyle' => 'wp-block-embed-editor', |
|
1757 'style' => 'wp-block-embed' |
|
1758 ), |
|
1759 'file' => array( |
|
1760 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1761 'apiVersion' => 3, |
|
1762 'name' => 'core/file', |
|
1763 'title' => 'File', |
|
1764 'category' => 'media', |
|
1765 'description' => 'Add a link to a downloadable file.', |
|
1766 'keywords' => array( |
|
1767 'document', |
|
1768 'pdf', |
|
1769 'download' |
|
1770 ), |
|
1771 'textdomain' => 'default', |
|
1772 'attributes' => array( |
|
1773 'id' => array( |
|
1774 'type' => 'number' |
|
1775 ), |
|
1776 'href' => array( |
|
1777 'type' => 'string' |
|
1778 ), |
|
1779 'fileId' => array( |
|
1780 'type' => 'string', |
|
1781 'source' => 'attribute', |
|
1782 'selector' => 'a:not([download])', |
|
1783 'attribute' => 'id' |
|
1784 ), |
|
1785 'fileName' => array( |
|
1786 'type' => 'rich-text', |
|
1787 'source' => 'rich-text', |
|
1788 'selector' => 'a:not([download])' |
|
1789 ), |
|
1790 'textLinkHref' => array( |
|
1791 'type' => 'string', |
|
1792 'source' => 'attribute', |
|
1793 'selector' => 'a:not([download])', |
|
1794 'attribute' => 'href' |
|
1795 ), |
|
1796 'textLinkTarget' => array( |
|
1797 'type' => 'string', |
|
1798 'source' => 'attribute', |
|
1799 'selector' => 'a:not([download])', |
|
1800 'attribute' => 'target' |
|
1801 ), |
|
1802 'showDownloadButton' => array( |
|
1803 'type' => 'boolean', |
|
1804 'default' => true |
|
1805 ), |
|
1806 'downloadButtonText' => array( |
|
1807 'type' => 'rich-text', |
|
1808 'source' => 'rich-text', |
|
1809 'selector' => 'a[download]' |
|
1810 ), |
|
1811 'displayPreview' => array( |
|
1812 'type' => 'boolean' |
|
1813 ), |
|
1814 'previewHeight' => array( |
|
1815 'type' => 'number', |
|
1816 'default' => 600 |
|
1817 ) |
|
1818 ), |
|
1819 'supports' => array( |
|
1820 'anchor' => true, |
|
1821 'align' => true, |
|
1822 'spacing' => array( |
|
1823 'margin' => true, |
|
1824 'padding' => true |
|
1825 ), |
|
1826 'color' => array( |
|
1827 'gradients' => true, |
|
1828 'link' => true, |
|
1829 'text' => false, |
|
1830 '__experimentalDefaultControls' => array( |
|
1831 'background' => true, |
|
1832 'link' => true |
|
1833 ) |
|
1834 ), |
|
1835 'interactivity' => true |
|
1836 ), |
|
1837 'editorStyle' => 'wp-block-file-editor', |
|
1838 'style' => 'wp-block-file' |
|
1839 ), |
|
1840 'footnotes' => array( |
|
1841 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1842 'apiVersion' => 3, |
|
1843 'name' => 'core/footnotes', |
|
1844 'title' => 'Footnotes', |
|
1845 'category' => 'text', |
|
1846 'description' => 'Display footnotes added to the page.', |
|
1847 'keywords' => array( |
|
1848 'references' |
|
1849 ), |
|
1850 'textdomain' => 'default', |
|
1851 'usesContext' => array( |
|
1852 'postId', |
|
1853 'postType' |
|
1854 ), |
|
1855 'supports' => array( |
|
1856 '__experimentalBorder' => array( |
|
1857 'radius' => true, |
|
1858 'color' => true, |
|
1859 'width' => true, |
|
1860 'style' => true, |
|
1861 '__experimentalDefaultControls' => array( |
|
1862 'radius' => false, |
|
1863 'color' => false, |
|
1864 'width' => false, |
|
1865 'style' => false |
|
1866 ) |
|
1867 ), |
|
1868 'color' => array( |
|
1869 'background' => true, |
|
1870 'link' => true, |
|
1871 'text' => true, |
|
1872 '__experimentalDefaultControls' => array( |
|
1873 'link' => true, |
|
1874 'text' => true |
|
1875 ) |
|
1876 ), |
|
1877 'html' => false, |
|
1878 'multiple' => false, |
|
1879 'reusable' => false, |
|
1880 'inserter' => false, |
|
1881 'spacing' => array( |
|
1882 'margin' => true, |
|
1883 'padding' => true, |
|
1884 '__experimentalDefaultControls' => array( |
|
1885 'margin' => false, |
|
1886 'padding' => false |
|
1887 ) |
|
1888 ), |
|
1889 'typography' => array( |
|
1890 'fontSize' => true, |
|
1891 'lineHeight' => true, |
|
1892 '__experimentalFontFamily' => true, |
|
1893 '__experimentalTextDecoration' => true, |
|
1894 '__experimentalFontStyle' => true, |
|
1895 '__experimentalFontWeight' => true, |
|
1896 '__experimentalLetterSpacing' => true, |
|
1897 '__experimentalTextTransform' => true, |
|
1898 '__experimentalWritingMode' => true, |
|
1899 '__experimentalDefaultControls' => array( |
|
1900 'fontSize' => true |
|
1901 ) |
|
1902 ), |
|
1903 'interactivity' => array( |
|
1904 'clientNavigation' => true |
|
1905 ) |
|
1906 ), |
|
1907 'style' => 'wp-block-footnotes' |
|
1908 ), |
|
1909 'freeform' => array( |
|
1910 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1911 'apiVersion' => 3, |
|
1912 'name' => 'core/freeform', |
|
1913 'title' => 'Classic', |
|
1914 'category' => 'text', |
|
1915 'description' => 'Use the classic WordPress editor.', |
|
1916 'textdomain' => 'default', |
|
1917 'attributes' => array( |
|
1918 'content' => array( |
|
1919 'type' => 'string', |
|
1920 'source' => 'raw' |
|
1921 ) |
|
1922 ), |
|
1923 'supports' => array( |
|
1924 'className' => false, |
|
1925 'customClassName' => false, |
|
1926 'reusable' => false |
|
1927 ), |
|
1928 'editorStyle' => 'wp-block-freeform-editor' |
|
1929 ), |
|
1930 'gallery' => array( |
|
1931 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
1932 'apiVersion' => 3, |
|
1933 'name' => 'core/gallery', |
|
1934 'title' => 'Gallery', |
|
1935 'category' => 'media', |
|
1936 'allowedBlocks' => array( |
|
1937 'core/image' |
|
1938 ), |
|
1939 'description' => 'Display multiple images in a rich gallery.', |
|
1940 'keywords' => array( |
|
1941 'images', |
|
1942 'photos' |
|
1943 ), |
|
1944 'textdomain' => 'default', |
|
1945 'attributes' => array( |
|
1946 'images' => array( |
|
1947 'type' => 'array', |
|
1948 'default' => array( |
|
1949 |
|
1950 ), |
|
1951 'source' => 'query', |
|
1952 'selector' => '.blocks-gallery-item', |
|
1953 'query' => array( |
|
1954 'url' => array( |
|
1955 'type' => 'string', |
|
1956 'source' => 'attribute', |
|
1957 'selector' => 'img', |
|
1958 'attribute' => 'src' |
|
1959 ), |
|
1960 'fullUrl' => array( |
|
1961 'type' => 'string', |
|
1962 'source' => 'attribute', |
|
1963 'selector' => 'img', |
|
1964 'attribute' => 'data-full-url' |
|
1965 ), |
|
1966 'link' => array( |
|
1967 'type' => 'string', |
|
1968 'source' => 'attribute', |
|
1969 'selector' => 'img', |
|
1970 'attribute' => 'data-link' |
|
1971 ), |
|
1972 'alt' => array( |
|
1973 'type' => 'string', |
|
1974 'source' => 'attribute', |
|
1975 'selector' => 'img', |
|
1976 'attribute' => 'alt', |
|
1977 'default' => '' |
|
1978 ), |
|
1979 'id' => array( |
|
1980 'type' => 'string', |
|
1981 'source' => 'attribute', |
|
1982 'selector' => 'img', |
|
1983 'attribute' => 'data-id' |
|
1984 ), |
|
1985 'caption' => array( |
|
1986 'type' => 'rich-text', |
|
1987 'source' => 'rich-text', |
|
1988 'selector' => '.blocks-gallery-item__caption' |
|
1989 ) |
|
1990 ) |
|
1991 ), |
|
1992 'ids' => array( |
|
1993 'type' => 'array', |
|
1994 'items' => array( |
|
1995 'type' => 'number' |
|
1996 ), |
|
1997 'default' => array( |
|
1998 |
|
1999 ) |
|
2000 ), |
|
2001 'shortCodeTransforms' => array( |
|
2002 'type' => 'array', |
|
2003 'items' => array( |
|
2004 'type' => 'object' |
|
2005 ), |
|
2006 'default' => array( |
|
2007 |
|
2008 ) |
|
2009 ), |
|
2010 'columns' => array( |
|
2011 'type' => 'number', |
|
2012 'minimum' => 1, |
|
2013 'maximum' => 8 |
|
2014 ), |
|
2015 'caption' => array( |
|
2016 'type' => 'rich-text', |
|
2017 'source' => 'rich-text', |
|
2018 'selector' => '.blocks-gallery-caption' |
|
2019 ), |
|
2020 'imageCrop' => array( |
|
2021 'type' => 'boolean', |
|
2022 'default' => true |
|
2023 ), |
|
2024 'randomOrder' => array( |
|
2025 'type' => 'boolean', |
|
2026 'default' => false |
|
2027 ), |
|
2028 'fixedHeight' => array( |
|
2029 'type' => 'boolean', |
|
2030 'default' => true |
|
2031 ), |
|
2032 'linkTarget' => array( |
|
2033 'type' => 'string' |
|
2034 ), |
|
2035 'linkTo' => array( |
|
2036 'type' => 'string' |
|
2037 ), |
|
2038 'sizeSlug' => array( |
|
2039 'type' => 'string', |
|
2040 'default' => 'large' |
|
2041 ), |
|
2042 'allowResize' => array( |
|
2043 'type' => 'boolean', |
|
2044 'default' => false |
|
2045 ) |
|
2046 ), |
|
2047 'providesContext' => array( |
|
2048 'allowResize' => 'allowResize', |
|
2049 'imageCrop' => 'imageCrop', |
|
2050 'fixedHeight' => 'fixedHeight' |
|
2051 ), |
|
2052 'supports' => array( |
|
2053 'anchor' => true, |
|
2054 'align' => true, |
|
2055 'html' => false, |
|
2056 'units' => array( |
|
2057 'px', |
|
2058 'em', |
|
2059 'rem', |
|
2060 'vh', |
|
2061 'vw' |
|
2062 ), |
|
2063 'spacing' => array( |
|
2064 'margin' => true, |
|
2065 'padding' => true, |
|
2066 'blockGap' => array( |
|
2067 'horizontal', |
|
2068 'vertical' |
|
2069 ), |
|
2070 '__experimentalSkipSerialization' => array( |
|
2071 'blockGap' |
|
2072 ), |
|
2073 '__experimentalDefaultControls' => array( |
|
2074 'blockGap' => true, |
|
2075 'margin' => false, |
|
2076 'padding' => false |
|
2077 ) |
|
2078 ), |
|
2079 'color' => array( |
|
2080 'text' => false, |
|
2081 'background' => true, |
|
2082 'gradients' => true |
|
2083 ), |
|
2084 'layout' => array( |
|
2085 'allowSwitching' => false, |
|
2086 'allowInheriting' => false, |
|
2087 'allowEditing' => false, |
|
2088 'default' => array( |
|
2089 'type' => 'flex' |
|
2090 ) |
|
2091 ), |
|
2092 'interactivity' => array( |
|
2093 'clientNavigation' => true |
|
2094 ) |
|
2095 ), |
|
2096 'editorStyle' => 'wp-block-gallery-editor', |
|
2097 'style' => 'wp-block-gallery' |
|
2098 ), |
|
2099 'group' => array( |
|
2100 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2101 'apiVersion' => 3, |
|
2102 'name' => 'core/group', |
|
2103 'title' => 'Group', |
|
2104 'category' => 'design', |
|
2105 'description' => 'Gather blocks in a layout container.', |
|
2106 'keywords' => array( |
|
2107 'container', |
|
2108 'wrapper', |
|
2109 'row', |
|
2110 'section' |
|
2111 ), |
|
2112 'textdomain' => 'default', |
|
2113 'attributes' => array( |
|
2114 'tagName' => array( |
|
2115 'type' => 'string', |
|
2116 'default' => 'div' |
|
2117 ), |
|
2118 'templateLock' => array( |
|
2119 'type' => array( |
|
2120 'string', |
|
2121 'boolean' |
|
2122 ), |
|
2123 'enum' => array( |
|
2124 'all', |
|
2125 'insert', |
|
2126 'contentOnly', |
|
2127 false |
|
2128 ) |
|
2129 ), |
|
2130 'allowedBlocks' => array( |
|
2131 'type' => 'array' |
|
2132 ) |
|
2133 ), |
|
2134 'supports' => array( |
|
2135 '__experimentalOnEnter' => true, |
|
2136 '__experimentalOnMerge' => true, |
|
2137 '__experimentalSettings' => true, |
|
2138 'align' => array( |
|
2139 'wide', |
|
2140 'full' |
|
2141 ), |
|
2142 'anchor' => true, |
|
2143 'ariaLabel' => true, |
|
2144 'html' => false, |
|
2145 'background' => array( |
|
2146 'backgroundImage' => true, |
|
2147 'backgroundSize' => true, |
|
2148 '__experimentalDefaultControls' => array( |
|
2149 'backgroundImage' => true |
|
2150 ) |
|
2151 ), |
|
2152 'color' => array( |
|
2153 'gradients' => true, |
|
2154 'heading' => true, |
|
2155 'button' => true, |
|
2156 'link' => true, |
|
2157 '__experimentalDefaultControls' => array( |
|
2158 'background' => true, |
|
2159 'text' => true |
|
2160 ) |
|
2161 ), |
|
2162 'spacing' => array( |
|
2163 'margin' => array( |
|
2164 'top', |
|
2165 'bottom' |
|
2166 ), |
|
2167 'padding' => true, |
|
2168 'blockGap' => true, |
|
2169 '__experimentalDefaultControls' => array( |
|
2170 'padding' => true, |
|
2171 'blockGap' => true |
|
2172 ) |
|
2173 ), |
|
2174 'dimensions' => array( |
|
2175 'minHeight' => true |
|
2176 ), |
|
2177 '__experimentalBorder' => array( |
|
2178 'color' => true, |
|
2179 'radius' => true, |
|
2180 'style' => true, |
|
2181 'width' => true, |
|
2182 '__experimentalDefaultControls' => array( |
|
2183 'color' => true, |
|
2184 'radius' => true, |
|
2185 'style' => true, |
|
2186 'width' => true |
|
2187 ) |
|
2188 ), |
|
2189 'position' => array( |
|
2190 'sticky' => true |
|
2191 ), |
|
2192 'typography' => array( |
|
2193 'fontSize' => true, |
|
2194 'lineHeight' => true, |
|
2195 '__experimentalFontFamily' => true, |
|
2196 '__experimentalFontWeight' => true, |
|
2197 '__experimentalFontStyle' => true, |
|
2198 '__experimentalTextTransform' => true, |
|
2199 '__experimentalTextDecoration' => true, |
|
2200 '__experimentalLetterSpacing' => true, |
|
2201 '__experimentalDefaultControls' => array( |
|
2202 'fontSize' => true |
|
2203 ) |
|
2204 ), |
|
2205 'layout' => array( |
|
2206 'allowSizingOnChildren' => true |
|
2207 ), |
|
2208 'interactivity' => array( |
|
2209 'clientNavigation' => true |
|
2210 ) |
|
2211 ), |
|
2212 'editorStyle' => 'wp-block-group-editor', |
|
2213 'style' => 'wp-block-group' |
|
2214 ), |
|
2215 'heading' => array( |
|
2216 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2217 'apiVersion' => 3, |
|
2218 'name' => 'core/heading', |
|
2219 'title' => 'Heading', |
|
2220 'category' => 'text', |
|
2221 'description' => 'Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.', |
|
2222 'keywords' => array( |
|
2223 'title', |
|
2224 'subtitle' |
|
2225 ), |
|
2226 'textdomain' => 'default', |
|
2227 'attributes' => array( |
|
2228 'textAlign' => array( |
|
2229 'type' => 'string' |
|
2230 ), |
|
2231 'content' => array( |
|
2232 'type' => 'rich-text', |
|
2233 'source' => 'rich-text', |
|
2234 'selector' => 'h1,h2,h3,h4,h5,h6', |
|
2235 '__experimentalRole' => 'content' |
|
2236 ), |
|
2237 'level' => array( |
|
2238 'type' => 'number', |
|
2239 'default' => 2 |
|
2240 ), |
|
2241 'placeholder' => array( |
|
2242 'type' => 'string' |
|
2243 ) |
|
2244 ), |
|
2245 'supports' => array( |
|
2246 'align' => array( |
|
2247 'wide', |
|
2248 'full' |
|
2249 ), |
|
2250 'anchor' => true, |
|
2251 'className' => true, |
|
2252 'splitting' => true, |
|
2253 'color' => array( |
|
2254 'gradients' => true, |
|
2255 'link' => true, |
|
2256 '__experimentalDefaultControls' => array( |
|
2257 'background' => true, |
|
2258 'text' => true |
|
2259 ) |
|
2260 ), |
|
2261 'spacing' => array( |
|
2262 'margin' => true, |
|
2263 'padding' => true, |
|
2264 '__experimentalDefaultControls' => array( |
|
2265 'margin' => false, |
|
2266 'padding' => false |
|
2267 ) |
|
2268 ), |
|
2269 'typography' => array( |
|
2270 'fontSize' => true, |
|
2271 'lineHeight' => true, |
|
2272 '__experimentalFontFamily' => true, |
|
2273 '__experimentalFontStyle' => true, |
|
2274 '__experimentalFontWeight' => true, |
|
2275 '__experimentalLetterSpacing' => true, |
|
2276 '__experimentalTextTransform' => true, |
|
2277 '__experimentalTextDecoration' => true, |
|
2278 '__experimentalWritingMode' => true, |
|
2279 '__experimentalDefaultControls' => array( |
|
2280 'fontSize' => true |
|
2281 ) |
|
2282 ), |
|
2283 '__unstablePasteTextInline' => true, |
|
2284 '__experimentalSlashInserter' => true, |
|
2285 'interactivity' => array( |
|
2286 'clientNavigation' => true |
|
2287 ) |
|
2288 ), |
|
2289 'editorStyle' => 'wp-block-heading-editor', |
|
2290 'style' => 'wp-block-heading' |
|
2291 ), |
|
2292 'home-link' => array( |
|
2293 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2294 'apiVersion' => 3, |
|
2295 'name' => 'core/home-link', |
|
2296 'category' => 'design', |
|
2297 'parent' => array( |
|
2298 'core/navigation' |
|
2299 ), |
|
2300 'title' => 'Home Link', |
|
2301 'description' => 'Create a link that always points to the homepage of the site. Usually not necessary if there is already a site title link present in the header.', |
|
2302 'textdomain' => 'default', |
|
2303 'attributes' => array( |
|
2304 'label' => array( |
|
2305 'type' => 'string' |
|
2306 ) |
|
2307 ), |
|
2308 'usesContext' => array( |
|
2309 'textColor', |
|
2310 'customTextColor', |
|
2311 'backgroundColor', |
|
2312 'customBackgroundColor', |
|
2313 'fontSize', |
|
2314 'customFontSize', |
|
2315 'style' |
|
2316 ), |
|
2317 'supports' => array( |
|
2318 'reusable' => false, |
|
2319 'html' => false, |
|
2320 'typography' => array( |
|
2321 'fontSize' => true, |
|
2322 'lineHeight' => true, |
|
2323 '__experimentalFontFamily' => true, |
|
2324 '__experimentalFontWeight' => true, |
|
2325 '__experimentalFontStyle' => true, |
|
2326 '__experimentalTextTransform' => true, |
|
2327 '__experimentalTextDecoration' => true, |
|
2328 '__experimentalLetterSpacing' => true, |
|
2329 '__experimentalDefaultControls' => array( |
|
2330 'fontSize' => true |
|
2331 ) |
|
2332 ), |
|
2333 'interactivity' => array( |
|
2334 'clientNavigation' => true |
|
2335 ) |
|
2336 ), |
|
2337 'editorStyle' => 'wp-block-home-link-editor', |
|
2338 'style' => 'wp-block-home-link' |
|
2339 ), |
|
2340 'html' => array( |
|
2341 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2342 'apiVersion' => 3, |
|
2343 'name' => 'core/html', |
|
2344 'title' => 'Custom HTML', |
|
2345 'category' => 'widgets', |
|
2346 'description' => 'Add custom HTML code and preview it as you edit.', |
|
2347 'keywords' => array( |
|
2348 'embed' |
|
2349 ), |
|
2350 'textdomain' => 'default', |
|
2351 'attributes' => array( |
|
2352 'content' => array( |
|
2353 'type' => 'string', |
|
2354 'source' => 'raw' |
|
2355 ) |
|
2356 ), |
|
2357 'supports' => array( |
|
2358 'customClassName' => false, |
|
2359 'className' => false, |
|
2360 'html' => false, |
|
2361 'interactivity' => array( |
|
2362 'clientNavigation' => true |
|
2363 ) |
|
2364 ), |
|
2365 'editorStyle' => 'wp-block-html-editor' |
|
2366 ), |
|
2367 'image' => array( |
|
2368 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2369 'apiVersion' => 3, |
|
2370 'name' => 'core/image', |
|
2371 'title' => 'Image', |
|
2372 'category' => 'media', |
|
2373 'usesContext' => array( |
|
2374 'allowResize', |
|
2375 'imageCrop', |
|
2376 'fixedHeight' |
|
2377 ), |
|
2378 'description' => 'Insert an image to make a visual statement.', |
|
2379 'keywords' => array( |
|
2380 'img', |
|
2381 'photo', |
|
2382 'picture' |
|
2383 ), |
|
2384 'textdomain' => 'default', |
|
2385 'attributes' => array( |
|
2386 'url' => array( |
|
2387 'type' => 'string', |
|
2388 'source' => 'attribute', |
|
2389 'selector' => 'img', |
|
2390 'attribute' => 'src', |
|
2391 '__experimentalRole' => 'content' |
|
2392 ), |
|
2393 'alt' => array( |
|
2394 'type' => 'string', |
|
2395 'source' => 'attribute', |
|
2396 'selector' => 'img', |
|
2397 'attribute' => 'alt', |
|
2398 'default' => '', |
|
2399 '__experimentalRole' => 'content' |
|
2400 ), |
|
2401 'caption' => array( |
|
2402 'type' => 'rich-text', |
|
2403 'source' => 'rich-text', |
|
2404 'selector' => 'figcaption', |
|
2405 '__experimentalRole' => 'content' |
|
2406 ), |
|
2407 'lightbox' => array( |
|
2408 'type' => 'object', |
|
2409 'enabled' => array( |
|
2410 'type' => 'boolean' |
|
2411 ) |
|
2412 ), |
|
2413 'title' => array( |
|
2414 'type' => 'string', |
|
2415 'source' => 'attribute', |
|
2416 'selector' => 'img', |
|
2417 'attribute' => 'title', |
|
2418 '__experimentalRole' => 'content' |
|
2419 ), |
|
2420 'href' => array( |
|
2421 'type' => 'string', |
|
2422 'source' => 'attribute', |
|
2423 'selector' => 'figure > a', |
|
2424 'attribute' => 'href', |
|
2425 '__experimentalRole' => 'content' |
|
2426 ), |
|
2427 'rel' => array( |
|
2428 'type' => 'string', |
|
2429 'source' => 'attribute', |
|
2430 'selector' => 'figure > a', |
|
2431 'attribute' => 'rel' |
|
2432 ), |
|
2433 'linkClass' => array( |
|
2434 'type' => 'string', |
|
2435 'source' => 'attribute', |
|
2436 'selector' => 'figure > a', |
|
2437 'attribute' => 'class' |
|
2438 ), |
|
2439 'id' => array( |
|
2440 'type' => 'number', |
|
2441 '__experimentalRole' => 'content' |
|
2442 ), |
|
2443 'width' => array( |
|
2444 'type' => 'string' |
|
2445 ), |
|
2446 'height' => array( |
|
2447 'type' => 'string' |
|
2448 ), |
|
2449 'aspectRatio' => array( |
|
2450 'type' => 'string' |
|
2451 ), |
|
2452 'scale' => array( |
|
2453 'type' => 'string' |
|
2454 ), |
|
2455 'sizeSlug' => array( |
|
2456 'type' => 'string' |
|
2457 ), |
|
2458 'linkDestination' => array( |
|
2459 'type' => 'string' |
|
2460 ), |
|
2461 'linkTarget' => array( |
|
2462 'type' => 'string', |
|
2463 'source' => 'attribute', |
|
2464 'selector' => 'figure > a', |
|
2465 'attribute' => 'target' |
|
2466 ) |
|
2467 ), |
|
2468 'supports' => array( |
|
2469 'interactivity' => true, |
|
2470 'align' => array( |
|
2471 'left', |
|
2472 'center', |
|
2473 'right', |
|
2474 'wide', |
|
2475 'full' |
|
2476 ), |
|
2477 'anchor' => true, |
|
2478 'color' => array( |
|
2479 'text' => false, |
|
2480 'background' => false |
|
2481 ), |
|
2482 'filter' => array( |
|
2483 'duotone' => true |
|
2484 ), |
|
2485 '__experimentalBorder' => array( |
|
2486 'color' => true, |
|
2487 'radius' => true, |
|
2488 'width' => true, |
|
2489 '__experimentalSkipSerialization' => true, |
|
2490 '__experimentalDefaultControls' => array( |
|
2491 'color' => true, |
|
2492 'radius' => true, |
|
2493 'width' => true |
|
2494 ) |
|
2495 ), |
|
2496 'shadow' => array( |
|
2497 '__experimentalSkipSerialization' => true |
|
2498 ) |
|
2499 ), |
|
2500 'selectors' => array( |
|
2501 'border' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder', |
|
2502 'shadow' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder', |
|
2503 'filter' => array( |
|
2504 'duotone' => '.wp-block-image img, .wp-block-image .components-placeholder' |
|
2505 ) |
|
2506 ), |
|
2507 'styles' => array( |
|
2508 array( |
|
2509 'name' => 'default', |
|
2510 'label' => 'Default', |
|
2511 'isDefault' => true |
|
2512 ), |
|
2513 array( |
|
2514 'name' => 'rounded', |
|
2515 'label' => 'Rounded' |
|
2516 ) |
|
2517 ), |
|
2518 'editorStyle' => 'wp-block-image-editor', |
|
2519 'style' => 'wp-block-image' |
|
2520 ), |
|
2521 'latest-comments' => array( |
|
2522 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2523 'apiVersion' => 3, |
|
2524 'name' => 'core/latest-comments', |
|
2525 'title' => 'Latest Comments', |
|
2526 'category' => 'widgets', |
|
2527 'description' => 'Display a list of your most recent comments.', |
|
2528 'keywords' => array( |
|
2529 'recent comments' |
|
2530 ), |
|
2531 'textdomain' => 'default', |
|
2532 'attributes' => array( |
|
2533 'commentsToShow' => array( |
|
2534 'type' => 'number', |
|
2535 'default' => 5, |
|
2536 'minimum' => 1, |
|
2537 'maximum' => 100 |
|
2538 ), |
|
2539 'displayAvatar' => array( |
|
2540 'type' => 'boolean', |
|
2541 'default' => true |
|
2542 ), |
|
2543 'displayDate' => array( |
|
2544 'type' => 'boolean', |
|
2545 'default' => true |
|
2546 ), |
|
2547 'displayExcerpt' => array( |
|
2548 'type' => 'boolean', |
|
2549 'default' => true |
|
2550 ) |
|
2551 ), |
|
2552 'supports' => array( |
|
2553 'align' => true, |
|
2554 'html' => false, |
|
2555 'spacing' => array( |
|
2556 'margin' => true, |
|
2557 'padding' => true |
|
2558 ), |
|
2559 'typography' => array( |
|
2560 'fontSize' => true, |
|
2561 'lineHeight' => true, |
|
2562 '__experimentalFontFamily' => true, |
|
2563 '__experimentalFontWeight' => true, |
|
2564 '__experimentalFontStyle' => true, |
|
2565 '__experimentalTextTransform' => true, |
|
2566 '__experimentalTextDecoration' => true, |
|
2567 '__experimentalLetterSpacing' => true, |
|
2568 '__experimentalDefaultControls' => array( |
|
2569 'fontSize' => true |
|
2570 ) |
|
2571 ), |
|
2572 'interactivity' => array( |
|
2573 'clientNavigation' => true |
|
2574 ) |
|
2575 ), |
|
2576 'editorStyle' => 'wp-block-latest-comments-editor', |
|
2577 'style' => 'wp-block-latest-comments' |
|
2578 ), |
|
2579 'latest-posts' => array( |
|
2580 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2581 'apiVersion' => 3, |
|
2582 'name' => 'core/latest-posts', |
|
2583 'title' => 'Latest Posts', |
|
2584 'category' => 'widgets', |
|
2585 'description' => 'Display a list of your most recent posts.', |
|
2586 'keywords' => array( |
|
2587 'recent posts' |
|
2588 ), |
|
2589 'textdomain' => 'default', |
|
2590 'attributes' => array( |
|
2591 'categories' => array( |
|
2592 'type' => 'array', |
|
2593 'items' => array( |
|
2594 'type' => 'object' |
|
2595 ) |
|
2596 ), |
|
2597 'selectedAuthor' => array( |
|
2598 'type' => 'number' |
|
2599 ), |
|
2600 'postsToShow' => array( |
|
2601 'type' => 'number', |
|
2602 'default' => 5 |
|
2603 ), |
|
2604 'displayPostContent' => array( |
|
2605 'type' => 'boolean', |
|
2606 'default' => false |
|
2607 ), |
|
2608 'displayPostContentRadio' => array( |
|
2609 'type' => 'string', |
|
2610 'default' => 'excerpt' |
|
2611 ), |
|
2612 'excerptLength' => array( |
|
2613 'type' => 'number', |
|
2614 'default' => 55 |
|
2615 ), |
|
2616 'displayAuthor' => array( |
|
2617 'type' => 'boolean', |
|
2618 'default' => false |
|
2619 ), |
|
2620 'displayPostDate' => array( |
|
2621 'type' => 'boolean', |
|
2622 'default' => false |
|
2623 ), |
|
2624 'postLayout' => array( |
|
2625 'type' => 'string', |
|
2626 'default' => 'list' |
|
2627 ), |
|
2628 'columns' => array( |
|
2629 'type' => 'number', |
|
2630 'default' => 3 |
|
2631 ), |
|
2632 'order' => array( |
|
2633 'type' => 'string', |
|
2634 'default' => 'desc' |
|
2635 ), |
|
2636 'orderBy' => array( |
|
2637 'type' => 'string', |
|
2638 'default' => 'date' |
|
2639 ), |
|
2640 'displayFeaturedImage' => array( |
|
2641 'type' => 'boolean', |
|
2642 'default' => false |
|
2643 ), |
|
2644 'featuredImageAlign' => array( |
|
2645 'type' => 'string', |
|
2646 'enum' => array( |
|
2647 'left', |
|
2648 'center', |
|
2649 'right' |
|
2650 ) |
|
2651 ), |
|
2652 'featuredImageSizeSlug' => array( |
|
2653 'type' => 'string', |
|
2654 'default' => 'thumbnail' |
|
2655 ), |
|
2656 'featuredImageSizeWidth' => array( |
|
2657 'type' => 'number', |
|
2658 'default' => null |
|
2659 ), |
|
2660 'featuredImageSizeHeight' => array( |
|
2661 'type' => 'number', |
|
2662 'default' => null |
|
2663 ), |
|
2664 'addLinkToFeaturedImage' => array( |
|
2665 'type' => 'boolean', |
|
2666 'default' => false |
|
2667 ) |
|
2668 ), |
|
2669 'supports' => array( |
|
2670 'align' => true, |
|
2671 'html' => false, |
|
2672 'color' => array( |
|
2673 'gradients' => true, |
|
2674 'link' => true, |
|
2675 '__experimentalDefaultControls' => array( |
|
2676 'background' => true, |
|
2677 'text' => true, |
|
2678 'link' => true |
|
2679 ) |
|
2680 ), |
|
2681 'spacing' => array( |
|
2682 'margin' => true, |
|
2683 'padding' => true |
|
2684 ), |
|
2685 'typography' => array( |
|
2686 'fontSize' => true, |
|
2687 'lineHeight' => true, |
|
2688 '__experimentalFontFamily' => true, |
|
2689 '__experimentalFontWeight' => true, |
|
2690 '__experimentalFontStyle' => true, |
|
2691 '__experimentalTextTransform' => true, |
|
2692 '__experimentalTextDecoration' => true, |
|
2693 '__experimentalLetterSpacing' => true, |
|
2694 '__experimentalDefaultControls' => array( |
|
2695 'fontSize' => true |
|
2696 ) |
|
2697 ), |
|
2698 'interactivity' => array( |
|
2699 'clientNavigation' => true |
|
2700 ) |
|
2701 ), |
|
2702 'editorStyle' => 'wp-block-latest-posts-editor', |
|
2703 'style' => 'wp-block-latest-posts' |
|
2704 ), |
|
2705 'legacy-widget' => array( |
|
2706 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2707 'apiVersion' => 3, |
|
2708 'name' => 'core/legacy-widget', |
|
2709 'title' => 'Legacy Widget', |
|
2710 'category' => 'widgets', |
|
2711 'description' => 'Display a legacy widget.', |
|
2712 'textdomain' => 'default', |
|
2713 'attributes' => array( |
|
2714 'id' => array( |
|
2715 'type' => 'string', |
|
2716 'default' => null |
|
2717 ), |
|
2718 'idBase' => array( |
|
2719 'type' => 'string', |
|
2720 'default' => null |
|
2721 ), |
|
2722 'instance' => array( |
|
2723 'type' => 'object', |
|
2724 'default' => null |
|
2725 ) |
|
2726 ), |
|
2727 'supports' => array( |
|
2728 'html' => false, |
|
2729 'customClassName' => false, |
|
2730 'reusable' => false |
|
2731 ), |
|
2732 'editorStyle' => 'wp-block-legacy-widget-editor' |
|
2733 ), |
|
2734 'list' => array( |
|
2735 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2736 'apiVersion' => 3, |
|
2737 'name' => 'core/list', |
|
2738 'title' => 'List', |
|
2739 'category' => 'text', |
|
2740 'allowedBlocks' => array( |
|
2741 'core/list-item' |
|
2742 ), |
|
2743 'description' => 'Create a bulleted or numbered list.', |
|
2744 'keywords' => array( |
|
2745 'bullet list', |
|
2746 'ordered list', |
|
2747 'numbered list' |
|
2748 ), |
|
2749 'textdomain' => 'default', |
|
2750 'attributes' => array( |
|
2751 'ordered' => array( |
|
2752 'type' => 'boolean', |
|
2753 'default' => false, |
|
2754 '__experimentalRole' => 'content' |
|
2755 ), |
|
2756 'values' => array( |
|
2757 'type' => 'string', |
|
2758 'source' => 'html', |
|
2759 'selector' => 'ol,ul', |
|
2760 'multiline' => 'li', |
|
2761 '__unstableMultilineWrapperTags' => array( |
|
2762 'ol', |
|
2763 'ul' |
|
2764 ), |
|
2765 'default' => '', |
|
2766 '__experimentalRole' => 'content' |
|
2767 ), |
|
2768 'type' => array( |
|
2769 'type' => 'string' |
|
2770 ), |
|
2771 'start' => array( |
|
2772 'type' => 'number' |
|
2773 ), |
|
2774 'reversed' => array( |
|
2775 'type' => 'boolean' |
|
2776 ), |
|
2777 'placeholder' => array( |
|
2778 'type' => 'string' |
|
2779 ) |
|
2780 ), |
|
2781 'supports' => array( |
|
2782 'anchor' => true, |
|
2783 'html' => false, |
|
2784 'typography' => array( |
|
2785 'fontSize' => true, |
|
2786 'lineHeight' => true, |
|
2787 '__experimentalFontFamily' => true, |
|
2788 '__experimentalFontWeight' => true, |
|
2789 '__experimentalFontStyle' => true, |
|
2790 '__experimentalTextTransform' => true, |
|
2791 '__experimentalTextDecoration' => true, |
|
2792 '__experimentalLetterSpacing' => true, |
|
2793 '__experimentalDefaultControls' => array( |
|
2794 'fontSize' => true |
|
2795 ) |
|
2796 ), |
|
2797 'color' => array( |
|
2798 'gradients' => true, |
|
2799 'link' => true, |
|
2800 '__experimentalDefaultControls' => array( |
|
2801 'background' => true, |
|
2802 'text' => true |
|
2803 ) |
|
2804 ), |
|
2805 'spacing' => array( |
|
2806 'margin' => true, |
|
2807 'padding' => true, |
|
2808 '__experimentalDefaultControls' => array( |
|
2809 'margin' => false, |
|
2810 'padding' => false |
|
2811 ) |
|
2812 ), |
|
2813 '__unstablePasteTextInline' => true, |
|
2814 '__experimentalOnMerge' => true, |
|
2815 '__experimentalSlashInserter' => true, |
|
2816 'interactivity' => array( |
|
2817 'clientNavigation' => true |
|
2818 ) |
|
2819 ), |
|
2820 'editorStyle' => 'wp-block-list-editor', |
|
2821 'style' => 'wp-block-list' |
|
2822 ), |
|
2823 'list-item' => array( |
|
2824 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2825 'apiVersion' => 3, |
|
2826 'name' => 'core/list-item', |
|
2827 'title' => 'List item', |
|
2828 'category' => 'text', |
|
2829 'parent' => array( |
|
2830 'core/list' |
|
2831 ), |
|
2832 'allowedBlocks' => array( |
|
2833 'core/list' |
|
2834 ), |
|
2835 'description' => 'Create a list item.', |
|
2836 'textdomain' => 'default', |
|
2837 'attributes' => array( |
|
2838 'placeholder' => array( |
|
2839 'type' => 'string' |
|
2840 ), |
|
2841 'content' => array( |
|
2842 'type' => 'rich-text', |
|
2843 'source' => 'rich-text', |
|
2844 'selector' => 'li', |
|
2845 '__experimentalRole' => 'content' |
|
2846 ) |
|
2847 ), |
|
2848 'supports' => array( |
|
2849 'className' => false, |
|
2850 '__experimentalSelector' => '.wp-block-list > li', |
|
2851 'splitting' => true, |
|
2852 'spacing' => array( |
|
2853 'margin' => true, |
|
2854 'padding' => true, |
|
2855 '__experimentalDefaultControls' => array( |
|
2856 'margin' => false, |
|
2857 'padding' => false |
|
2858 ) |
|
2859 ), |
|
2860 'typography' => array( |
|
2861 'fontSize' => true, |
|
2862 'lineHeight' => true, |
|
2863 '__experimentalFontFamily' => true, |
|
2864 '__experimentalFontWeight' => true, |
|
2865 '__experimentalFontStyle' => true, |
|
2866 '__experimentalTextTransform' => true, |
|
2867 '__experimentalTextDecoration' => true, |
|
2868 '__experimentalLetterSpacing' => true, |
|
2869 '__experimentalDefaultControls' => array( |
|
2870 'fontSize' => true |
|
2871 ) |
|
2872 ), |
|
2873 'interactivity' => array( |
|
2874 'clientNavigation' => true |
|
2875 ) |
|
2876 ) |
|
2877 ), |
|
2878 'loginout' => array( |
|
2879 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2880 'apiVersion' => 3, |
|
2881 'name' => 'core/loginout', |
|
2882 'title' => 'Login/out', |
|
2883 'category' => 'theme', |
|
2884 'description' => 'Show login & logout links.', |
|
2885 'keywords' => array( |
|
2886 'login', |
|
2887 'logout', |
|
2888 'form' |
|
2889 ), |
|
2890 'textdomain' => 'default', |
|
2891 'attributes' => array( |
|
2892 'displayLoginAsForm' => array( |
|
2893 'type' => 'boolean', |
|
2894 'default' => false |
|
2895 ), |
|
2896 'redirectToCurrent' => array( |
|
2897 'type' => 'boolean', |
|
2898 'default' => true |
|
2899 ) |
|
2900 ), |
|
2901 'supports' => array( |
|
2902 'className' => true, |
|
2903 'spacing' => array( |
|
2904 'margin' => true, |
|
2905 'padding' => true, |
|
2906 '__experimentalDefaultControls' => array( |
|
2907 'margin' => false, |
|
2908 'padding' => false |
|
2909 ) |
|
2910 ), |
|
2911 'typography' => array( |
|
2912 'fontSize' => true, |
|
2913 'lineHeight' => true, |
|
2914 '__experimentalFontFamily' => true, |
|
2915 '__experimentalFontWeight' => true, |
|
2916 '__experimentalFontStyle' => true, |
|
2917 '__experimentalTextTransform' => true, |
|
2918 '__experimentalTextDecoration' => true, |
|
2919 '__experimentalLetterSpacing' => true, |
|
2920 '__experimentalDefaultControls' => array( |
|
2921 'fontSize' => true |
|
2922 ) |
|
2923 ), |
|
2924 'interactivity' => array( |
|
2925 'clientNavigation' => true |
|
2926 ) |
|
2927 ) |
|
2928 ), |
|
2929 'media-text' => array( |
|
2930 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
2931 'apiVersion' => 3, |
|
2932 'name' => 'core/media-text', |
|
2933 'title' => 'Media & Text', |
|
2934 'category' => 'media', |
|
2935 'description' => 'Set media and words side-by-side for a richer layout.', |
|
2936 'keywords' => array( |
|
2937 'image', |
|
2938 'video' |
|
2939 ), |
|
2940 'textdomain' => 'default', |
|
2941 'attributes' => array( |
|
2942 'align' => array( |
|
2943 'type' => 'string', |
|
2944 'default' => 'none' |
|
2945 ), |
|
2946 'mediaAlt' => array( |
|
2947 'type' => 'string', |
|
2948 'source' => 'attribute', |
|
2949 'selector' => 'figure img', |
|
2950 'attribute' => 'alt', |
|
2951 'default' => '', |
|
2952 '__experimentalRole' => 'content' |
|
2953 ), |
|
2954 'mediaPosition' => array( |
|
2955 'type' => 'string', |
|
2956 'default' => 'left' |
|
2957 ), |
|
2958 'mediaId' => array( |
|
2959 'type' => 'number', |
|
2960 '__experimentalRole' => 'content' |
|
2961 ), |
|
2962 'mediaUrl' => array( |
|
2963 'type' => 'string', |
|
2964 'source' => 'attribute', |
|
2965 'selector' => 'figure video,figure img', |
|
2966 'attribute' => 'src', |
|
2967 '__experimentalRole' => 'content' |
|
2968 ), |
|
2969 'mediaLink' => array( |
|
2970 'type' => 'string' |
|
2971 ), |
|
2972 'linkDestination' => array( |
|
2973 'type' => 'string' |
|
2974 ), |
|
2975 'linkTarget' => array( |
|
2976 'type' => 'string', |
|
2977 'source' => 'attribute', |
|
2978 'selector' => 'figure a', |
|
2979 'attribute' => 'target' |
|
2980 ), |
|
2981 'href' => array( |
|
2982 'type' => 'string', |
|
2983 'source' => 'attribute', |
|
2984 'selector' => 'figure a', |
|
2985 'attribute' => 'href', |
|
2986 '__experimentalRole' => 'content' |
|
2987 ), |
|
2988 'rel' => array( |
|
2989 'type' => 'string', |
|
2990 'source' => 'attribute', |
|
2991 'selector' => 'figure a', |
|
2992 'attribute' => 'rel' |
|
2993 ), |
|
2994 'linkClass' => array( |
|
2995 'type' => 'string', |
|
2996 'source' => 'attribute', |
|
2997 'selector' => 'figure a', |
|
2998 'attribute' => 'class' |
|
2999 ), |
|
3000 'mediaType' => array( |
|
3001 'type' => 'string', |
|
3002 '__experimentalRole' => 'content' |
|
3003 ), |
|
3004 'mediaWidth' => array( |
|
3005 'type' => 'number', |
|
3006 'default' => 50 |
|
3007 ), |
|
3008 'mediaSizeSlug' => array( |
|
3009 'type' => 'string' |
|
3010 ), |
|
3011 'isStackedOnMobile' => array( |
|
3012 'type' => 'boolean', |
|
3013 'default' => true |
|
3014 ), |
|
3015 'verticalAlignment' => array( |
|
3016 'type' => 'string' |
|
3017 ), |
|
3018 'imageFill' => array( |
|
3019 'type' => 'boolean' |
|
3020 ), |
|
3021 'focalPoint' => array( |
|
3022 'type' => 'object' |
|
3023 ), |
|
3024 'allowedBlocks' => array( |
|
3025 'type' => 'array' |
|
3026 ), |
|
3027 'useFeaturedImage' => array( |
|
3028 'type' => 'boolean', |
|
3029 'default' => false |
|
3030 ) |
|
3031 ), |
|
3032 'usesContext' => array( |
|
3033 'postId', |
|
3034 'postType' |
|
3035 ), |
|
3036 'supports' => array( |
|
3037 'anchor' => true, |
|
3038 'align' => array( |
|
3039 'wide', |
|
3040 'full' |
|
3041 ), |
|
3042 'html' => false, |
|
3043 'color' => array( |
|
3044 'gradients' => true, |
|
3045 'heading' => true, |
|
3046 'link' => true, |
|
3047 '__experimentalDefaultControls' => array( |
|
3048 'background' => true, |
|
3049 'text' => true |
|
3050 ) |
|
3051 ), |
|
3052 'spacing' => array( |
|
3053 'margin' => true, |
|
3054 'padding' => true |
|
3055 ), |
|
3056 'typography' => array( |
|
3057 'fontSize' => true, |
|
3058 'lineHeight' => true, |
|
3059 '__experimentalFontFamily' => true, |
|
3060 '__experimentalFontWeight' => true, |
|
3061 '__experimentalFontStyle' => true, |
|
3062 '__experimentalTextTransform' => true, |
|
3063 '__experimentalTextDecoration' => true, |
|
3064 '__experimentalLetterSpacing' => true, |
|
3065 '__experimentalDefaultControls' => array( |
|
3066 'fontSize' => true |
|
3067 ) |
|
3068 ), |
|
3069 'interactivity' => array( |
|
3070 'clientNavigation' => true |
|
3071 ) |
|
3072 ), |
|
3073 'editorStyle' => 'wp-block-media-text-editor', |
|
3074 'style' => 'wp-block-media-text' |
|
3075 ), |
|
3076 'missing' => array( |
|
3077 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3078 'apiVersion' => 3, |
|
3079 'name' => 'core/missing', |
|
3080 'title' => 'Unsupported', |
|
3081 'category' => 'text', |
|
3082 'description' => 'Your site doesn’t include support for this block.', |
|
3083 'textdomain' => 'default', |
|
3084 'attributes' => array( |
|
3085 'originalName' => array( |
|
3086 'type' => 'string' |
|
3087 ), |
|
3088 'originalUndelimitedContent' => array( |
|
3089 'type' => 'string' |
|
3090 ), |
|
3091 'originalContent' => array( |
|
3092 'type' => 'string', |
|
3093 'source' => 'raw' |
|
3094 ) |
|
3095 ), |
|
3096 'supports' => array( |
|
3097 'className' => false, |
|
3098 'customClassName' => false, |
|
3099 'inserter' => false, |
|
3100 'html' => false, |
|
3101 'reusable' => false, |
|
3102 'interactivity' => array( |
|
3103 'clientNavigation' => true |
|
3104 ) |
|
3105 ) |
|
3106 ), |
|
3107 'more' => array( |
|
3108 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3109 'apiVersion' => 3, |
|
3110 'name' => 'core/more', |
|
3111 'title' => 'More', |
|
3112 'category' => 'design', |
|
3113 'description' => 'Content before this block will be shown in the excerpt on your archives page.', |
|
3114 'keywords' => array( |
|
3115 'read more' |
|
3116 ), |
|
3117 'textdomain' => 'default', |
|
3118 'attributes' => array( |
|
3119 'customText' => array( |
|
3120 'type' => 'string', |
|
3121 'default' => '' |
|
3122 ), |
|
3123 'noTeaser' => array( |
|
3124 'type' => 'boolean', |
|
3125 'default' => false |
|
3126 ) |
|
3127 ), |
|
3128 'supports' => array( |
|
3129 'customClassName' => false, |
|
3130 'className' => false, |
|
3131 'html' => false, |
|
3132 'multiple' => false, |
|
3133 'interactivity' => array( |
|
3134 'clientNavigation' => true |
|
3135 ) |
|
3136 ), |
|
3137 'editorStyle' => 'wp-block-more-editor' |
|
3138 ), |
|
3139 'navigation' => array( |
|
3140 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3141 'apiVersion' => 3, |
|
3142 'name' => 'core/navigation', |
|
3143 'title' => 'Navigation', |
|
3144 'category' => 'theme', |
|
3145 'allowedBlocks' => array( |
|
3146 'core/navigation-link', |
|
3147 'core/search', |
|
3148 'core/social-links', |
|
3149 'core/page-list', |
|
3150 'core/spacer', |
|
3151 'core/home-link', |
|
3152 'core/site-title', |
|
3153 'core/site-logo', |
|
3154 'core/navigation-submenu', |
|
3155 'core/loginout', |
|
3156 'core/buttons' |
|
3157 ), |
|
3158 'description' => 'A collection of blocks that allow visitors to get around your site.', |
|
3159 'keywords' => array( |
|
3160 'menu', |
|
3161 'navigation', |
|
3162 'links' |
|
3163 ), |
|
3164 'textdomain' => 'default', |
|
3165 'attributes' => array( |
|
3166 'ref' => array( |
|
3167 'type' => 'number' |
|
3168 ), |
|
3169 'textColor' => array( |
|
3170 'type' => 'string' |
|
3171 ), |
|
3172 'customTextColor' => array( |
|
3173 'type' => 'string' |
|
3174 ), |
|
3175 'rgbTextColor' => array( |
|
3176 'type' => 'string' |
|
3177 ), |
|
3178 'backgroundColor' => array( |
|
3179 'type' => 'string' |
|
3180 ), |
|
3181 'customBackgroundColor' => array( |
|
3182 'type' => 'string' |
|
3183 ), |
|
3184 'rgbBackgroundColor' => array( |
|
3185 'type' => 'string' |
|
3186 ), |
|
3187 'showSubmenuIcon' => array( |
|
3188 'type' => 'boolean', |
|
3189 'default' => true |
|
3190 ), |
|
3191 'openSubmenusOnClick' => array( |
|
3192 'type' => 'boolean', |
|
3193 'default' => false |
|
3194 ), |
|
3195 'overlayMenu' => array( |
|
3196 'type' => 'string', |
|
3197 'default' => 'mobile' |
|
3198 ), |
|
3199 'icon' => array( |
|
3200 'type' => 'string', |
|
3201 'default' => 'handle' |
|
3202 ), |
|
3203 'hasIcon' => array( |
|
3204 'type' => 'boolean', |
|
3205 'default' => true |
|
3206 ), |
|
3207 '__unstableLocation' => array( |
|
3208 'type' => 'string' |
|
3209 ), |
|
3210 'overlayBackgroundColor' => array( |
|
3211 'type' => 'string' |
|
3212 ), |
|
3213 'customOverlayBackgroundColor' => array( |
|
3214 'type' => 'string' |
|
3215 ), |
|
3216 'overlayTextColor' => array( |
|
3217 'type' => 'string' |
|
3218 ), |
|
3219 'customOverlayTextColor' => array( |
|
3220 'type' => 'string' |
|
3221 ), |
|
3222 'maxNestingLevel' => array( |
|
3223 'type' => 'number', |
|
3224 'default' => 5 |
|
3225 ), |
|
3226 'templateLock' => array( |
|
3227 'type' => array( |
|
3228 'string', |
|
3229 'boolean' |
|
3230 ), |
|
3231 'enum' => array( |
|
3232 'all', |
|
3233 'insert', |
|
3234 'contentOnly', |
|
3235 false |
|
3236 ) |
|
3237 ) |
|
3238 ), |
|
3239 'providesContext' => array( |
|
3240 'textColor' => 'textColor', |
|
3241 'customTextColor' => 'customTextColor', |
|
3242 'backgroundColor' => 'backgroundColor', |
|
3243 'customBackgroundColor' => 'customBackgroundColor', |
|
3244 'overlayTextColor' => 'overlayTextColor', |
|
3245 'customOverlayTextColor' => 'customOverlayTextColor', |
|
3246 'overlayBackgroundColor' => 'overlayBackgroundColor', |
|
3247 'customOverlayBackgroundColor' => 'customOverlayBackgroundColor', |
|
3248 'fontSize' => 'fontSize', |
|
3249 'customFontSize' => 'customFontSize', |
|
3250 'showSubmenuIcon' => 'showSubmenuIcon', |
|
3251 'openSubmenusOnClick' => 'openSubmenusOnClick', |
|
3252 'style' => 'style', |
|
3253 'maxNestingLevel' => 'maxNestingLevel' |
|
3254 ), |
|
3255 'supports' => array( |
|
3256 'align' => array( |
|
3257 'wide', |
|
3258 'full' |
|
3259 ), |
|
3260 'ariaLabel' => true, |
|
3261 'html' => false, |
|
3262 'inserter' => true, |
|
3263 'typography' => array( |
|
3264 'fontSize' => true, |
|
3265 'lineHeight' => true, |
|
3266 '__experimentalFontStyle' => true, |
|
3267 '__experimentalFontWeight' => true, |
|
3268 '__experimentalTextTransform' => true, |
|
3269 '__experimentalFontFamily' => true, |
|
3270 '__experimentalLetterSpacing' => true, |
|
3271 '__experimentalTextDecoration' => true, |
|
3272 '__experimentalSkipSerialization' => array( |
|
3273 'textDecoration' |
|
3274 ), |
|
3275 '__experimentalDefaultControls' => array( |
|
3276 'fontSize' => true |
|
3277 ) |
|
3278 ), |
|
3279 'spacing' => array( |
|
3280 'blockGap' => true, |
|
3281 'units' => array( |
|
3282 'px', |
|
3283 'em', |
|
3284 'rem', |
|
3285 'vh', |
|
3286 'vw' |
|
3287 ), |
|
3288 '__experimentalDefaultControls' => array( |
|
3289 'blockGap' => true |
|
3290 ) |
|
3291 ), |
|
3292 'layout' => array( |
|
3293 'allowSwitching' => false, |
|
3294 'allowInheriting' => false, |
|
3295 'allowVerticalAlignment' => false, |
|
3296 'allowSizingOnChildren' => true, |
|
3297 'default' => array( |
|
3298 'type' => 'flex' |
|
3299 ) |
|
3300 ), |
|
3301 'interactivity' => true, |
|
3302 'renaming' => false |
|
3303 ), |
|
3304 'editorStyle' => 'wp-block-navigation-editor', |
|
3305 'style' => 'wp-block-navigation' |
|
3306 ), |
|
3307 'navigation-link' => array( |
|
3308 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3309 'apiVersion' => 3, |
|
3310 'name' => 'core/navigation-link', |
|
3311 'title' => 'Custom Link', |
|
3312 'category' => 'design', |
|
3313 'parent' => array( |
|
3314 'core/navigation' |
|
3315 ), |
|
3316 'allowedBlocks' => array( |
|
3317 'core/navigation-link', |
|
3318 'core/navigation-submenu', |
|
3319 'core/page-list' |
|
3320 ), |
|
3321 'description' => 'Add a page, link, or another item to your navigation.', |
|
3322 'textdomain' => 'default', |
|
3323 'attributes' => array( |
|
3324 'label' => array( |
|
3325 'type' => 'string' |
|
3326 ), |
|
3327 'type' => array( |
|
3328 'type' => 'string' |
|
3329 ), |
|
3330 'description' => array( |
|
3331 'type' => 'string' |
|
3332 ), |
|
3333 'rel' => array( |
|
3334 'type' => 'string' |
|
3335 ), |
|
3336 'id' => array( |
|
3337 'type' => 'number' |
|
3338 ), |
|
3339 'opensInNewTab' => array( |
|
3340 'type' => 'boolean', |
|
3341 'default' => false |
|
3342 ), |
|
3343 'url' => array( |
|
3344 'type' => 'string' |
|
3345 ), |
|
3346 'title' => array( |
|
3347 'type' => 'string' |
|
3348 ), |
|
3349 'kind' => array( |
|
3350 'type' => 'string' |
|
3351 ), |
|
3352 'isTopLevelLink' => array( |
|
3353 'type' => 'boolean' |
|
3354 ) |
|
3355 ), |
|
3356 'usesContext' => array( |
|
3357 'textColor', |
|
3358 'customTextColor', |
|
3359 'backgroundColor', |
|
3360 'customBackgroundColor', |
|
3361 'overlayTextColor', |
|
3362 'customOverlayTextColor', |
|
3363 'overlayBackgroundColor', |
|
3364 'customOverlayBackgroundColor', |
|
3365 'fontSize', |
|
3366 'customFontSize', |
|
3367 'showSubmenuIcon', |
|
3368 'maxNestingLevel', |
|
3369 'style' |
|
3370 ), |
|
3371 'supports' => array( |
|
3372 'reusable' => false, |
|
3373 'html' => false, |
|
3374 '__experimentalSlashInserter' => true, |
|
3375 'typography' => array( |
|
3376 'fontSize' => true, |
|
3377 'lineHeight' => true, |
|
3378 '__experimentalFontFamily' => true, |
|
3379 '__experimentalFontWeight' => true, |
|
3380 '__experimentalFontStyle' => true, |
|
3381 '__experimentalTextTransform' => true, |
|
3382 '__experimentalTextDecoration' => true, |
|
3383 '__experimentalLetterSpacing' => true, |
|
3384 '__experimentalDefaultControls' => array( |
|
3385 'fontSize' => true |
|
3386 ) |
|
3387 ), |
|
3388 'renaming' => false, |
|
3389 'interactivity' => array( |
|
3390 'clientNavigation' => true |
|
3391 ) |
|
3392 ), |
|
3393 'editorStyle' => 'wp-block-navigation-link-editor', |
|
3394 'style' => 'wp-block-navigation-link' |
|
3395 ), |
|
3396 'navigation-submenu' => array( |
|
3397 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3398 'apiVersion' => 3, |
|
3399 'name' => 'core/navigation-submenu', |
|
3400 'title' => 'Submenu', |
|
3401 'category' => 'design', |
|
3402 'parent' => array( |
|
3403 'core/navigation' |
|
3404 ), |
|
3405 'description' => 'Add a submenu to your navigation.', |
|
3406 'textdomain' => 'default', |
|
3407 'attributes' => array( |
|
3408 'label' => array( |
|
3409 'type' => 'string' |
|
3410 ), |
|
3411 'type' => array( |
|
3412 'type' => 'string' |
|
3413 ), |
|
3414 'description' => array( |
|
3415 'type' => 'string' |
|
3416 ), |
|
3417 'rel' => array( |
|
3418 'type' => 'string' |
|
3419 ), |
|
3420 'id' => array( |
|
3421 'type' => 'number' |
|
3422 ), |
|
3423 'opensInNewTab' => array( |
|
3424 'type' => 'boolean', |
|
3425 'default' => false |
|
3426 ), |
|
3427 'url' => array( |
|
3428 'type' => 'string' |
|
3429 ), |
|
3430 'title' => array( |
|
3431 'type' => 'string' |
|
3432 ), |
|
3433 'kind' => array( |
|
3434 'type' => 'string' |
|
3435 ), |
|
3436 'isTopLevelItem' => array( |
|
3437 'type' => 'boolean' |
|
3438 ) |
|
3439 ), |
|
3440 'usesContext' => array( |
|
3441 'textColor', |
|
3442 'customTextColor', |
|
3443 'backgroundColor', |
|
3444 'customBackgroundColor', |
|
3445 'overlayTextColor', |
|
3446 'customOverlayTextColor', |
|
3447 'overlayBackgroundColor', |
|
3448 'customOverlayBackgroundColor', |
|
3449 'fontSize', |
|
3450 'customFontSize', |
|
3451 'showSubmenuIcon', |
|
3452 'maxNestingLevel', |
|
3453 'openSubmenusOnClick', |
|
3454 'style' |
|
3455 ), |
|
3456 'supports' => array( |
|
3457 'reusable' => false, |
|
3458 'html' => false, |
|
3459 'interactivity' => array( |
|
3460 'clientNavigation' => true |
|
3461 ) |
|
3462 ), |
|
3463 'editorStyle' => 'wp-block-navigation-submenu-editor', |
|
3464 'style' => 'wp-block-navigation-submenu' |
|
3465 ), |
|
3466 'nextpage' => array( |
|
3467 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3468 'apiVersion' => 3, |
|
3469 'name' => 'core/nextpage', |
|
3470 'title' => 'Page Break', |
|
3471 'category' => 'design', |
|
3472 'description' => 'Separate your content into a multi-page experience.', |
|
3473 'keywords' => array( |
|
3474 'next page', |
|
3475 'pagination' |
|
3476 ), |
|
3477 'parent' => array( |
|
3478 'core/post-content' |
|
3479 ), |
|
3480 'textdomain' => 'default', |
|
3481 'supports' => array( |
|
3482 'customClassName' => false, |
|
3483 'className' => false, |
|
3484 'html' => false, |
|
3485 'interactivity' => array( |
|
3486 'clientNavigation' => true |
|
3487 ) |
|
3488 ), |
|
3489 'editorStyle' => 'wp-block-nextpage-editor' |
|
3490 ), |
|
3491 'page-list' => array( |
|
3492 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3493 'apiVersion' => 3, |
|
3494 'name' => 'core/page-list', |
|
3495 'title' => 'Page List', |
|
3496 'category' => 'widgets', |
|
3497 'allowedBlocks' => array( |
|
3498 'core/page-list-item' |
|
3499 ), |
|
3500 'description' => 'Display a list of all pages.', |
|
3501 'keywords' => array( |
|
3502 'menu', |
|
3503 'navigation' |
|
3504 ), |
|
3505 'textdomain' => 'default', |
|
3506 'attributes' => array( |
|
3507 'parentPageID' => array( |
|
3508 'type' => 'integer', |
|
3509 'default' => 0 |
|
3510 ), |
|
3511 'isNested' => array( |
|
3512 'type' => 'boolean', |
|
3513 'default' => false |
|
3514 ) |
|
3515 ), |
|
3516 'usesContext' => array( |
|
3517 'textColor', |
|
3518 'customTextColor', |
|
3519 'backgroundColor', |
|
3520 'customBackgroundColor', |
|
3521 'overlayTextColor', |
|
3522 'customOverlayTextColor', |
|
3523 'overlayBackgroundColor', |
|
3524 'customOverlayBackgroundColor', |
|
3525 'fontSize', |
|
3526 'customFontSize', |
|
3527 'showSubmenuIcon', |
|
3528 'style', |
|
3529 'openSubmenusOnClick' |
|
3530 ), |
|
3531 'supports' => array( |
|
3532 'reusable' => false, |
|
3533 'html' => false, |
|
3534 'typography' => array( |
|
3535 'fontSize' => true, |
|
3536 'lineHeight' => true, |
|
3537 '__experimentalFontFamily' => true, |
|
3538 '__experimentalFontWeight' => true, |
|
3539 '__experimentalFontStyle' => true, |
|
3540 '__experimentalTextTransform' => true, |
|
3541 '__experimentalTextDecoration' => true, |
|
3542 '__experimentalLetterSpacing' => true, |
|
3543 '__experimentalDefaultControls' => array( |
|
3544 'fontSize' => true |
|
3545 ) |
|
3546 ), |
|
3547 'interactivity' => array( |
|
3548 'clientNavigation' => true |
|
3549 ) |
|
3550 ), |
|
3551 'editorStyle' => 'wp-block-page-list-editor', |
|
3552 'style' => 'wp-block-page-list' |
|
3553 ), |
|
3554 'page-list-item' => array( |
|
3555 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3556 'apiVersion' => 3, |
|
3557 'name' => 'core/page-list-item', |
|
3558 'title' => 'Page List Item', |
|
3559 'category' => 'widgets', |
|
3560 'parent' => array( |
|
3561 'core/page-list' |
|
3562 ), |
|
3563 'description' => 'Displays a page inside a list of all pages.', |
|
3564 'keywords' => array( |
|
3565 'page', |
|
3566 'menu', |
|
3567 'navigation' |
|
3568 ), |
|
3569 'textdomain' => 'default', |
|
3570 'attributes' => array( |
|
3571 'id' => array( |
|
3572 'type' => 'number' |
|
3573 ), |
|
3574 'label' => array( |
|
3575 'type' => 'string' |
|
3576 ), |
|
3577 'title' => array( |
|
3578 'type' => 'string' |
|
3579 ), |
|
3580 'link' => array( |
|
3581 'type' => 'string' |
|
3582 ), |
|
3583 'hasChildren' => array( |
|
3584 'type' => 'boolean' |
|
3585 ) |
|
3586 ), |
|
3587 'usesContext' => array( |
|
3588 'textColor', |
|
3589 'customTextColor', |
|
3590 'backgroundColor', |
|
3591 'customBackgroundColor', |
|
3592 'overlayTextColor', |
|
3593 'customOverlayTextColor', |
|
3594 'overlayBackgroundColor', |
|
3595 'customOverlayBackgroundColor', |
|
3596 'fontSize', |
|
3597 'customFontSize', |
|
3598 'showSubmenuIcon', |
|
3599 'style', |
|
3600 'openSubmenusOnClick' |
|
3601 ), |
|
3602 'supports' => array( |
|
3603 'reusable' => false, |
|
3604 'html' => false, |
|
3605 'lock' => false, |
|
3606 'inserter' => false, |
|
3607 '__experimentalToolbar' => false, |
|
3608 'interactivity' => array( |
|
3609 'clientNavigation' => true |
|
3610 ) |
|
3611 ), |
|
3612 'editorStyle' => 'wp-block-page-list-editor', |
|
3613 'style' => 'wp-block-page-list' |
|
3614 ), |
|
3615 'paragraph' => array( |
|
3616 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3617 'apiVersion' => 3, |
|
3618 'name' => 'core/paragraph', |
|
3619 'title' => 'Paragraph', |
|
3620 'category' => 'text', |
|
3621 'description' => 'Start with the basic building block of all narrative.', |
|
3622 'keywords' => array( |
|
3623 'text' |
|
3624 ), |
|
3625 'textdomain' => 'default', |
|
3626 'attributes' => array( |
|
3627 'align' => array( |
|
3628 'type' => 'string' |
|
3629 ), |
|
3630 'content' => array( |
|
3631 'type' => 'rich-text', |
|
3632 'source' => 'rich-text', |
|
3633 'selector' => 'p', |
|
3634 '__experimentalRole' => 'content' |
|
3635 ), |
|
3636 'dropCap' => array( |
|
3637 'type' => 'boolean', |
|
3638 'default' => false |
|
3639 ), |
|
3640 'placeholder' => array( |
|
3641 'type' => 'string' |
|
3642 ), |
|
3643 'direction' => array( |
|
3644 'type' => 'string', |
|
3645 'enum' => array( |
|
3646 'ltr', |
|
3647 'rtl' |
|
3648 ) |
|
3649 ) |
|
3650 ), |
|
3651 'supports' => array( |
|
3652 'splitting' => true, |
|
3653 'anchor' => true, |
|
3654 'className' => false, |
|
3655 'color' => array( |
|
3656 'gradients' => true, |
|
3657 'link' => true, |
|
3658 '__experimentalDefaultControls' => array( |
|
3659 'background' => true, |
|
3660 'text' => true |
|
3661 ) |
|
3662 ), |
|
3663 'spacing' => array( |
|
3664 'margin' => true, |
|
3665 'padding' => true, |
|
3666 '__experimentalDefaultControls' => array( |
|
3667 'margin' => false, |
|
3668 'padding' => false |
|
3669 ) |
|
3670 ), |
|
3671 'typography' => array( |
|
3672 'fontSize' => true, |
|
3673 'lineHeight' => true, |
|
3674 '__experimentalFontFamily' => true, |
|
3675 '__experimentalTextDecoration' => true, |
|
3676 '__experimentalFontStyle' => true, |
|
3677 '__experimentalFontWeight' => true, |
|
3678 '__experimentalLetterSpacing' => true, |
|
3679 '__experimentalTextTransform' => true, |
|
3680 '__experimentalWritingMode' => true, |
|
3681 '__experimentalDefaultControls' => array( |
|
3682 'fontSize' => true |
|
3683 ) |
|
3684 ), |
|
3685 '__experimentalSelector' => 'p', |
|
3686 '__unstablePasteTextInline' => true, |
|
3687 'interactivity' => array( |
|
3688 'clientNavigation' => true |
|
3689 ) |
|
3690 ), |
|
3691 'editorStyle' => 'wp-block-paragraph-editor', |
|
3692 'style' => 'wp-block-paragraph' |
|
3693 ), |
|
3694 'pattern' => array( |
|
3695 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3696 'apiVersion' => 3, |
|
3697 'name' => 'core/pattern', |
|
3698 'title' => 'Pattern placeholder', |
|
3699 'category' => 'theme', |
|
3700 'description' => 'Show a block pattern.', |
|
3701 'supports' => array( |
|
3702 'html' => false, |
|
3703 'inserter' => false, |
|
3704 'renaming' => false, |
|
3705 'interactivity' => array( |
|
3706 'clientNavigation' => true |
|
3707 ) |
|
3708 ), |
|
3709 'textdomain' => 'default', |
|
3710 'attributes' => array( |
|
3711 'slug' => array( |
|
3712 'type' => 'string' |
|
3713 ) |
|
3714 ) |
|
3715 ), |
|
3716 'post-author' => array( |
|
3717 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3718 'apiVersion' => 3, |
|
3719 'name' => 'core/post-author', |
|
3720 'title' => 'Author', |
|
3721 'category' => 'theme', |
|
3722 'description' => 'Display post author details such as name, avatar, and bio.', |
|
3723 'textdomain' => 'default', |
|
3724 'attributes' => array( |
|
3725 'textAlign' => array( |
|
3726 'type' => 'string' |
|
3727 ), |
|
3728 'avatarSize' => array( |
|
3729 'type' => 'number', |
|
3730 'default' => 48 |
|
3731 ), |
|
3732 'showAvatar' => array( |
|
3733 'type' => 'boolean', |
|
3734 'default' => true |
|
3735 ), |
|
3736 'showBio' => array( |
|
3737 'type' => 'boolean' |
|
3738 ), |
|
3739 'byline' => array( |
|
3740 'type' => 'string' |
|
3741 ), |
|
3742 'isLink' => array( |
|
3743 'type' => 'boolean', |
|
3744 'default' => false |
|
3745 ), |
|
3746 'linkTarget' => array( |
|
3747 'type' => 'string', |
|
3748 'default' => '_self' |
|
3749 ) |
|
3750 ), |
|
3751 'usesContext' => array( |
|
3752 'postType', |
|
3753 'postId', |
|
3754 'queryId' |
|
3755 ), |
|
3756 'supports' => array( |
|
3757 'html' => false, |
|
3758 'spacing' => array( |
|
3759 'margin' => true, |
|
3760 'padding' => true |
|
3761 ), |
|
3762 'typography' => array( |
|
3763 'fontSize' => true, |
|
3764 'lineHeight' => true, |
|
3765 '__experimentalFontFamily' => true, |
|
3766 '__experimentalFontWeight' => true, |
|
3767 '__experimentalFontStyle' => true, |
|
3768 '__experimentalTextTransform' => true, |
|
3769 '__experimentalTextDecoration' => true, |
|
3770 '__experimentalLetterSpacing' => true, |
|
3771 '__experimentalDefaultControls' => array( |
|
3772 'fontSize' => true |
|
3773 ) |
|
3774 ), |
|
3775 'color' => array( |
|
3776 'gradients' => true, |
|
3777 'link' => true, |
|
3778 '__experimentalDuotone' => '.wp-block-post-author__avatar img', |
|
3779 '__experimentalDefaultControls' => array( |
|
3780 'background' => true, |
|
3781 'text' => true |
|
3782 ) |
|
3783 ), |
|
3784 'interactivity' => array( |
|
3785 'clientNavigation' => true |
|
3786 ) |
|
3787 ), |
|
3788 'style' => 'wp-block-post-author' |
|
3789 ), |
|
3790 'post-author-biography' => array( |
|
3791 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3792 'apiVersion' => 3, |
|
3793 'name' => 'core/post-author-biography', |
|
3794 'title' => 'Author Biography', |
|
3795 'category' => 'theme', |
|
3796 'description' => 'The author biography.', |
|
3797 'textdomain' => 'default', |
|
3798 'attributes' => array( |
|
3799 'textAlign' => array( |
|
3800 'type' => 'string' |
|
3801 ) |
|
3802 ), |
|
3803 'usesContext' => array( |
|
3804 'postType', |
|
3805 'postId' |
|
3806 ), |
|
3807 'supports' => array( |
|
3808 'spacing' => array( |
|
3809 'margin' => true, |
|
3810 'padding' => true |
|
3811 ), |
|
3812 'color' => array( |
|
3813 'gradients' => true, |
|
3814 'link' => true, |
|
3815 '__experimentalDefaultControls' => array( |
|
3816 'background' => true, |
|
3817 'text' => true |
|
3818 ) |
|
3819 ), |
|
3820 'typography' => array( |
|
3821 'fontSize' => true, |
|
3822 'lineHeight' => true, |
|
3823 '__experimentalFontFamily' => true, |
|
3824 '__experimentalFontWeight' => true, |
|
3825 '__experimentalFontStyle' => true, |
|
3826 '__experimentalTextTransform' => true, |
|
3827 '__experimentalTextDecoration' => true, |
|
3828 '__experimentalLetterSpacing' => true, |
|
3829 '__experimentalDefaultControls' => array( |
|
3830 'fontSize' => true |
|
3831 ) |
|
3832 ), |
|
3833 'interactivity' => array( |
|
3834 'clientNavigation' => true |
|
3835 ) |
|
3836 ) |
|
3837 ), |
|
3838 'post-author-name' => array( |
|
3839 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3840 'apiVersion' => 3, |
|
3841 'name' => 'core/post-author-name', |
|
3842 'title' => 'Author Name', |
|
3843 'category' => 'theme', |
|
3844 'description' => 'The author name.', |
|
3845 'textdomain' => 'default', |
|
3846 'attributes' => array( |
|
3847 'textAlign' => array( |
|
3848 'type' => 'string' |
|
3849 ), |
|
3850 'isLink' => array( |
|
3851 'type' => 'boolean', |
|
3852 'default' => false |
|
3853 ), |
|
3854 'linkTarget' => array( |
|
3855 'type' => 'string', |
|
3856 'default' => '_self' |
|
3857 ) |
|
3858 ), |
|
3859 'usesContext' => array( |
|
3860 'postType', |
|
3861 'postId' |
|
3862 ), |
|
3863 'supports' => array( |
|
3864 'html' => false, |
|
3865 'spacing' => array( |
|
3866 'margin' => true, |
|
3867 'padding' => true |
|
3868 ), |
|
3869 'color' => array( |
|
3870 'gradients' => true, |
|
3871 'link' => true, |
|
3872 '__experimentalDefaultControls' => array( |
|
3873 'background' => true, |
|
3874 'text' => true, |
|
3875 'link' => true |
|
3876 ) |
|
3877 ), |
|
3878 'typography' => array( |
|
3879 'fontSize' => true, |
|
3880 'lineHeight' => true, |
|
3881 '__experimentalFontFamily' => true, |
|
3882 '__experimentalFontWeight' => true, |
|
3883 '__experimentalFontStyle' => true, |
|
3884 '__experimentalTextTransform' => true, |
|
3885 '__experimentalTextDecoration' => true, |
|
3886 '__experimentalLetterSpacing' => true, |
|
3887 '__experimentalDefaultControls' => array( |
|
3888 'fontSize' => true |
|
3889 ) |
|
3890 ), |
|
3891 'interactivity' => array( |
|
3892 'clientNavigation' => true |
|
3893 ) |
|
3894 ) |
|
3895 ), |
|
3896 'post-comments-form' => array( |
|
3897 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3898 'apiVersion' => 3, |
|
3899 'name' => 'core/post-comments-form', |
|
3900 'title' => 'Comments Form', |
|
3901 'category' => 'theme', |
|
3902 'description' => 'Display a post\'s comments form.', |
|
3903 'textdomain' => 'default', |
|
3904 'attributes' => array( |
|
3905 'textAlign' => array( |
|
3906 'type' => 'string' |
|
3907 ) |
|
3908 ), |
|
3909 'usesContext' => array( |
|
3910 'postId', |
|
3911 'postType' |
|
3912 ), |
|
3913 'supports' => array( |
|
3914 'html' => false, |
|
3915 'color' => array( |
|
3916 'gradients' => true, |
|
3917 'heading' => true, |
|
3918 'link' => true, |
|
3919 '__experimentalDefaultControls' => array( |
|
3920 'background' => true, |
|
3921 'text' => true |
|
3922 ) |
|
3923 ), |
|
3924 'spacing' => array( |
|
3925 'margin' => true, |
|
3926 'padding' => true |
|
3927 ), |
|
3928 'typography' => array( |
|
3929 'fontSize' => true, |
|
3930 'lineHeight' => true, |
|
3931 '__experimentalFontStyle' => true, |
|
3932 '__experimentalFontWeight' => true, |
|
3933 '__experimentalLetterSpacing' => true, |
|
3934 '__experimentalTextTransform' => true, |
|
3935 '__experimentalDefaultControls' => array( |
|
3936 'fontSize' => true |
|
3937 ) |
|
3938 ) |
|
3939 ), |
|
3940 'editorStyle' => 'wp-block-post-comments-form-editor', |
|
3941 'style' => array( |
|
3942 'wp-block-post-comments-form', |
|
3943 'wp-block-buttons', |
|
3944 'wp-block-button' |
|
3945 ) |
|
3946 ), |
|
3947 'post-content' => array( |
|
3948 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3949 'apiVersion' => 3, |
|
3950 'name' => 'core/post-content', |
|
3951 'title' => 'Content', |
|
3952 'category' => 'theme', |
|
3953 'description' => 'Displays the contents of a post or page.', |
|
3954 'textdomain' => 'default', |
|
3955 'usesContext' => array( |
|
3956 'postId', |
|
3957 'postType', |
|
3958 'queryId' |
|
3959 ), |
|
3960 'supports' => array( |
|
3961 'align' => array( |
|
3962 'wide', |
|
3963 'full' |
|
3964 ), |
|
3965 'html' => false, |
|
3966 'layout' => true, |
|
3967 'dimensions' => array( |
|
3968 'minHeight' => true |
|
3969 ), |
|
3970 'spacing' => array( |
|
3971 'blockGap' => true |
|
3972 ), |
|
3973 'color' => array( |
|
3974 'gradients' => true, |
|
3975 'link' => true, |
|
3976 '__experimentalDefaultControls' => array( |
|
3977 'background' => false, |
|
3978 'text' => false |
|
3979 ) |
|
3980 ), |
|
3981 'typography' => array( |
|
3982 'fontSize' => true, |
|
3983 'lineHeight' => true, |
|
3984 '__experimentalFontFamily' => true, |
|
3985 '__experimentalFontWeight' => true, |
|
3986 '__experimentalFontStyle' => true, |
|
3987 '__experimentalTextTransform' => true, |
|
3988 '__experimentalTextDecoration' => true, |
|
3989 '__experimentalLetterSpacing' => true, |
|
3990 '__experimentalDefaultControls' => array( |
|
3991 'fontSize' => true |
|
3992 ) |
|
3993 ) |
|
3994 ), |
|
3995 'editorStyle' => 'wp-block-post-content-editor' |
|
3996 ), |
|
3997 'post-date' => array( |
|
3998 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
3999 'apiVersion' => 3, |
|
4000 'name' => 'core/post-date', |
|
4001 'title' => 'Date', |
|
4002 'category' => 'theme', |
|
4003 'description' => 'Display the publish date for an entry such as a post or page.', |
|
4004 'textdomain' => 'default', |
|
4005 'attributes' => array( |
|
4006 'textAlign' => array( |
|
4007 'type' => 'string' |
|
4008 ), |
|
4009 'format' => array( |
|
4010 'type' => 'string' |
|
4011 ), |
|
4012 'isLink' => array( |
|
4013 'type' => 'boolean', |
|
4014 'default' => false |
|
4015 ), |
|
4016 'displayType' => array( |
|
4017 'type' => 'string', |
|
4018 'default' => 'date' |
|
4019 ) |
|
4020 ), |
|
4021 'usesContext' => array( |
|
4022 'postId', |
|
4023 'postType', |
|
4024 'queryId' |
|
4025 ), |
|
4026 'supports' => array( |
|
4027 'html' => false, |
|
4028 'color' => array( |
|
4029 'gradients' => true, |
|
4030 'link' => true, |
|
4031 '__experimentalDefaultControls' => array( |
|
4032 'background' => true, |
|
4033 'text' => true, |
|
4034 'link' => true |
|
4035 ) |
|
4036 ), |
|
4037 'spacing' => array( |
|
4038 'margin' => true, |
|
4039 'padding' => true |
|
4040 ), |
|
4041 'typography' => array( |
|
4042 'fontSize' => true, |
|
4043 'lineHeight' => true, |
|
4044 '__experimentalFontFamily' => true, |
|
4045 '__experimentalFontWeight' => true, |
|
4046 '__experimentalFontStyle' => true, |
|
4047 '__experimentalTextTransform' => true, |
|
4048 '__experimentalTextDecoration' => true, |
|
4049 '__experimentalLetterSpacing' => true, |
|
4050 '__experimentalDefaultControls' => array( |
|
4051 'fontSize' => true |
|
4052 ) |
|
4053 ), |
|
4054 'interactivity' => array( |
|
4055 'clientNavigation' => true |
|
4056 ) |
|
4057 ) |
|
4058 ), |
|
4059 'post-excerpt' => array( |
|
4060 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4061 'apiVersion' => 3, |
|
4062 'name' => 'core/post-excerpt', |
|
4063 'title' => 'Excerpt', |
|
4064 'category' => 'theme', |
|
4065 'description' => 'Display the excerpt.', |
|
4066 'textdomain' => 'default', |
|
4067 'attributes' => array( |
|
4068 'textAlign' => array( |
|
4069 'type' => 'string' |
|
4070 ), |
|
4071 'moreText' => array( |
|
4072 'type' => 'string' |
|
4073 ), |
|
4074 'showMoreOnNewLine' => array( |
|
4075 'type' => 'boolean', |
|
4076 'default' => true |
|
4077 ), |
|
4078 'excerptLength' => array( |
|
4079 'type' => 'number', |
|
4080 'default' => 55 |
|
4081 ) |
|
4082 ), |
|
4083 'usesContext' => array( |
|
4084 'postId', |
|
4085 'postType', |
|
4086 'queryId' |
|
4087 ), |
|
4088 'supports' => array( |
|
4089 'html' => false, |
|
4090 'color' => array( |
|
4091 'gradients' => true, |
|
4092 'link' => true, |
|
4093 '__experimentalDefaultControls' => array( |
|
4094 'background' => true, |
|
4095 'text' => true, |
|
4096 'link' => true |
|
4097 ) |
|
4098 ), |
|
4099 'spacing' => array( |
|
4100 'margin' => true, |
|
4101 'padding' => true |
|
4102 ), |
|
4103 'typography' => array( |
|
4104 'fontSize' => true, |
|
4105 'lineHeight' => true, |
|
4106 '__experimentalFontFamily' => true, |
|
4107 '__experimentalFontWeight' => true, |
|
4108 '__experimentalFontStyle' => true, |
|
4109 '__experimentalTextTransform' => true, |
|
4110 '__experimentalTextDecoration' => true, |
|
4111 '__experimentalLetterSpacing' => true, |
|
4112 '__experimentalDefaultControls' => array( |
|
4113 'fontSize' => true |
|
4114 ) |
|
4115 ), |
|
4116 'interactivity' => array( |
|
4117 'clientNavigation' => true |
|
4118 ) |
|
4119 ), |
|
4120 'editorStyle' => 'wp-block-post-excerpt-editor', |
|
4121 'style' => 'wp-block-post-excerpt' |
|
4122 ), |
|
4123 'post-featured-image' => array( |
|
4124 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4125 'apiVersion' => 3, |
|
4126 'name' => 'core/post-featured-image', |
|
4127 'title' => 'Featured Image', |
|
4128 'category' => 'theme', |
|
4129 'description' => 'Display a post\'s featured image.', |
|
4130 'textdomain' => 'default', |
|
4131 'attributes' => array( |
|
4132 'isLink' => array( |
|
4133 'type' => 'boolean', |
|
4134 'default' => false |
|
4135 ), |
|
4136 'aspectRatio' => array( |
|
4137 'type' => 'string' |
|
4138 ), |
|
4139 'width' => array( |
|
4140 'type' => 'string' |
|
4141 ), |
|
4142 'height' => array( |
|
4143 'type' => 'string' |
|
4144 ), |
|
4145 'scale' => array( |
|
4146 'type' => 'string', |
|
4147 'default' => 'cover' |
|
4148 ), |
|
4149 'sizeSlug' => array( |
|
4150 'type' => 'string' |
|
4151 ), |
|
4152 'rel' => array( |
|
4153 'type' => 'string', |
|
4154 'attribute' => 'rel', |
|
4155 'default' => '' |
|
4156 ), |
|
4157 'linkTarget' => array( |
|
4158 'type' => 'string', |
|
4159 'default' => '_self' |
|
4160 ), |
|
4161 'overlayColor' => array( |
|
4162 'type' => 'string' |
|
4163 ), |
|
4164 'customOverlayColor' => array( |
|
4165 'type' => 'string' |
|
4166 ), |
|
4167 'dimRatio' => array( |
|
4168 'type' => 'number', |
|
4169 'default' => 0 |
|
4170 ), |
|
4171 'gradient' => array( |
|
4172 'type' => 'string' |
|
4173 ), |
|
4174 'customGradient' => array( |
|
4175 'type' => 'string' |
|
4176 ), |
|
4177 'useFirstImageFromPost' => array( |
|
4178 'type' => 'boolean', |
|
4179 'default' => false |
|
4180 ) |
|
4181 ), |
|
4182 'usesContext' => array( |
|
4183 'postId', |
|
4184 'postType', |
|
4185 'queryId' |
|
4186 ), |
|
4187 'supports' => array( |
|
4188 'align' => array( |
|
4189 'left', |
|
4190 'right', |
|
4191 'center', |
|
4192 'wide', |
|
4193 'full' |
|
4194 ), |
|
4195 'color' => array( |
|
4196 'text' => false, |
|
4197 'background' => false |
|
4198 ), |
|
4199 '__experimentalBorder' => array( |
|
4200 'color' => true, |
|
4201 'radius' => true, |
|
4202 'width' => true, |
|
4203 '__experimentalSkipSerialization' => true, |
|
4204 '__experimentalDefaultControls' => array( |
|
4205 'color' => true, |
|
4206 'radius' => true, |
|
4207 'width' => true |
|
4208 ) |
|
4209 ), |
|
4210 'filter' => array( |
|
4211 'duotone' => true |
|
4212 ), |
|
4213 'shadow' => array( |
|
4214 '__experimentalSkipSerialization' => true |
|
4215 ), |
|
4216 'html' => false, |
|
4217 'spacing' => array( |
|
4218 'margin' => true, |
|
4219 'padding' => true |
|
4220 ), |
|
4221 'interactivity' => array( |
|
4222 'clientNavigation' => true |
|
4223 ) |
|
4224 ), |
|
4225 'selectors' => array( |
|
4226 'border' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .block-editor-media-placeholder, .wp-block-post-featured-image .wp-block-post-featured-image__overlay', |
|
4227 'shadow' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .components-placeholder', |
|
4228 'filter' => array( |
|
4229 'duotone' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .wp-block-post-featured-image__placeholder, .wp-block-post-featured-image .components-placeholder__illustration, .wp-block-post-featured-image .components-placeholder::before' |
|
4230 ) |
|
4231 ), |
|
4232 'editorStyle' => 'wp-block-post-featured-image-editor', |
|
4233 'style' => 'wp-block-post-featured-image' |
|
4234 ), |
|
4235 'post-navigation-link' => array( |
|
4236 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4237 'apiVersion' => 3, |
|
4238 'name' => 'core/post-navigation-link', |
|
4239 'title' => 'Post Navigation Link', |
|
4240 'category' => 'theme', |
|
4241 'description' => 'Displays the next or previous post link that is adjacent to the current post.', |
|
4242 'textdomain' => 'default', |
|
4243 'attributes' => array( |
|
4244 'textAlign' => array( |
|
4245 'type' => 'string' |
|
4246 ), |
|
4247 'type' => array( |
|
4248 'type' => 'string', |
|
4249 'default' => 'next' |
|
4250 ), |
|
4251 'label' => array( |
|
4252 'type' => 'string' |
|
4253 ), |
|
4254 'showTitle' => array( |
|
4255 'type' => 'boolean', |
|
4256 'default' => false |
|
4257 ), |
|
4258 'linkLabel' => array( |
|
4259 'type' => 'boolean', |
|
4260 'default' => false |
|
4261 ), |
|
4262 'arrow' => array( |
|
4263 'type' => 'string', |
|
4264 'default' => 'none' |
|
4265 ), |
|
4266 'taxonomy' => array( |
|
4267 'type' => 'string', |
|
4268 'default' => '' |
|
4269 ) |
|
4270 ), |
|
4271 'usesContext' => array( |
|
4272 'postType' |
|
4273 ), |
|
4274 'supports' => array( |
|
4275 'reusable' => false, |
|
4276 'html' => false, |
|
4277 'color' => array( |
|
4278 'link' => true |
|
4279 ), |
|
4280 'typography' => array( |
|
4281 'fontSize' => true, |
|
4282 'lineHeight' => true, |
|
4283 '__experimentalFontFamily' => true, |
|
4284 '__experimentalFontWeight' => true, |
|
4285 '__experimentalFontStyle' => true, |
|
4286 '__experimentalTextTransform' => true, |
|
4287 '__experimentalTextDecoration' => true, |
|
4288 '__experimentalLetterSpacing' => true, |
|
4289 '__experimentalWritingMode' => true, |
|
4290 '__experimentalDefaultControls' => array( |
|
4291 'fontSize' => true |
|
4292 ) |
|
4293 ), |
|
4294 'interactivity' => array( |
|
4295 'clientNavigation' => true |
|
4296 ) |
|
4297 ), |
|
4298 'style' => 'wp-block-post-navigation-link' |
|
4299 ), |
|
4300 'post-template' => array( |
|
4301 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4302 'apiVersion' => 3, |
|
4303 'name' => 'core/post-template', |
|
4304 'title' => 'Post Template', |
|
4305 'category' => 'theme', |
|
4306 'parent' => array( |
|
4307 'core/query' |
|
4308 ), |
|
4309 'description' => 'Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.', |
|
4310 'textdomain' => 'default', |
|
4311 'usesContext' => array( |
|
4312 'queryId', |
|
4313 'query', |
|
4314 'displayLayout', |
|
4315 'templateSlug', |
|
4316 'previewPostType', |
|
4317 'enhancedPagination' |
|
4318 ), |
|
4319 'supports' => array( |
|
4320 'reusable' => false, |
|
4321 'html' => false, |
|
4322 'align' => array( |
|
4323 'wide', |
|
4324 'full' |
|
4325 ), |
|
4326 'layout' => true, |
|
4327 'color' => array( |
|
4328 'gradients' => true, |
|
4329 'link' => true, |
|
4330 '__experimentalDefaultControls' => array( |
|
4331 'background' => true, |
|
4332 'text' => true |
|
4333 ) |
|
4334 ), |
|
4335 'typography' => array( |
|
4336 'fontSize' => true, |
|
4337 'lineHeight' => true, |
|
4338 '__experimentalFontFamily' => true, |
|
4339 '__experimentalFontWeight' => true, |
|
4340 '__experimentalFontStyle' => true, |
|
4341 '__experimentalTextTransform' => true, |
|
4342 '__experimentalTextDecoration' => true, |
|
4343 '__experimentalLetterSpacing' => true, |
|
4344 '__experimentalDefaultControls' => array( |
|
4345 'fontSize' => true |
|
4346 ) |
|
4347 ), |
|
4348 'spacing' => array( |
|
4349 'blockGap' => array( |
|
4350 '__experimentalDefault' => '1.25em' |
|
4351 ), |
|
4352 '__experimentalDefaultControls' => array( |
|
4353 'blockGap' => true |
|
4354 ) |
|
4355 ), |
|
4356 'interactivity' => array( |
|
4357 'clientNavigation' => true |
|
4358 ) |
|
4359 ), |
|
4360 'style' => 'wp-block-post-template', |
|
4361 'editorStyle' => 'wp-block-post-template-editor' |
|
4362 ), |
|
4363 'post-terms' => array( |
|
4364 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4365 'apiVersion' => 3, |
|
4366 'name' => 'core/post-terms', |
|
4367 'title' => 'Post Terms', |
|
4368 'category' => 'theme', |
|
4369 'description' => 'Post terms.', |
|
4370 'textdomain' => 'default', |
|
4371 'attributes' => array( |
|
4372 'term' => array( |
|
4373 'type' => 'string' |
|
4374 ), |
|
4375 'textAlign' => array( |
|
4376 'type' => 'string' |
|
4377 ), |
|
4378 'separator' => array( |
|
4379 'type' => 'string', |
|
4380 'default' => ', ' |
|
4381 ), |
|
4382 'prefix' => array( |
|
4383 'type' => 'string', |
|
4384 'default' => '' |
|
4385 ), |
|
4386 'suffix' => array( |
|
4387 'type' => 'string', |
|
4388 'default' => '' |
|
4389 ) |
|
4390 ), |
|
4391 'usesContext' => array( |
|
4392 'postId', |
|
4393 'postType' |
|
4394 ), |
|
4395 'supports' => array( |
|
4396 'html' => false, |
|
4397 'color' => array( |
|
4398 'gradients' => true, |
|
4399 'link' => true, |
|
4400 '__experimentalDefaultControls' => array( |
|
4401 'background' => true, |
|
4402 'text' => true, |
|
4403 'link' => true |
|
4404 ) |
|
4405 ), |
|
4406 'spacing' => array( |
|
4407 'margin' => true, |
|
4408 'padding' => true |
|
4409 ), |
|
4410 'typography' => array( |
|
4411 'fontSize' => true, |
|
4412 'lineHeight' => true, |
|
4413 '__experimentalFontFamily' => true, |
|
4414 '__experimentalFontWeight' => true, |
|
4415 '__experimentalFontStyle' => true, |
|
4416 '__experimentalTextTransform' => true, |
|
4417 '__experimentalTextDecoration' => true, |
|
4418 '__experimentalLetterSpacing' => true, |
|
4419 '__experimentalDefaultControls' => array( |
|
4420 'fontSize' => true |
|
4421 ) |
|
4422 ), |
|
4423 'interactivity' => array( |
|
4424 'clientNavigation' => true |
|
4425 ) |
|
4426 ), |
|
4427 'style' => 'wp-block-post-terms' |
|
4428 ), |
|
4429 'post-title' => array( |
|
4430 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4431 'apiVersion' => 3, |
|
4432 'name' => 'core/post-title', |
|
4433 'title' => 'Title', |
|
4434 'category' => 'theme', |
|
4435 'description' => 'Displays the title of a post, page, or any other content-type.', |
|
4436 'textdomain' => 'default', |
|
4437 'usesContext' => array( |
|
4438 'postId', |
|
4439 'postType', |
|
4440 'queryId' |
|
4441 ), |
|
4442 'attributes' => array( |
|
4443 'textAlign' => array( |
|
4444 'type' => 'string' |
|
4445 ), |
|
4446 'level' => array( |
|
4447 'type' => 'number', |
|
4448 'default' => 2 |
|
4449 ), |
|
4450 'isLink' => array( |
|
4451 'type' => 'boolean', |
|
4452 'default' => false |
|
4453 ), |
|
4454 'rel' => array( |
|
4455 'type' => 'string', |
|
4456 'attribute' => 'rel', |
|
4457 'default' => '' |
|
4458 ), |
|
4459 'linkTarget' => array( |
|
4460 'type' => 'string', |
|
4461 'default' => '_self' |
|
4462 ) |
|
4463 ), |
|
4464 'supports' => array( |
|
4465 'align' => array( |
|
4466 'wide', |
|
4467 'full' |
|
4468 ), |
|
4469 'html' => false, |
|
4470 'color' => array( |
|
4471 'gradients' => true, |
|
4472 'link' => true, |
|
4473 '__experimentalDefaultControls' => array( |
|
4474 'background' => true, |
|
4475 'text' => true, |
|
4476 'link' => true |
|
4477 ) |
|
4478 ), |
|
4479 'spacing' => array( |
|
4480 'margin' => true, |
|
4481 'padding' => true |
|
4482 ), |
|
4483 'typography' => array( |
|
4484 'fontSize' => true, |
|
4485 'lineHeight' => true, |
|
4486 '__experimentalFontFamily' => true, |
|
4487 '__experimentalFontWeight' => true, |
|
4488 '__experimentalFontStyle' => true, |
|
4489 '__experimentalTextTransform' => true, |
|
4490 '__experimentalTextDecoration' => true, |
|
4491 '__experimentalLetterSpacing' => true, |
|
4492 '__experimentalDefaultControls' => array( |
|
4493 'fontSize' => true |
|
4494 ) |
|
4495 ), |
|
4496 'interactivity' => array( |
|
4497 'clientNavigation' => true |
|
4498 ) |
|
4499 ), |
|
4500 'style' => 'wp-block-post-title' |
|
4501 ), |
|
4502 'preformatted' => array( |
|
4503 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4504 'apiVersion' => 3, |
|
4505 'name' => 'core/preformatted', |
|
4506 'title' => 'Preformatted', |
|
4507 'category' => 'text', |
|
4508 'description' => 'Add text that respects your spacing and tabs, and also allows styling.', |
|
4509 'textdomain' => 'default', |
|
4510 'attributes' => array( |
|
4511 'content' => array( |
|
4512 'type' => 'rich-text', |
|
4513 'source' => 'rich-text', |
|
4514 'selector' => 'pre', |
|
4515 '__unstablePreserveWhiteSpace' => true, |
|
4516 '__experimentalRole' => 'content' |
|
4517 ) |
|
4518 ), |
|
4519 'supports' => array( |
|
4520 'anchor' => true, |
|
4521 'color' => array( |
|
4522 'gradients' => true, |
|
4523 '__experimentalDefaultControls' => array( |
|
4524 'background' => true, |
|
4525 'text' => true |
|
4526 ) |
|
4527 ), |
|
4528 'spacing' => array( |
|
4529 'padding' => true, |
|
4530 'margin' => true |
|
4531 ), |
|
4532 'typography' => array( |
|
4533 'fontSize' => true, |
|
4534 'lineHeight' => true, |
|
4535 '__experimentalFontFamily' => true, |
|
4536 '__experimentalFontWeight' => true, |
|
4537 '__experimentalFontStyle' => true, |
|
4538 '__experimentalTextTransform' => true, |
|
4539 '__experimentalTextDecoration' => true, |
|
4540 '__experimentalLetterSpacing' => true, |
|
4541 '__experimentalDefaultControls' => array( |
|
4542 'fontSize' => true |
|
4543 ) |
|
4544 ), |
|
4545 'interactivity' => array( |
|
4546 'clientNavigation' => true |
|
4547 ) |
|
4548 ), |
|
4549 'style' => 'wp-block-preformatted' |
|
4550 ), |
|
4551 'pullquote' => array( |
|
4552 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4553 'apiVersion' => 3, |
|
4554 'name' => 'core/pullquote', |
|
4555 'title' => 'Pullquote', |
|
4556 'category' => 'text', |
|
4557 'description' => 'Give special visual emphasis to a quote from your text.', |
|
4558 'textdomain' => 'default', |
|
4559 'attributes' => array( |
|
4560 'value' => array( |
|
4561 'type' => 'rich-text', |
|
4562 'source' => 'rich-text', |
|
4563 'selector' => 'p', |
|
4564 '__experimentalRole' => 'content' |
|
4565 ), |
|
4566 'citation' => array( |
|
4567 'type' => 'rich-text', |
|
4568 'source' => 'rich-text', |
|
4569 'selector' => 'cite', |
|
4570 '__experimentalRole' => 'content' |
|
4571 ), |
|
4572 'textAlign' => array( |
|
4573 'type' => 'string' |
|
4574 ) |
|
4575 ), |
|
4576 'supports' => array( |
|
4577 'anchor' => true, |
|
4578 'align' => array( |
|
4579 'left', |
|
4580 'right', |
|
4581 'wide', |
|
4582 'full' |
|
4583 ), |
|
4584 'color' => array( |
|
4585 'gradients' => true, |
|
4586 'background' => true, |
|
4587 'link' => true, |
|
4588 '__experimentalDefaultControls' => array( |
|
4589 'background' => true, |
|
4590 'text' => true |
|
4591 ) |
|
4592 ), |
|
4593 'spacing' => array( |
|
4594 'margin' => true, |
|
4595 'padding' => true |
|
4596 ), |
|
4597 'typography' => array( |
|
4598 'fontSize' => true, |
|
4599 'lineHeight' => true, |
|
4600 '__experimentalFontFamily' => true, |
|
4601 '__experimentalFontWeight' => true, |
|
4602 '__experimentalFontStyle' => true, |
|
4603 '__experimentalTextTransform' => true, |
|
4604 '__experimentalTextDecoration' => true, |
|
4605 '__experimentalLetterSpacing' => true, |
|
4606 '__experimentalDefaultControls' => array( |
|
4607 'fontSize' => true |
|
4608 ) |
|
4609 ), |
|
4610 '__experimentalBorder' => array( |
|
4611 'color' => true, |
|
4612 'radius' => true, |
|
4613 'style' => true, |
|
4614 'width' => true, |
|
4615 '__experimentalDefaultControls' => array( |
|
4616 'color' => true, |
|
4617 'radius' => true, |
|
4618 'style' => true, |
|
4619 'width' => true |
|
4620 ) |
|
4621 ), |
|
4622 '__experimentalStyle' => array( |
|
4623 'typography' => array( |
|
4624 'fontSize' => '1.5em', |
|
4625 'lineHeight' => '1.6' |
|
4626 ) |
|
4627 ), |
|
4628 'interactivity' => array( |
|
4629 'clientNavigation' => true |
|
4630 ) |
|
4631 ), |
|
4632 'editorStyle' => 'wp-block-pullquote-editor', |
|
4633 'style' => 'wp-block-pullquote' |
|
4634 ), |
|
4635 'query' => array( |
|
4636 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4637 'apiVersion' => 3, |
|
4638 'name' => 'core/query', |
|
4639 'title' => 'Query Loop', |
|
4640 'category' => 'theme', |
|
4641 'description' => 'An advanced block that allows displaying post types based on different query parameters and visual configurations.', |
|
4642 'textdomain' => 'default', |
|
4643 'attributes' => array( |
|
4644 'queryId' => array( |
|
4645 'type' => 'number' |
|
4646 ), |
|
4647 'query' => array( |
|
4648 'type' => 'object', |
|
4649 'default' => array( |
|
4650 'perPage' => null, |
|
4651 'pages' => 0, |
|
4652 'offset' => 0, |
|
4653 'postType' => 'post', |
|
4654 'order' => 'desc', |
|
4655 'orderBy' => 'date', |
|
4656 'author' => '', |
|
4657 'search' => '', |
|
4658 'exclude' => array( |
|
4659 |
|
4660 ), |
|
4661 'sticky' => '', |
|
4662 'inherit' => true, |
|
4663 'taxQuery' => null, |
|
4664 'parents' => array( |
|
4665 |
|
4666 ) |
|
4667 ) |
|
4668 ), |
|
4669 'tagName' => array( |
|
4670 'type' => 'string', |
|
4671 'default' => 'div' |
|
4672 ), |
|
4673 'namespace' => array( |
|
4674 'type' => 'string' |
|
4675 ), |
|
4676 'enhancedPagination' => array( |
|
4677 'type' => 'boolean', |
|
4678 'default' => false |
|
4679 ) |
|
4680 ), |
|
4681 'providesContext' => array( |
|
4682 'queryId' => 'queryId', |
|
4683 'query' => 'query', |
|
4684 'displayLayout' => 'displayLayout', |
|
4685 'enhancedPagination' => 'enhancedPagination' |
|
4686 ), |
|
4687 'supports' => array( |
|
4688 'align' => array( |
|
4689 'wide', |
|
4690 'full' |
|
4691 ), |
|
4692 'html' => false, |
|
4693 'layout' => true, |
|
4694 'interactivity' => true |
|
4695 ), |
|
4696 'editorStyle' => 'wp-block-query-editor' |
|
4697 ), |
|
4698 'query-no-results' => array( |
|
4699 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4700 'apiVersion' => 3, |
|
4701 'name' => 'core/query-no-results', |
|
4702 'title' => 'No results', |
|
4703 'category' => 'theme', |
|
4704 'description' => 'Contains the block elements used to render content when no query results are found.', |
|
4705 'parent' => array( |
|
4706 'core/query' |
|
4707 ), |
|
4708 'textdomain' => 'default', |
|
4709 'usesContext' => array( |
|
4710 'queryId', |
|
4711 'query' |
|
4712 ), |
|
4713 'supports' => array( |
|
4714 'align' => true, |
|
4715 'reusable' => false, |
|
4716 'html' => false, |
|
4717 'color' => array( |
|
4718 'gradients' => true, |
|
4719 'link' => true |
|
4720 ), |
|
4721 'typography' => array( |
|
4722 'fontSize' => true, |
|
4723 'lineHeight' => true, |
|
4724 '__experimentalFontFamily' => true, |
|
4725 '__experimentalFontWeight' => true, |
|
4726 '__experimentalFontStyle' => true, |
|
4727 '__experimentalTextTransform' => true, |
|
4728 '__experimentalTextDecoration' => true, |
|
4729 '__experimentalLetterSpacing' => true, |
|
4730 '__experimentalDefaultControls' => array( |
|
4731 'fontSize' => true |
|
4732 ) |
|
4733 ), |
|
4734 'interactivity' => array( |
|
4735 'clientNavigation' => true |
|
4736 ) |
|
4737 ) |
|
4738 ), |
|
4739 'query-pagination' => array( |
|
4740 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4741 'apiVersion' => 3, |
|
4742 'name' => 'core/query-pagination', |
|
4743 'title' => 'Pagination', |
|
4744 'category' => 'theme', |
|
4745 'ancestor' => array( |
|
4746 'core/query' |
|
4747 ), |
|
4748 'allowedBlocks' => array( |
|
4749 'core/query-pagination-previous', |
|
4750 'core/query-pagination-numbers', |
|
4751 'core/query-pagination-next' |
|
4752 ), |
|
4753 'description' => 'Displays a paginated navigation to next/previous set of posts, when applicable.', |
|
4754 'textdomain' => 'default', |
|
4755 'attributes' => array( |
|
4756 'paginationArrow' => array( |
|
4757 'type' => 'string', |
|
4758 'default' => 'none' |
|
4759 ), |
|
4760 'showLabel' => array( |
|
4761 'type' => 'boolean', |
|
4762 'default' => true |
|
4763 ) |
|
4764 ), |
|
4765 'usesContext' => array( |
|
4766 'queryId', |
|
4767 'query' |
|
4768 ), |
|
4769 'providesContext' => array( |
|
4770 'paginationArrow' => 'paginationArrow', |
|
4771 'showLabel' => 'showLabel' |
|
4772 ), |
|
4773 'supports' => array( |
|
4774 'align' => true, |
|
4775 'reusable' => false, |
|
4776 'html' => false, |
|
4777 'color' => array( |
|
4778 'gradients' => true, |
|
4779 'link' => true, |
|
4780 '__experimentalDefaultControls' => array( |
|
4781 'background' => true, |
|
4782 'text' => true, |
|
4783 'link' => true |
|
4784 ) |
|
4785 ), |
|
4786 'layout' => array( |
|
4787 'allowSwitching' => false, |
|
4788 'allowInheriting' => false, |
|
4789 'default' => array( |
|
4790 'type' => 'flex' |
|
4791 ) |
|
4792 ), |
|
4793 'typography' => array( |
|
4794 'fontSize' => true, |
|
4795 'lineHeight' => true, |
|
4796 '__experimentalFontFamily' => true, |
|
4797 '__experimentalFontWeight' => true, |
|
4798 '__experimentalFontStyle' => true, |
|
4799 '__experimentalTextTransform' => true, |
|
4800 '__experimentalTextDecoration' => true, |
|
4801 '__experimentalLetterSpacing' => true, |
|
4802 '__experimentalDefaultControls' => array( |
|
4803 'fontSize' => true |
|
4804 ) |
|
4805 ), |
|
4806 'interactivity' => array( |
|
4807 'clientNavigation' => true |
|
4808 ) |
|
4809 ), |
|
4810 'editorStyle' => 'wp-block-query-pagination-editor', |
|
4811 'style' => 'wp-block-query-pagination' |
|
4812 ), |
|
4813 'query-pagination-next' => array( |
|
4814 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4815 'apiVersion' => 3, |
|
4816 'name' => 'core/query-pagination-next', |
|
4817 'title' => 'Next Page', |
|
4818 'category' => 'theme', |
|
4819 'parent' => array( |
|
4820 'core/query-pagination' |
|
4821 ), |
|
4822 'description' => 'Displays the next posts page link.', |
|
4823 'textdomain' => 'default', |
|
4824 'attributes' => array( |
|
4825 'label' => array( |
|
4826 'type' => 'string' |
|
4827 ) |
|
4828 ), |
|
4829 'usesContext' => array( |
|
4830 'queryId', |
|
4831 'query', |
|
4832 'paginationArrow', |
|
4833 'showLabel', |
|
4834 'enhancedPagination' |
|
4835 ), |
|
4836 'supports' => array( |
|
4837 'reusable' => false, |
|
4838 'html' => false, |
|
4839 'color' => array( |
|
4840 'gradients' => true, |
|
4841 'text' => false, |
|
4842 '__experimentalDefaultControls' => array( |
|
4843 'background' => true |
|
4844 ) |
|
4845 ), |
|
4846 'typography' => array( |
|
4847 'fontSize' => true, |
|
4848 'lineHeight' => true, |
|
4849 '__experimentalFontFamily' => true, |
|
4850 '__experimentalFontWeight' => true, |
|
4851 '__experimentalFontStyle' => true, |
|
4852 '__experimentalTextTransform' => true, |
|
4853 '__experimentalTextDecoration' => true, |
|
4854 '__experimentalLetterSpacing' => true, |
|
4855 '__experimentalDefaultControls' => array( |
|
4856 'fontSize' => true |
|
4857 ) |
|
4858 ), |
|
4859 'interactivity' => array( |
|
4860 'clientNavigation' => true |
|
4861 ) |
|
4862 ) |
|
4863 ), |
|
4864 'query-pagination-numbers' => array( |
|
4865 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4866 'apiVersion' => 3, |
|
4867 'name' => 'core/query-pagination-numbers', |
|
4868 'title' => 'Page Numbers', |
|
4869 'category' => 'theme', |
|
4870 'parent' => array( |
|
4871 'core/query-pagination' |
|
4872 ), |
|
4873 'description' => 'Displays a list of page numbers for pagination.', |
|
4874 'textdomain' => 'default', |
|
4875 'attributes' => array( |
|
4876 'midSize' => array( |
|
4877 'type' => 'number', |
|
4878 'default' => 2 |
|
4879 ) |
|
4880 ), |
|
4881 'usesContext' => array( |
|
4882 'queryId', |
|
4883 'query', |
|
4884 'enhancedPagination' |
|
4885 ), |
|
4886 'supports' => array( |
|
4887 'reusable' => false, |
|
4888 'html' => false, |
|
4889 'color' => array( |
|
4890 'gradients' => true, |
|
4891 'text' => false, |
|
4892 '__experimentalDefaultControls' => array( |
|
4893 'background' => true |
|
4894 ) |
|
4895 ), |
|
4896 'typography' => array( |
|
4897 'fontSize' => true, |
|
4898 'lineHeight' => true, |
|
4899 '__experimentalFontFamily' => true, |
|
4900 '__experimentalFontWeight' => true, |
|
4901 '__experimentalFontStyle' => true, |
|
4902 '__experimentalTextTransform' => true, |
|
4903 '__experimentalTextDecoration' => true, |
|
4904 '__experimentalLetterSpacing' => true, |
|
4905 '__experimentalDefaultControls' => array( |
|
4906 'fontSize' => true |
|
4907 ) |
|
4908 ), |
|
4909 'interactivity' => array( |
|
4910 'clientNavigation' => true |
|
4911 ) |
|
4912 ), |
|
4913 'editorStyle' => 'wp-block-query-pagination-numbers-editor' |
|
4914 ), |
|
4915 'query-pagination-previous' => array( |
|
4916 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4917 'apiVersion' => 3, |
|
4918 'name' => 'core/query-pagination-previous', |
|
4919 'title' => 'Previous Page', |
|
4920 'category' => 'theme', |
|
4921 'parent' => array( |
|
4922 'core/query-pagination' |
|
4923 ), |
|
4924 'description' => 'Displays the previous posts page link.', |
|
4925 'textdomain' => 'default', |
|
4926 'attributes' => array( |
|
4927 'label' => array( |
|
4928 'type' => 'string' |
|
4929 ) |
|
4930 ), |
|
4931 'usesContext' => array( |
|
4932 'queryId', |
|
4933 'query', |
|
4934 'paginationArrow', |
|
4935 'showLabel', |
|
4936 'enhancedPagination' |
|
4937 ), |
|
4938 'supports' => array( |
|
4939 'reusable' => false, |
|
4940 'html' => false, |
|
4941 'color' => array( |
|
4942 'gradients' => true, |
|
4943 'text' => false, |
|
4944 '__experimentalDefaultControls' => array( |
|
4945 'background' => true |
|
4946 ) |
|
4947 ), |
|
4948 'typography' => array( |
|
4949 'fontSize' => true, |
|
4950 'lineHeight' => true, |
|
4951 '__experimentalFontFamily' => true, |
|
4952 '__experimentalFontWeight' => true, |
|
4953 '__experimentalFontStyle' => true, |
|
4954 '__experimentalTextTransform' => true, |
|
4955 '__experimentalTextDecoration' => true, |
|
4956 '__experimentalLetterSpacing' => true, |
|
4957 '__experimentalDefaultControls' => array( |
|
4958 'fontSize' => true |
|
4959 ) |
|
4960 ), |
|
4961 'interactivity' => array( |
|
4962 'clientNavigation' => true |
|
4963 ) |
|
4964 ) |
|
4965 ), |
|
4966 'query-title' => array( |
|
4967 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
4968 'apiVersion' => 3, |
|
4969 'name' => 'core/query-title', |
|
4970 'title' => 'Query Title', |
|
4971 'category' => 'theme', |
|
4972 'description' => 'Display the query title.', |
|
4973 'textdomain' => 'default', |
|
4974 'attributes' => array( |
|
4975 'type' => array( |
|
4976 'type' => 'string' |
|
4977 ), |
|
4978 'textAlign' => array( |
|
4979 'type' => 'string' |
|
4980 ), |
|
4981 'level' => array( |
|
4982 'type' => 'number', |
|
4983 'default' => 1 |
|
4984 ), |
|
4985 'showPrefix' => array( |
|
4986 'type' => 'boolean', |
|
4987 'default' => true |
|
4988 ), |
|
4989 'showSearchTerm' => array( |
|
4990 'type' => 'boolean', |
|
4991 'default' => true |
|
4992 ) |
|
4993 ), |
|
4994 'supports' => array( |
|
4995 'align' => array( |
|
4996 'wide', |
|
4997 'full' |
|
4998 ), |
|
4999 'html' => false, |
|
5000 'color' => array( |
|
5001 'gradients' => true, |
|
5002 '__experimentalDefaultControls' => array( |
|
5003 'background' => true, |
|
5004 'text' => true |
|
5005 ) |
|
5006 ), |
|
5007 'spacing' => array( |
|
5008 'margin' => true, |
|
5009 'padding' => true |
|
5010 ), |
|
5011 'typography' => array( |
|
5012 'fontSize' => true, |
|
5013 'lineHeight' => true, |
|
5014 '__experimentalFontFamily' => true, |
|
5015 '__experimentalFontStyle' => true, |
|
5016 '__experimentalFontWeight' => true, |
|
5017 '__experimentalLetterSpacing' => true, |
|
5018 '__experimentalTextTransform' => true, |
|
5019 '__experimentalTextDecoration' => true, |
|
5020 '__experimentalDefaultControls' => array( |
|
5021 'fontSize' => true |
|
5022 ) |
|
5023 ), |
|
5024 'interactivity' => array( |
|
5025 'clientNavigation' => true |
|
5026 ) |
|
5027 ), |
|
5028 'style' => 'wp-block-query-title' |
|
5029 ), |
|
5030 'quote' => array( |
|
5031 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5032 'apiVersion' => 3, |
|
5033 'name' => 'core/quote', |
|
5034 'title' => 'Quote', |
|
5035 'category' => 'text', |
|
5036 'description' => 'Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar', |
|
5037 'keywords' => array( |
|
5038 'blockquote', |
|
5039 'cite' |
|
5040 ), |
|
5041 'textdomain' => 'default', |
|
5042 'attributes' => array( |
|
5043 'value' => array( |
|
5044 'type' => 'string', |
|
5045 'source' => 'html', |
|
5046 'selector' => 'blockquote', |
|
5047 'multiline' => 'p', |
|
5048 'default' => '', |
|
5049 '__experimentalRole' => 'content' |
|
5050 ), |
|
5051 'citation' => array( |
|
5052 'type' => 'rich-text', |
|
5053 'source' => 'rich-text', |
|
5054 'selector' => 'cite', |
|
5055 '__experimentalRole' => 'content' |
|
5056 ), |
|
5057 'textAlign' => array( |
|
5058 'type' => 'string' |
|
5059 ) |
|
5060 ), |
|
5061 'supports' => array( |
|
5062 'anchor' => true, |
|
5063 'html' => false, |
|
5064 '__experimentalOnEnter' => true, |
|
5065 '__experimentalOnMerge' => true, |
|
5066 'typography' => array( |
|
5067 'fontSize' => true, |
|
5068 'lineHeight' => true, |
|
5069 '__experimentalFontFamily' => true, |
|
5070 '__experimentalFontWeight' => true, |
|
5071 '__experimentalFontStyle' => true, |
|
5072 '__experimentalTextTransform' => true, |
|
5073 '__experimentalTextDecoration' => true, |
|
5074 '__experimentalLetterSpacing' => true, |
|
5075 '__experimentalDefaultControls' => array( |
|
5076 'fontSize' => true |
|
5077 ) |
|
5078 ), |
|
5079 'color' => array( |
|
5080 'gradients' => true, |
|
5081 'heading' => true, |
|
5082 'link' => true, |
|
5083 '__experimentalDefaultControls' => array( |
|
5084 'background' => true, |
|
5085 'text' => true |
|
5086 ) |
|
5087 ), |
|
5088 'layout' => array( |
|
5089 'allowEditing' => false |
|
5090 ), |
|
5091 'spacing' => array( |
|
5092 'blockGap' => true |
|
5093 ), |
|
5094 'interactivity' => array( |
|
5095 'clientNavigation' => true |
|
5096 ) |
|
5097 ), |
|
5098 'styles' => array( |
|
5099 array( |
|
5100 'name' => 'default', |
|
5101 'label' => 'Default', |
|
5102 'isDefault' => true |
|
5103 ), |
|
5104 array( |
|
5105 'name' => 'plain', |
|
5106 'label' => 'Plain' |
|
5107 ) |
|
5108 ), |
|
5109 'editorStyle' => 'wp-block-quote-editor', |
|
5110 'style' => 'wp-block-quote' |
|
5111 ), |
|
5112 'read-more' => array( |
|
5113 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5114 'apiVersion' => 3, |
|
5115 'name' => 'core/read-more', |
|
5116 'title' => 'Read More', |
|
5117 'category' => 'theme', |
|
5118 'description' => 'Displays the link of a post, page, or any other content-type.', |
|
5119 'textdomain' => 'default', |
|
5120 'attributes' => array( |
|
5121 'content' => array( |
|
5122 'type' => 'string' |
|
5123 ), |
|
5124 'linkTarget' => array( |
|
5125 'type' => 'string', |
|
5126 'default' => '_self' |
|
5127 ) |
|
5128 ), |
|
5129 'usesContext' => array( |
|
5130 'postId' |
|
5131 ), |
|
5132 'supports' => array( |
|
5133 'html' => false, |
|
5134 'color' => array( |
|
5135 'gradients' => true, |
|
5136 'text' => true |
|
5137 ), |
|
5138 'typography' => array( |
|
5139 'fontSize' => true, |
|
5140 'lineHeight' => true, |
|
5141 '__experimentalFontFamily' => true, |
|
5142 '__experimentalFontWeight' => true, |
|
5143 '__experimentalFontStyle' => true, |
|
5144 '__experimentalTextTransform' => true, |
|
5145 '__experimentalLetterSpacing' => true, |
|
5146 '__experimentalTextDecoration' => true, |
|
5147 '__experimentalDefaultControls' => array( |
|
5148 'fontSize' => true, |
|
5149 'textDecoration' => true |
|
5150 ) |
|
5151 ), |
|
5152 'spacing' => array( |
|
5153 'margin' => array( |
|
5154 'top', |
|
5155 'bottom' |
|
5156 ), |
|
5157 'padding' => true, |
|
5158 '__experimentalDefaultControls' => array( |
|
5159 'padding' => true |
|
5160 ) |
|
5161 ), |
|
5162 '__experimentalBorder' => array( |
|
5163 'color' => true, |
|
5164 'radius' => true, |
|
5165 'width' => true, |
|
5166 '__experimentalDefaultControls' => array( |
|
5167 'width' => true |
|
5168 ) |
|
5169 ), |
|
5170 'interactivity' => array( |
|
5171 'clientNavigation' => true |
|
5172 ) |
|
5173 ), |
|
5174 'style' => 'wp-block-read-more' |
|
5175 ), |
|
5176 'rss' => array( |
|
5177 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5178 'apiVersion' => 3, |
|
5179 'name' => 'core/rss', |
|
5180 'title' => 'RSS', |
|
5181 'category' => 'widgets', |
|
5182 'description' => 'Display entries from any RSS or Atom feed.', |
|
5183 'keywords' => array( |
|
5184 'atom', |
|
5185 'feed' |
|
5186 ), |
|
5187 'textdomain' => 'default', |
|
5188 'attributes' => array( |
|
5189 'columns' => array( |
|
5190 'type' => 'number', |
|
5191 'default' => 2 |
|
5192 ), |
|
5193 'blockLayout' => array( |
|
5194 'type' => 'string', |
|
5195 'default' => 'list' |
|
5196 ), |
|
5197 'feedURL' => array( |
|
5198 'type' => 'string', |
|
5199 'default' => '' |
|
5200 ), |
|
5201 'itemsToShow' => array( |
|
5202 'type' => 'number', |
|
5203 'default' => 5 |
|
5204 ), |
|
5205 'displayExcerpt' => array( |
|
5206 'type' => 'boolean', |
|
5207 'default' => false |
|
5208 ), |
|
5209 'displayAuthor' => array( |
|
5210 'type' => 'boolean', |
|
5211 'default' => false |
|
5212 ), |
|
5213 'displayDate' => array( |
|
5214 'type' => 'boolean', |
|
5215 'default' => false |
|
5216 ), |
|
5217 'excerptLength' => array( |
|
5218 'type' => 'number', |
|
5219 'default' => 55 |
|
5220 ) |
|
5221 ), |
|
5222 'supports' => array( |
|
5223 'align' => true, |
|
5224 'html' => false, |
|
5225 'interactivity' => array( |
|
5226 'clientNavigation' => true |
|
5227 ) |
|
5228 ), |
|
5229 'editorStyle' => 'wp-block-rss-editor', |
|
5230 'style' => 'wp-block-rss' |
|
5231 ), |
|
5232 'search' => array( |
|
5233 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5234 'apiVersion' => 3, |
|
5235 'name' => 'core/search', |
|
5236 'title' => 'Search', |
|
5237 'category' => 'widgets', |
|
5238 'description' => 'Help visitors find your content.', |
|
5239 'keywords' => array( |
|
5240 'find' |
|
5241 ), |
|
5242 'textdomain' => 'default', |
|
5243 'attributes' => array( |
|
5244 'label' => array( |
|
5245 'type' => 'string', |
|
5246 '__experimentalRole' => 'content' |
|
5247 ), |
|
5248 'showLabel' => array( |
|
5249 'type' => 'boolean', |
|
5250 'default' => true |
|
5251 ), |
|
5252 'placeholder' => array( |
|
5253 'type' => 'string', |
|
5254 'default' => '', |
|
5255 '__experimentalRole' => 'content' |
|
5256 ), |
|
5257 'width' => array( |
|
5258 'type' => 'number' |
|
5259 ), |
|
5260 'widthUnit' => array( |
|
5261 'type' => 'string' |
|
5262 ), |
|
5263 'buttonText' => array( |
|
5264 'type' => 'string', |
|
5265 '__experimentalRole' => 'content' |
|
5266 ), |
|
5267 'buttonPosition' => array( |
|
5268 'type' => 'string', |
|
5269 'default' => 'button-outside' |
|
5270 ), |
|
5271 'buttonUseIcon' => array( |
|
5272 'type' => 'boolean', |
|
5273 'default' => false |
|
5274 ), |
|
5275 'query' => array( |
|
5276 'type' => 'object', |
|
5277 'default' => array( |
|
5278 |
|
5279 ) |
|
5280 ), |
|
5281 'isSearchFieldHidden' => array( |
|
5282 'type' => 'boolean', |
|
5283 'default' => false |
|
5284 ) |
|
5285 ), |
|
5286 'supports' => array( |
|
5287 'align' => array( |
|
5288 'left', |
|
5289 'center', |
|
5290 'right' |
|
5291 ), |
|
5292 'color' => array( |
|
5293 'gradients' => true, |
|
5294 '__experimentalSkipSerialization' => true, |
|
5295 '__experimentalDefaultControls' => array( |
|
5296 'background' => true, |
|
5297 'text' => true |
|
5298 ) |
|
5299 ), |
|
5300 'interactivity' => true, |
|
5301 'typography' => array( |
|
5302 '__experimentalSkipSerialization' => true, |
|
5303 '__experimentalSelector' => '.wp-block-search__label, .wp-block-search__input, .wp-block-search__button', |
|
5304 'fontSize' => true, |
|
5305 'lineHeight' => true, |
|
5306 '__experimentalFontFamily' => true, |
|
5307 '__experimentalFontWeight' => true, |
|
5308 '__experimentalFontStyle' => true, |
|
5309 '__experimentalTextTransform' => true, |
|
5310 '__experimentalTextDecoration' => true, |
|
5311 '__experimentalLetterSpacing' => true, |
|
5312 '__experimentalDefaultControls' => array( |
|
5313 'fontSize' => true |
|
5314 ) |
|
5315 ), |
|
5316 '__experimentalBorder' => array( |
|
5317 'color' => true, |
|
5318 'radius' => true, |
|
5319 'width' => true, |
|
5320 '__experimentalSkipSerialization' => true, |
|
5321 '__experimentalDefaultControls' => array( |
|
5322 'color' => true, |
|
5323 'radius' => true, |
|
5324 'width' => true |
|
5325 ) |
|
5326 ), |
|
5327 'html' => false |
|
5328 ), |
|
5329 'editorStyle' => 'wp-block-search-editor', |
|
5330 'style' => 'wp-block-search' |
|
5331 ), |
|
5332 'separator' => array( |
|
5333 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5334 'apiVersion' => 3, |
|
5335 'name' => 'core/separator', |
|
5336 'title' => 'Separator', |
|
5337 'category' => 'design', |
|
5338 'description' => 'Create a break between ideas or sections with a horizontal separator.', |
|
5339 'keywords' => array( |
|
5340 'horizontal-line', |
|
5341 'hr', |
|
5342 'divider' |
|
5343 ), |
|
5344 'textdomain' => 'default', |
|
5345 'attributes' => array( |
|
5346 'opacity' => array( |
|
5347 'type' => 'string', |
|
5348 'default' => 'alpha-channel' |
|
5349 ) |
|
5350 ), |
|
5351 'supports' => array( |
|
5352 'anchor' => true, |
|
5353 'align' => array( |
|
5354 'center', |
|
5355 'wide', |
|
5356 'full' |
|
5357 ), |
|
5358 'color' => array( |
|
5359 'enableContrastChecker' => false, |
|
5360 '__experimentalSkipSerialization' => true, |
|
5361 'gradients' => true, |
|
5362 'background' => true, |
|
5363 'text' => false, |
|
5364 '__experimentalDefaultControls' => array( |
|
5365 'background' => true |
|
5366 ) |
|
5367 ), |
|
5368 'spacing' => array( |
|
5369 'margin' => array( |
|
5370 'top', |
|
5371 'bottom' |
|
5372 ) |
|
5373 ), |
|
5374 'interactivity' => array( |
|
5375 'clientNavigation' => true |
|
5376 ) |
|
5377 ), |
|
5378 'styles' => array( |
|
5379 array( |
|
5380 'name' => 'default', |
|
5381 'label' => 'Default', |
|
5382 'isDefault' => true |
|
5383 ), |
|
5384 array( |
|
5385 'name' => 'wide', |
|
5386 'label' => 'Wide Line' |
|
5387 ), |
|
5388 array( |
|
5389 'name' => 'dots', |
|
5390 'label' => 'Dots' |
|
5391 ) |
|
5392 ), |
|
5393 'editorStyle' => 'wp-block-separator-editor', |
|
5394 'style' => 'wp-block-separator' |
|
5395 ), |
|
5396 'shortcode' => array( |
|
5397 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5398 'apiVersion' => 3, |
|
5399 'name' => 'core/shortcode', |
|
5400 'title' => 'Shortcode', |
|
5401 'category' => 'widgets', |
|
5402 'description' => 'Insert additional custom elements with a WordPress shortcode.', |
|
5403 'textdomain' => 'default', |
|
5404 'attributes' => array( |
|
5405 'text' => array( |
|
5406 'type' => 'string', |
|
5407 'source' => 'raw' |
|
5408 ) |
|
5409 ), |
|
5410 'supports' => array( |
|
5411 'className' => false, |
|
5412 'customClassName' => false, |
|
5413 'html' => false |
|
5414 ), |
|
5415 'editorStyle' => 'wp-block-shortcode-editor' |
|
5416 ), |
|
5417 'site-logo' => array( |
|
5418 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5419 'apiVersion' => 3, |
|
5420 'name' => 'core/site-logo', |
|
5421 'title' => 'Site Logo', |
|
5422 'category' => 'theme', |
|
5423 'description' => 'Display an image to represent this site. Update this block and the changes apply everywhere.', |
|
5424 'textdomain' => 'default', |
|
5425 'attributes' => array( |
|
5426 'width' => array( |
|
5427 'type' => 'number' |
|
5428 ), |
|
5429 'isLink' => array( |
|
5430 'type' => 'boolean', |
|
5431 'default' => true |
|
5432 ), |
|
5433 'linkTarget' => array( |
|
5434 'type' => 'string', |
|
5435 'default' => '_self' |
|
5436 ), |
|
5437 'shouldSyncIcon' => array( |
|
5438 'type' => 'boolean' |
|
5439 ) |
|
5440 ), |
|
5441 'example' => array( |
|
5442 'viewportWidth' => 500, |
|
5443 'attributes' => array( |
|
5444 'width' => 350, |
|
5445 'className' => 'block-editor-block-types-list__site-logo-example' |
|
5446 ) |
|
5447 ), |
|
5448 'supports' => array( |
|
5449 'html' => false, |
|
5450 'align' => true, |
|
5451 'alignWide' => false, |
|
5452 'color' => array( |
|
5453 '__experimentalDuotone' => 'img, .components-placeholder__illustration, .components-placeholder::before', |
|
5454 'text' => false, |
|
5455 'background' => false |
|
5456 ), |
|
5457 'spacing' => array( |
|
5458 'margin' => true, |
|
5459 'padding' => true, |
|
5460 '__experimentalDefaultControls' => array( |
|
5461 'margin' => false, |
|
5462 'padding' => false |
|
5463 ) |
|
5464 ), |
|
5465 'interactivity' => array( |
|
5466 'clientNavigation' => true |
|
5467 ) |
|
5468 ), |
|
5469 'styles' => array( |
|
5470 array( |
|
5471 'name' => 'default', |
|
5472 'label' => 'Default', |
|
5473 'isDefault' => true |
|
5474 ), |
|
5475 array( |
|
5476 'name' => 'rounded', |
|
5477 'label' => 'Rounded' |
|
5478 ) |
|
5479 ), |
|
5480 'editorStyle' => 'wp-block-site-logo-editor', |
|
5481 'style' => 'wp-block-site-logo' |
|
5482 ), |
|
5483 'site-tagline' => array( |
|
5484 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5485 'apiVersion' => 3, |
|
5486 'name' => 'core/site-tagline', |
|
5487 'title' => 'Site Tagline', |
|
5488 'category' => 'theme', |
|
5489 'description' => 'Describe in a few words what the site is about. The tagline can be used in search results or when sharing on social networks even if it’s not displayed in the theme design.', |
|
5490 'keywords' => array( |
|
5491 'description' |
|
5492 ), |
|
5493 'textdomain' => 'default', |
|
5494 'attributes' => array( |
|
5495 'textAlign' => array( |
|
5496 'type' => 'string' |
|
5497 ), |
|
5498 'level' => array( |
|
5499 'type' => 'number', |
|
5500 'default' => 0 |
|
5501 ) |
|
5502 ), |
|
5503 'example' => array( |
|
5504 |
|
5505 ), |
|
5506 'supports' => array( |
|
5507 'align' => array( |
|
5508 'wide', |
|
5509 'full' |
|
5510 ), |
|
5511 'html' => false, |
|
5512 'color' => array( |
|
5513 'gradients' => true, |
|
5514 '__experimentalDefaultControls' => array( |
|
5515 'background' => true, |
|
5516 'text' => true |
|
5517 ) |
|
5518 ), |
|
5519 'spacing' => array( |
|
5520 'margin' => true, |
|
5521 'padding' => true, |
|
5522 '__experimentalDefaultControls' => array( |
|
5523 'margin' => false, |
|
5524 'padding' => false |
|
5525 ) |
|
5526 ), |
|
5527 'typography' => array( |
|
5528 'fontSize' => true, |
|
5529 'lineHeight' => true, |
|
5530 '__experimentalFontFamily' => true, |
|
5531 '__experimentalTextTransform' => true, |
|
5532 '__experimentalTextDecoration' => true, |
|
5533 '__experimentalFontStyle' => true, |
|
5534 '__experimentalFontWeight' => true, |
|
5535 '__experimentalLetterSpacing' => true, |
|
5536 '__experimentalDefaultControls' => array( |
|
5537 'fontSize' => true |
|
5538 ) |
|
5539 ), |
|
5540 'interactivity' => array( |
|
5541 'clientNavigation' => true |
|
5542 ) |
|
5543 ), |
|
5544 'editorStyle' => 'wp-block-site-tagline-editor' |
|
5545 ), |
|
5546 'site-title' => array( |
|
5547 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5548 'apiVersion' => 3, |
|
5549 'name' => 'core/site-title', |
|
5550 'title' => 'Site Title', |
|
5551 'category' => 'theme', |
|
5552 'description' => 'Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.', |
|
5553 'textdomain' => 'default', |
|
5554 'attributes' => array( |
|
5555 'level' => array( |
|
5556 'type' => 'number', |
|
5557 'default' => 1 |
|
5558 ), |
|
5559 'textAlign' => array( |
|
5560 'type' => 'string' |
|
5561 ), |
|
5562 'isLink' => array( |
|
5563 'type' => 'boolean', |
|
5564 'default' => true |
|
5565 ), |
|
5566 'linkTarget' => array( |
|
5567 'type' => 'string', |
|
5568 'default' => '_self' |
|
5569 ) |
|
5570 ), |
|
5571 'example' => array( |
|
5572 'viewportWidth' => 500 |
|
5573 ), |
|
5574 'supports' => array( |
|
5575 'align' => array( |
|
5576 'wide', |
|
5577 'full' |
|
5578 ), |
|
5579 'html' => false, |
|
5580 'color' => array( |
|
5581 'gradients' => true, |
|
5582 'link' => true, |
|
5583 '__experimentalDefaultControls' => array( |
|
5584 'background' => true, |
|
5585 'text' => true, |
|
5586 'link' => true |
|
5587 ) |
|
5588 ), |
|
5589 'spacing' => array( |
|
5590 'padding' => true, |
|
5591 'margin' => true, |
|
5592 '__experimentalDefaultControls' => array( |
|
5593 'margin' => false, |
|
5594 'padding' => false |
|
5595 ) |
|
5596 ), |
|
5597 'typography' => array( |
|
5598 'fontSize' => true, |
|
5599 'lineHeight' => true, |
|
5600 '__experimentalFontFamily' => true, |
|
5601 '__experimentalTextTransform' => true, |
|
5602 '__experimentalTextDecoration' => true, |
|
5603 '__experimentalFontStyle' => true, |
|
5604 '__experimentalFontWeight' => true, |
|
5605 '__experimentalLetterSpacing' => true, |
|
5606 '__experimentalDefaultControls' => array( |
|
5607 'fontSize' => true |
|
5608 ) |
|
5609 ), |
|
5610 'interactivity' => array( |
|
5611 'clientNavigation' => true |
|
5612 ) |
|
5613 ), |
|
5614 'editorStyle' => 'wp-block-site-title-editor', |
|
5615 'style' => 'wp-block-site-title' |
|
5616 ), |
|
5617 'social-link' => array( |
|
5618 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5619 'apiVersion' => 3, |
|
5620 'name' => 'core/social-link', |
|
5621 'title' => 'Social Icon', |
|
5622 'category' => 'widgets', |
|
5623 'parent' => array( |
|
5624 'core/social-links' |
|
5625 ), |
|
5626 'description' => 'Display an icon linking to a social profile or site.', |
|
5627 'textdomain' => 'default', |
|
5628 'attributes' => array( |
|
5629 'url' => array( |
|
5630 'type' => 'string' |
|
5631 ), |
|
5632 'service' => array( |
|
5633 'type' => 'string' |
|
5634 ), |
|
5635 'label' => array( |
|
5636 'type' => 'string' |
|
5637 ), |
|
5638 'rel' => array( |
|
5639 'type' => 'string' |
|
5640 ) |
|
5641 ), |
|
5642 'usesContext' => array( |
|
5643 'openInNewTab', |
|
5644 'showLabels', |
|
5645 'iconColor', |
|
5646 'iconColorValue', |
|
5647 'iconBackgroundColor', |
|
5648 'iconBackgroundColorValue' |
|
5649 ), |
|
5650 'supports' => array( |
|
5651 'reusable' => false, |
|
5652 'html' => false, |
|
5653 'interactivity' => array( |
|
5654 'clientNavigation' => true |
|
5655 ) |
|
5656 ), |
|
5657 'editorStyle' => 'wp-block-social-link-editor' |
|
5658 ), |
|
5659 'social-links' => array( |
|
5660 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5661 'apiVersion' => 3, |
|
5662 'name' => 'core/social-links', |
|
5663 'title' => 'Social Icons', |
|
5664 'category' => 'widgets', |
|
5665 'allowedBlocks' => array( |
|
5666 'core/social-link' |
|
5667 ), |
|
5668 'description' => 'Display icons linking to your social profiles or sites.', |
|
5669 'keywords' => array( |
|
5670 'links' |
|
5671 ), |
|
5672 'textdomain' => 'default', |
|
5673 'attributes' => array( |
|
5674 'iconColor' => array( |
|
5675 'type' => 'string' |
|
5676 ), |
|
5677 'customIconColor' => array( |
|
5678 'type' => 'string' |
|
5679 ), |
|
5680 'iconColorValue' => array( |
|
5681 'type' => 'string' |
|
5682 ), |
|
5683 'iconBackgroundColor' => array( |
|
5684 'type' => 'string' |
|
5685 ), |
|
5686 'customIconBackgroundColor' => array( |
|
5687 'type' => 'string' |
|
5688 ), |
|
5689 'iconBackgroundColorValue' => array( |
|
5690 'type' => 'string' |
|
5691 ), |
|
5692 'openInNewTab' => array( |
|
5693 'type' => 'boolean', |
|
5694 'default' => false |
|
5695 ), |
|
5696 'showLabels' => array( |
|
5697 'type' => 'boolean', |
|
5698 'default' => false |
|
5699 ), |
|
5700 'size' => array( |
|
5701 'type' => 'string' |
|
5702 ) |
|
5703 ), |
|
5704 'providesContext' => array( |
|
5705 'openInNewTab' => 'openInNewTab', |
|
5706 'showLabels' => 'showLabels', |
|
5707 'iconColor' => 'iconColor', |
|
5708 'iconColorValue' => 'iconColorValue', |
|
5709 'iconBackgroundColor' => 'iconBackgroundColor', |
|
5710 'iconBackgroundColorValue' => 'iconBackgroundColorValue' |
|
5711 ), |
|
5712 'supports' => array( |
|
5713 'align' => array( |
|
5714 'left', |
|
5715 'center', |
|
5716 'right' |
|
5717 ), |
|
5718 'anchor' => true, |
|
5719 '__experimentalExposeControlsToChildren' => true, |
|
5720 'layout' => array( |
|
5721 'allowSwitching' => false, |
|
5722 'allowInheriting' => false, |
|
5723 'allowVerticalAlignment' => false, |
|
5724 'default' => array( |
|
5725 'type' => 'flex' |
|
5726 ) |
|
5727 ), |
|
5728 'color' => array( |
|
5729 'enableContrastChecker' => false, |
|
5730 'background' => true, |
|
5731 'gradients' => true, |
|
5732 'text' => false, |
|
5733 '__experimentalDefaultControls' => array( |
|
5734 'background' => false |
|
5735 ) |
|
5736 ), |
|
5737 'spacing' => array( |
|
5738 'blockGap' => array( |
|
5739 'horizontal', |
|
5740 'vertical' |
|
5741 ), |
|
5742 'margin' => true, |
|
5743 'padding' => true, |
|
5744 'units' => array( |
|
5745 'px', |
|
5746 'em', |
|
5747 'rem', |
|
5748 'vh', |
|
5749 'vw' |
|
5750 ), |
|
5751 '__experimentalDefaultControls' => array( |
|
5752 'blockGap' => true, |
|
5753 'margin' => true, |
|
5754 'padding' => false |
|
5755 ) |
|
5756 ), |
|
5757 'interactivity' => array( |
|
5758 'clientNavigation' => true |
|
5759 ) |
|
5760 ), |
|
5761 'styles' => array( |
|
5762 array( |
|
5763 'name' => 'default', |
|
5764 'label' => 'Default', |
|
5765 'isDefault' => true |
|
5766 ), |
|
5767 array( |
|
5768 'name' => 'logos-only', |
|
5769 'label' => 'Logos Only' |
|
5770 ), |
|
5771 array( |
|
5772 'name' => 'pill-shape', |
|
5773 'label' => 'Pill Shape' |
|
5774 ) |
|
5775 ), |
|
5776 'editorStyle' => 'wp-block-social-links-editor', |
|
5777 'style' => 'wp-block-social-links' |
|
5778 ), |
|
5779 'spacer' => array( |
|
5780 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5781 'apiVersion' => 3, |
|
5782 'name' => 'core/spacer', |
|
5783 'title' => 'Spacer', |
|
5784 'category' => 'design', |
|
5785 'description' => 'Add white space between blocks and customize its height.', |
|
5786 'textdomain' => 'default', |
|
5787 'attributes' => array( |
|
5788 'height' => array( |
|
5789 'type' => 'string', |
|
5790 'default' => '100px' |
|
5791 ), |
|
5792 'width' => array( |
|
5793 'type' => 'string' |
|
5794 ) |
|
5795 ), |
|
5796 'usesContext' => array( |
|
5797 'orientation' |
|
5798 ), |
|
5799 'supports' => array( |
|
5800 'anchor' => true, |
|
5801 'spacing' => array( |
|
5802 'margin' => array( |
|
5803 'top', |
|
5804 'bottom' |
|
5805 ), |
|
5806 '__experimentalDefaultControls' => array( |
|
5807 'margin' => true |
|
5808 ) |
|
5809 ), |
|
5810 'interactivity' => array( |
|
5811 'clientNavigation' => true |
|
5812 ) |
|
5813 ), |
|
5814 'editorStyle' => 'wp-block-spacer-editor', |
|
5815 'style' => 'wp-block-spacer' |
|
5816 ), |
|
5817 'table' => array( |
|
5818 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5819 'apiVersion' => 3, |
|
5820 'name' => 'core/table', |
|
5821 'title' => 'Table', |
|
5822 'category' => 'text', |
|
5823 'description' => 'Create structured content in rows and columns to display information.', |
|
5824 'textdomain' => 'default', |
|
5825 'attributes' => array( |
|
5826 'hasFixedLayout' => array( |
|
5827 'type' => 'boolean', |
|
5828 'default' => true |
|
5829 ), |
|
5830 'caption' => array( |
|
5831 'type' => 'rich-text', |
|
5832 'source' => 'rich-text', |
|
5833 'selector' => 'figcaption' |
|
5834 ), |
|
5835 'head' => array( |
|
5836 'type' => 'array', |
|
5837 'default' => array( |
|
5838 |
|
5839 ), |
|
5840 'source' => 'query', |
|
5841 'selector' => 'thead tr', |
|
5842 'query' => array( |
|
5843 'cells' => array( |
|
5844 'type' => 'array', |
|
5845 'default' => array( |
|
5846 |
|
5847 ), |
|
5848 'source' => 'query', |
|
5849 'selector' => 'td,th', |
|
5850 'query' => array( |
|
5851 'content' => array( |
|
5852 'type' => 'rich-text', |
|
5853 'source' => 'rich-text' |
|
5854 ), |
|
5855 'tag' => array( |
|
5856 'type' => 'string', |
|
5857 'default' => 'td', |
|
5858 'source' => 'tag' |
|
5859 ), |
|
5860 'scope' => array( |
|
5861 'type' => 'string', |
|
5862 'source' => 'attribute', |
|
5863 'attribute' => 'scope' |
|
5864 ), |
|
5865 'align' => array( |
|
5866 'type' => 'string', |
|
5867 'source' => 'attribute', |
|
5868 'attribute' => 'data-align' |
|
5869 ), |
|
5870 'colspan' => array( |
|
5871 'type' => 'string', |
|
5872 'source' => 'attribute', |
|
5873 'attribute' => 'colspan' |
|
5874 ), |
|
5875 'rowspan' => array( |
|
5876 'type' => 'string', |
|
5877 'source' => 'attribute', |
|
5878 'attribute' => 'rowspan' |
|
5879 ) |
|
5880 ) |
|
5881 ) |
|
5882 ) |
|
5883 ), |
|
5884 'body' => array( |
|
5885 'type' => 'array', |
|
5886 'default' => array( |
|
5887 |
|
5888 ), |
|
5889 'source' => 'query', |
|
5890 'selector' => 'tbody tr', |
|
5891 'query' => array( |
|
5892 'cells' => array( |
|
5893 'type' => 'array', |
|
5894 'default' => array( |
|
5895 |
|
5896 ), |
|
5897 'source' => 'query', |
|
5898 'selector' => 'td,th', |
|
5899 'query' => array( |
|
5900 'content' => array( |
|
5901 'type' => 'rich-text', |
|
5902 'source' => 'rich-text' |
|
5903 ), |
|
5904 'tag' => array( |
|
5905 'type' => 'string', |
|
5906 'default' => 'td', |
|
5907 'source' => 'tag' |
|
5908 ), |
|
5909 'scope' => array( |
|
5910 'type' => 'string', |
|
5911 'source' => 'attribute', |
|
5912 'attribute' => 'scope' |
|
5913 ), |
|
5914 'align' => array( |
|
5915 'type' => 'string', |
|
5916 'source' => 'attribute', |
|
5917 'attribute' => 'data-align' |
|
5918 ), |
|
5919 'colspan' => array( |
|
5920 'type' => 'string', |
|
5921 'source' => 'attribute', |
|
5922 'attribute' => 'colspan' |
|
5923 ), |
|
5924 'rowspan' => array( |
|
5925 'type' => 'string', |
|
5926 'source' => 'attribute', |
|
5927 'attribute' => 'rowspan' |
|
5928 ) |
|
5929 ) |
|
5930 ) |
|
5931 ) |
|
5932 ), |
|
5933 'foot' => array( |
|
5934 'type' => 'array', |
|
5935 'default' => array( |
|
5936 |
|
5937 ), |
|
5938 'source' => 'query', |
|
5939 'selector' => 'tfoot tr', |
|
5940 'query' => array( |
|
5941 'cells' => array( |
|
5942 'type' => 'array', |
|
5943 'default' => array( |
|
5944 |
|
5945 ), |
|
5946 'source' => 'query', |
|
5947 'selector' => 'td,th', |
|
5948 'query' => array( |
|
5949 'content' => array( |
|
5950 'type' => 'rich-text', |
|
5951 'source' => 'rich-text' |
|
5952 ), |
|
5953 'tag' => array( |
|
5954 'type' => 'string', |
|
5955 'default' => 'td', |
|
5956 'source' => 'tag' |
|
5957 ), |
|
5958 'scope' => array( |
|
5959 'type' => 'string', |
|
5960 'source' => 'attribute', |
|
5961 'attribute' => 'scope' |
|
5962 ), |
|
5963 'align' => array( |
|
5964 'type' => 'string', |
|
5965 'source' => 'attribute', |
|
5966 'attribute' => 'data-align' |
|
5967 ), |
|
5968 'colspan' => array( |
|
5969 'type' => 'string', |
|
5970 'source' => 'attribute', |
|
5971 'attribute' => 'colspan' |
|
5972 ), |
|
5973 'rowspan' => array( |
|
5974 'type' => 'string', |
|
5975 'source' => 'attribute', |
|
5976 'attribute' => 'rowspan' |
|
5977 ) |
|
5978 ) |
|
5979 ) |
|
5980 ) |
|
5981 ) |
|
5982 ), |
|
5983 'supports' => array( |
|
5984 'anchor' => true, |
|
5985 'align' => true, |
|
5986 'color' => array( |
|
5987 '__experimentalSkipSerialization' => true, |
|
5988 'gradients' => true, |
|
5989 '__experimentalDefaultControls' => array( |
|
5990 'background' => true, |
|
5991 'text' => true |
|
5992 ) |
|
5993 ), |
|
5994 'spacing' => array( |
|
5995 'margin' => true, |
|
5996 'padding' => true, |
|
5997 '__experimentalDefaultControls' => array( |
|
5998 'margin' => false, |
|
5999 'padding' => false |
|
6000 ) |
|
6001 ), |
|
6002 'typography' => array( |
|
6003 'fontSize' => true, |
|
6004 'lineHeight' => true, |
|
6005 '__experimentalFontFamily' => true, |
|
6006 '__experimentalFontStyle' => true, |
|
6007 '__experimentalFontWeight' => true, |
|
6008 '__experimentalLetterSpacing' => true, |
|
6009 '__experimentalTextTransform' => true, |
|
6010 '__experimentalTextDecoration' => true, |
|
6011 '__experimentalDefaultControls' => array( |
|
6012 'fontSize' => true |
|
6013 ) |
|
6014 ), |
|
6015 '__experimentalBorder' => array( |
|
6016 '__experimentalSkipSerialization' => true, |
|
6017 'color' => true, |
|
6018 'style' => true, |
|
6019 'width' => true, |
|
6020 '__experimentalDefaultControls' => array( |
|
6021 'color' => true, |
|
6022 'style' => true, |
|
6023 'width' => true |
|
6024 ) |
|
6025 ), |
|
6026 '__experimentalSelector' => '.wp-block-table > table', |
|
6027 'interactivity' => array( |
|
6028 'clientNavigation' => true |
|
6029 ) |
|
6030 ), |
|
6031 'styles' => array( |
|
6032 array( |
|
6033 'name' => 'regular', |
|
6034 'label' => 'Default', |
|
6035 'isDefault' => true |
|
6036 ), |
|
6037 array( |
|
6038 'name' => 'stripes', |
|
6039 'label' => 'Stripes' |
|
6040 ) |
|
6041 ), |
|
6042 'editorStyle' => 'wp-block-table-editor', |
|
6043 'style' => 'wp-block-table' |
|
6044 ), |
|
6045 'tag-cloud' => array( |
|
6046 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
6047 'apiVersion' => 3, |
|
6048 'name' => 'core/tag-cloud', |
|
6049 'title' => 'Tag Cloud', |
|
6050 'category' => 'widgets', |
|
6051 'description' => 'A cloud of your most used tags.', |
|
6052 'textdomain' => 'default', |
|
6053 'attributes' => array( |
|
6054 'numberOfTags' => array( |
|
6055 'type' => 'number', |
|
6056 'default' => 45, |
|
6057 'minimum' => 1, |
|
6058 'maximum' => 100 |
|
6059 ), |
|
6060 'taxonomy' => array( |
|
6061 'type' => 'string', |
|
6062 'default' => 'post_tag' |
|
6063 ), |
|
6064 'showTagCounts' => array( |
|
6065 'type' => 'boolean', |
|
6066 'default' => false |
|
6067 ), |
|
6068 'smallestFontSize' => array( |
|
6069 'type' => 'string', |
|
6070 'default' => '8pt' |
|
6071 ), |
|
6072 'largestFontSize' => array( |
|
6073 'type' => 'string', |
|
6074 'default' => '22pt' |
|
6075 ) |
|
6076 ), |
|
6077 'styles' => array( |
|
6078 array( |
|
6079 'name' => 'default', |
|
6080 'label' => 'Default', |
|
6081 'isDefault' => true |
|
6082 ), |
|
6083 array( |
|
6084 'name' => 'outline', |
|
6085 'label' => 'Outline' |
|
6086 ) |
|
6087 ), |
|
6088 'supports' => array( |
|
6089 'html' => false, |
|
6090 'align' => true, |
|
6091 'spacing' => array( |
|
6092 'margin' => true, |
|
6093 'padding' => true |
|
6094 ), |
|
6095 'typography' => array( |
|
6096 'lineHeight' => true, |
|
6097 '__experimentalFontFamily' => true, |
|
6098 '__experimentalFontWeight' => true, |
|
6099 '__experimentalFontStyle' => true, |
|
6100 '__experimentalTextTransform' => true, |
|
6101 '__experimentalLetterSpacing' => true |
|
6102 ), |
|
6103 'interactivity' => array( |
|
6104 'clientNavigation' => true |
|
6105 ) |
|
6106 ), |
|
6107 'editorStyle' => 'wp-block-tag-cloud-editor' |
|
6108 ), |
|
6109 'template-part' => array( |
|
6110 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
6111 'apiVersion' => 3, |
|
6112 'name' => 'core/template-part', |
|
6113 'title' => 'Template Part', |
|
6114 'category' => 'theme', |
|
6115 'description' => 'Edit the different global regions of your site, like the header, footer, sidebar, or create your own.', |
|
6116 'textdomain' => 'default', |
|
6117 'attributes' => array( |
|
6118 'slug' => array( |
|
6119 'type' => 'string' |
|
6120 ), |
|
6121 'theme' => array( |
|
6122 'type' => 'string' |
|
6123 ), |
|
6124 'tagName' => array( |
|
6125 'type' => 'string' |
|
6126 ), |
|
6127 'area' => array( |
|
6128 'type' => 'string' |
|
6129 ) |
|
6130 ), |
|
6131 'supports' => array( |
|
6132 'align' => true, |
|
6133 'html' => false, |
|
6134 'reusable' => false, |
|
6135 'renaming' => false, |
|
6136 'interactivity' => array( |
|
6137 'clientNavigation' => true |
|
6138 ) |
|
6139 ), |
|
6140 'editorStyle' => 'wp-block-template-part-editor' |
|
6141 ), |
|
6142 'term-description' => array( |
|
6143 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
6144 'apiVersion' => 3, |
|
6145 'name' => 'core/term-description', |
|
6146 'title' => 'Term Description', |
|
6147 'category' => 'theme', |
|
6148 'description' => 'Display the description of categories, tags and custom taxonomies when viewing an archive.', |
|
6149 'textdomain' => 'default', |
|
6150 'attributes' => array( |
|
6151 'textAlign' => array( |
|
6152 'type' => 'string' |
|
6153 ) |
|
6154 ), |
|
6155 'supports' => array( |
|
6156 'align' => array( |
|
6157 'wide', |
|
6158 'full' |
|
6159 ), |
|
6160 'html' => false, |
|
6161 'color' => array( |
|
6162 'link' => true, |
|
6163 '__experimentalDefaultControls' => array( |
|
6164 'background' => true, |
|
6165 'text' => true |
|
6166 ) |
|
6167 ), |
|
6168 'spacing' => array( |
|
6169 'padding' => true, |
|
6170 'margin' => true |
|
6171 ), |
|
6172 'typography' => array( |
|
6173 'fontSize' => true, |
|
6174 'lineHeight' => true, |
|
6175 '__experimentalFontFamily' => true, |
|
6176 '__experimentalFontWeight' => true, |
|
6177 '__experimentalFontStyle' => true, |
|
6178 '__experimentalTextTransform' => true, |
|
6179 '__experimentalTextDecoration' => true, |
|
6180 '__experimentalLetterSpacing' => true, |
|
6181 '__experimentalDefaultControls' => array( |
|
6182 'fontSize' => true |
|
6183 ) |
|
6184 ), |
|
6185 'interactivity' => array( |
|
6186 'clientNavigation' => true |
|
6187 ) |
|
6188 ) |
|
6189 ), |
|
6190 'text-columns' => array( |
|
6191 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
6192 'apiVersion' => 3, |
|
6193 'name' => 'core/text-columns', |
|
6194 'title' => 'Text Columns (deprecated)', |
|
6195 'icon' => 'columns', |
|
6196 'category' => 'design', |
|
6197 'description' => 'This block is deprecated. Please use the Columns block instead.', |
|
6198 'textdomain' => 'default', |
|
6199 'attributes' => array( |
|
6200 'content' => array( |
|
6201 'type' => 'array', |
|
6202 'source' => 'query', |
|
6203 'selector' => 'p', |
|
6204 'query' => array( |
|
6205 'children' => array( |
|
6206 'type' => 'string', |
|
6207 'source' => 'html' |
|
6208 ) |
|
6209 ), |
|
6210 'default' => array( |
|
6211 array( |
|
6212 |
|
6213 ), |
|
6214 array( |
|
6215 |
|
6216 ) |
|
6217 ) |
|
6218 ), |
|
6219 'columns' => array( |
|
6220 'type' => 'number', |
|
6221 'default' => 2 |
|
6222 ), |
|
6223 'width' => array( |
|
6224 'type' => 'string' |
|
6225 ) |
|
6226 ), |
|
6227 'supports' => array( |
|
6228 'inserter' => false, |
|
6229 'interactivity' => array( |
|
6230 'clientNavigation' => true |
|
6231 ) |
|
6232 ), |
|
6233 'editorStyle' => 'wp-block-text-columns-editor', |
|
6234 'style' => 'wp-block-text-columns' |
|
6235 ), |
|
6236 'verse' => array( |
|
6237 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
6238 'apiVersion' => 3, |
|
6239 'name' => 'core/verse', |
|
6240 'title' => 'Verse', |
|
6241 'category' => 'text', |
|
6242 'description' => 'Insert poetry. Use special spacing formats. Or quote song lyrics.', |
|
6243 'keywords' => array( |
|
6244 'poetry', |
|
6245 'poem' |
|
6246 ), |
|
6247 'textdomain' => 'default', |
|
6248 'attributes' => array( |
|
6249 'content' => array( |
|
6250 'type' => 'rich-text', |
|
6251 'source' => 'rich-text', |
|
6252 'selector' => 'pre', |
|
6253 '__unstablePreserveWhiteSpace' => true, |
|
6254 '__experimentalRole' => 'content' |
|
6255 ), |
|
6256 'textAlign' => array( |
|
6257 'type' => 'string' |
|
6258 ) |
|
6259 ), |
|
6260 'supports' => array( |
|
6261 'anchor' => true, |
|
6262 'color' => array( |
|
6263 'gradients' => true, |
|
6264 'link' => true, |
|
6265 '__experimentalDefaultControls' => array( |
|
6266 'background' => true, |
|
6267 'text' => true |
|
6268 ) |
|
6269 ), |
|
6270 'typography' => array( |
|
6271 'fontSize' => true, |
|
6272 '__experimentalFontFamily' => true, |
|
6273 'lineHeight' => true, |
|
6274 '__experimentalFontStyle' => true, |
|
6275 '__experimentalFontWeight' => true, |
|
6276 '__experimentalLetterSpacing' => true, |
|
6277 '__experimentalTextTransform' => true, |
|
6278 '__experimentalTextDecoration' => true, |
|
6279 '__experimentalDefaultControls' => array( |
|
6280 'fontSize' => true |
|
6281 ) |
|
6282 ), |
|
6283 'spacing' => array( |
|
6284 'margin' => true, |
|
6285 'padding' => true, |
|
6286 '__experimentalDefaultControls' => array( |
|
6287 'margin' => false, |
|
6288 'padding' => false |
|
6289 ) |
|
6290 ), |
|
6291 '__experimentalBorder' => array( |
|
6292 'radius' => true, |
|
6293 'width' => true, |
|
6294 'color' => true, |
|
6295 'style' => true |
|
6296 ), |
|
6297 'interactivity' => array( |
|
6298 'clientNavigation' => true |
|
6299 ) |
|
6300 ), |
|
6301 'style' => 'wp-block-verse', |
|
6302 'editorStyle' => 'wp-block-verse-editor' |
|
6303 ), |
|
6304 'video' => array( |
|
6305 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
6306 'apiVersion' => 3, |
|
6307 'name' => 'core/video', |
|
6308 'title' => 'Video', |
|
6309 'category' => 'media', |
|
6310 'description' => 'Embed a video from your media library or upload a new one.', |
|
6311 'keywords' => array( |
|
6312 'movie' |
|
6313 ), |
|
6314 'textdomain' => 'default', |
|
6315 'attributes' => array( |
|
6316 'autoplay' => array( |
|
6317 'type' => 'boolean', |
|
6318 'source' => 'attribute', |
|
6319 'selector' => 'video', |
|
6320 'attribute' => 'autoplay' |
|
6321 ), |
|
6322 'caption' => array( |
|
6323 'type' => 'rich-text', |
|
6324 'source' => 'rich-text', |
|
6325 'selector' => 'figcaption', |
|
6326 '__experimentalRole' => 'content' |
|
6327 ), |
|
6328 'controls' => array( |
|
6329 'type' => 'boolean', |
|
6330 'source' => 'attribute', |
|
6331 'selector' => 'video', |
|
6332 'attribute' => 'controls', |
|
6333 'default' => true |
|
6334 ), |
|
6335 'id' => array( |
|
6336 'type' => 'number', |
|
6337 '__experimentalRole' => 'content' |
|
6338 ), |
|
6339 'loop' => array( |
|
6340 'type' => 'boolean', |
|
6341 'source' => 'attribute', |
|
6342 'selector' => 'video', |
|
6343 'attribute' => 'loop' |
|
6344 ), |
|
6345 'muted' => array( |
|
6346 'type' => 'boolean', |
|
6347 'source' => 'attribute', |
|
6348 'selector' => 'video', |
|
6349 'attribute' => 'muted' |
|
6350 ), |
|
6351 'poster' => array( |
|
6352 'type' => 'string', |
|
6353 'source' => 'attribute', |
|
6354 'selector' => 'video', |
|
6355 'attribute' => 'poster' |
|
6356 ), |
|
6357 'preload' => array( |
|
6358 'type' => 'string', |
|
6359 'source' => 'attribute', |
|
6360 'selector' => 'video', |
|
6361 'attribute' => 'preload', |
|
6362 'default' => 'metadata' |
|
6363 ), |
|
6364 'src' => array( |
|
6365 'type' => 'string', |
|
6366 'source' => 'attribute', |
|
6367 'selector' => 'video', |
|
6368 'attribute' => 'src', |
|
6369 '__experimentalRole' => 'content' |
|
6370 ), |
|
6371 'playsInline' => array( |
|
6372 'type' => 'boolean', |
|
6373 'source' => 'attribute', |
|
6374 'selector' => 'video', |
|
6375 'attribute' => 'playsinline' |
|
6376 ), |
|
6377 'tracks' => array( |
|
6378 '__experimentalRole' => 'content', |
|
6379 'type' => 'array', |
|
6380 'items' => array( |
|
6381 'type' => 'object' |
|
6382 ), |
|
6383 'default' => array( |
|
6384 |
|
6385 ) |
|
6386 ) |
|
6387 ), |
|
6388 'supports' => array( |
|
6389 'anchor' => true, |
|
6390 'align' => true, |
|
6391 'spacing' => array( |
|
6392 'margin' => true, |
|
6393 'padding' => true, |
|
6394 '__experimentalDefaultControls' => array( |
|
6395 'margin' => false, |
|
6396 'padding' => false |
|
6397 ) |
|
6398 ), |
|
6399 'interactivity' => array( |
|
6400 'clientNavigation' => true |
|
6401 ) |
|
6402 ), |
|
6403 'editorStyle' => 'wp-block-video-editor', |
|
6404 'style' => 'wp-block-video' |
|
6405 ), |
|
6406 'widget-group' => array( |
|
6407 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
6408 'apiVersion' => 3, |
|
6409 'name' => 'core/widget-group', |
|
6410 'title' => 'Widget Group', |
|
6411 'category' => 'widgets', |
|
6412 'attributes' => array( |
|
6413 'title' => array( |
|
6414 'type' => 'string' |
|
6415 ) |
|
6416 ), |
|
6417 'supports' => array( |
|
6418 'html' => false, |
|
6419 'inserter' => true, |
|
6420 'customClassName' => true, |
|
6421 'reusable' => false |
|
6422 ), |
|
6423 'editorStyle' => 'wp-block-widget-group-editor', |
|
6424 'style' => 'wp-block-widget-group' |
|
6425 ) |
|
6426 ); |