PluginProbe
Gutenberg / 23.5.1
Gutenberg v23.5.1
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / build / scripts / block-library / blocks-manifest.php

blocks-manifest.php in Gutenberg 23.5.1, at build/scripts/block-library/blocks-manifest.php

9,332 lines 212.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // This file is generated. Do not modify it manually.
3 return array(
4 'accordion' => array(
5 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6 'apiVersion' => 3,
7 'name' => 'core/accordion',
8 'title' => 'Accordion',
9 'category' => 'design',
10 'description' => 'Displays a foldable layout that groups content in collapsible sections.',
11 'example' => array(
12
13 ),
14 'supports' => array(
15 'anchor' => true,
16 'html' => false,
17 'align' => array(
18 'wide',
19 'full'
20 ),
21 'background' => array(
22 'backgroundImage' => true,
23 'backgroundSize' => true,
24 '__experimentalDefaultControls' => array(
25 'backgroundImage' => true
26 )
27 ),
28 'color' => array(
29 'background' => true,
30 'gradients' => true
31 ),
32 '__experimentalBorder' => array(
33 'color' => true,
34 'radius' => true,
35 'style' => true,
36 'width' => true,
37 '__experimentalDefaultControls' => array(
38 'color' => true,
39 'radius' => true,
40 'style' => true,
41 'width' => true
42 )
43 ),
44 'spacing' => array(
45 'padding' => true,
46 'margin' => array(
47 'top',
48 'bottom'
49 ),
50 'blockGap' => true
51 ),
52 'shadow' => true,
53 'layout' => true,
54 'ariaLabel' => true,
55 'interactivity' => true,
56 'typography' => array(
57 'fontSize' => true,
58 'lineHeight' => true,
59 '__experimentalFontFamily' => true,
60 '__experimentalFontWeight' => true,
61 '__experimentalFontStyle' => true,
62 '__experimentalTextTransform' => true,
63 '__experimentalTextDecoration' => true,
64 '__experimentalLetterSpacing' => true,
65 '__experimentalDefaultControls' => array(
66 'fontSize' => true
67 )
68 ),
69 'contentRole' => true,
70 'listView' => true
71 ),
72 'attributes' => array(
73 'iconPosition' => array(
74 'type' => 'string',
75 'default' => 'right'
76 ),
77 'showIcon' => array(
78 'type' => 'boolean',
79 'default' => true
80 ),
81 'autoclose' => array(
82 'type' => 'boolean',
83 'default' => false
84 ),
85 'headingLevel' => array(
86 'type' => 'number',
87 'default' => 3
88 ),
89 'levelOptions' => array(
90 'type' => 'array'
91 )
92 ),
93 'providesContext' => array(
94 'core/accordion-icon-position' => 'iconPosition',
95 'core/accordion-show-icon' => 'showIcon',
96 'core/accordion-heading-level' => 'headingLevel'
97 ),
98 'allowedBlocks' => array(
99 'core/accordion-item'
100 ),
101 'textdomain' => 'default',
102 'viewScriptModule' => '@wordpress/block-library/accordion/view'
103 ),
104 'accordion-heading' => array(
105 '$schema' => 'https://schemas.wp.org/trunk/block.json',
106 'apiVersion' => 3,
107 'name' => 'core/accordion-heading',
108 'title' => 'Accordion Heading',
109 'category' => 'design',
110 'description' => 'Displays a heading that toggles the accordion panel.',
111 'parent' => array(
112 'core/accordion-item'
113 ),
114 'usesContext' => array(
115 'core/accordion-icon-position',
116 'core/accordion-show-icon',
117 'core/accordion-heading-level'
118 ),
119 'supports' => array(
120 'anchor' => true,
121 'color' => array(
122 'background' => true,
123 'gradients' => true
124 ),
125 'align' => false,
126 'interactivity' => true,
127 'spacing' => array(
128 'padding' => true,
129 '__experimentalDefaultControls' => array(
130 'padding' => true
131 ),
132 '__experimentalSkipSerialization' => true,
133 '__experimentalSelector' => '.wp-block-accordion-heading__toggle'
134 ),
135 '__experimentalBorder' => array(
136 'color' => true,
137 'radius' => true,
138 'style' => true,
139 'width' => true,
140 '__experimentalDefaultControls' => array(
141 'color' => true,
142 'radius' => true,
143 'style' => true,
144 'width' => true
145 )
146 ),
147 'typography' => array(
148 '__experimentalSkipSerialization' => array(
149 'textDecoration',
150 'letterSpacing'
151 ),
152 'fontSize' => true,
153 '__experimentalFontFamily' => true,
154 '__experimentalFontWeight' => true,
155 '__experimentalFontStyle' => true,
156 '__experimentalTextTransform' => true,
157 '__experimentalTextDecoration' => true,
158 '__experimentalLetterSpacing' => true,
159 '__experimentalDefaultControls' => array(
160 'fontSize' => true,
161 'fontFamily' => true
162 )
163 ),
164 'shadow' => true,
165 'visibility' => false,
166 'lock' => false
167 ),
168 'selectors' => array(
169 'typography' => array(
170 'letterSpacing' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title',
171 'textDecoration' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title'
172 )
173 ),
174 'attributes' => array(
175 'openByDefault' => array(
176 'type' => 'boolean',
177 'default' => false
178 ),
179 'title' => array(
180 'type' => 'rich-text',
181 'source' => 'rich-text',
182 'selector' => '.wp-block-accordion-heading__toggle-title',
183 'role' => 'content'
184 ),
185 'level' => array(
186 'type' => 'number'
187 ),
188 'iconPosition' => array(
189 'type' => 'string',
190 'enum' => array(
191 'left',
192 'right'
193 ),
194 'default' => 'right'
195 ),
196 'showIcon' => array(
197 'type' => 'boolean',
198 'default' => true
199 )
200 ),
201 'textdomain' => 'default'
202 ),
203 'accordion-item' => array(
204 '$schema' => 'https://schemas.wp.org/trunk/block.json',
205 'apiVersion' => 3,
206 'name' => 'core/accordion-item',
207 'title' => 'Accordion Item',
208 'category' => 'design',
209 'description' => 'Wraps the heading and panel in one unit.',
210 'parent' => array(
211 'core/accordion'
212 ),
213 'allowedBlocks' => array(
214 'core/accordion-heading',
215 'core/accordion-panel'
216 ),
217 'supports' => array(
218 'html' => false,
219 'color' => array(
220 'background' => true,
221 'gradients' => true
222 ),
223 'interactivity' => true,
224 'spacing' => array(
225 'margin' => array(
226 'top',
227 'bottom'
228 ),
229 'padding' => true,
230 'blockGap' => true
231 ),
232 '__experimentalBorder' => array(
233 'color' => true,
234 'radius' => true,
235 'style' => true,
236 'width' => true,
237 '__experimentalDefaultControls' => array(
238 'color' => true,
239 'radius' => true,
240 'style' => true,
241 'width' => true
242 )
243 ),
244 'shadow' => true,
245 'layout' => array(
246 'allowEditing' => false
247 ),
248 'typography' => array(
249 'fontSize' => true,
250 'lineHeight' => true,
251 '__experimentalFontFamily' => true,
252 '__experimentalFontWeight' => true,
253 '__experimentalFontStyle' => true,
254 '__experimentalTextTransform' => true,
255 '__experimentalTextDecoration' => true,
256 '__experimentalLetterSpacing' => true,
257 '__experimentalDefaultControls' => array(
258 'fontSize' => true
259 )
260 ),
261 'contentRole' => true
262 ),
263 'attributes' => array(
264 'openByDefault' => array(
265 'type' => 'boolean',
266 'default' => false
267 )
268 ),
269 'providesContext' => array(
270 'core/accordion-open-by-default' => 'openByDefault'
271 ),
272 'textdomain' => 'default',
273 'style' => 'wp-block-accordion-item'
274 ),
275 'accordion-panel' => array(
276 '$schema' => 'https://schemas.wp.org/trunk/block.json',
277 'apiVersion' => 3,
278 'name' => 'core/accordion-panel',
279 'title' => 'Accordion Panel',
280 'category' => 'design',
281 'description' => 'Contains the hidden or revealed content beneath the heading.',
282 'parent' => array(
283 'core/accordion-item'
284 ),
285 'usesContext' => array(
286 'core/accordion-open-by-default'
287 ),
288 'supports' => array(
289 'html' => false,
290 'color' => array(
291 'background' => true,
292 'gradients' => true
293 ),
294 'interactivity' => true,
295 'spacing' => array(
296 'padding' => true,
297 'blockGap' => true,
298 '__experimentalDefaultControls' => array(
299 'padding' => true,
300 'blockGap' => true
301 )
302 ),
303 '__experimentalBorder' => array(
304 'color' => true,
305 'radius' => true,
306 'style' => true,
307 'width' => true,
308 '__experimentalDefaultControls' => array(
309 'color' => true,
310 'radius' => true,
311 'style' => true,
312 'width' => true
313 )
314 ),
315 'typography' => array(
316 'fontSize' => true,
317 'lineHeight' => true,
318 '__experimentalFontFamily' => true,
319 '__experimentalFontWeight' => true,
320 '__experimentalFontStyle' => true,
321 '__experimentalTextTransform' => true,
322 '__experimentalTextDecoration' => true,
323 '__experimentalLetterSpacing' => true,
324 '__experimentalDefaultControls' => array(
325 'fontSize' => true
326 )
327 ),
328 'shadow' => true,
329 'layout' => array(
330 'allowEditing' => false
331 ),
332 'visibility' => false,
333 'contentRole' => true,
334 'allowedBlocks' => true,
335 'lock' => false
336 ),
337 'attributes' => array(
338 'templateLock' => array(
339 'type' => array(
340 'string',
341 'boolean'
342 ),
343 'enum' => array(
344 'all',
345 'insert',
346 'contentOnly',
347 false
348 ),
349 'default' => false
350 )
351 ),
352 'textdomain' => 'default',
353 'style' => 'wp-block-accordion-panel'
354 ),
355 'archives' => array(
356 '$schema' => 'https://schemas.wp.org/trunk/block.json',
357 'apiVersion' => 3,
358 'name' => 'core/archives',
359 'title' => 'Archives',
360 'category' => 'widgets',
361 'description' => 'Display a date archive of your posts.',
362 'textdomain' => 'default',
363 'attributes' => array(
364 'displayAsDropdown' => array(
365 'type' => 'boolean',
366 'default' => false
367 ),
368 'showLabel' => array(
369 'type' => 'boolean',
370 'default' => true
371 ),
372 'showPostCounts' => array(
373 'type' => 'boolean',
374 'default' => false
375 ),
376 'type' => array(
377 'type' => 'string',
378 'default' => 'monthly'
379 )
380 ),
381 'supports' => array(
382 'anchor' => true,
383 'align' => true,
384 '__experimentalBorder' => array(
385 'radius' => true,
386 'color' => true,
387 'width' => true,
388 'style' => true
389 ),
390 'html' => false,
391 'spacing' => array(
392 'margin' => true,
393 'padding' => true,
394 '__experimentalDefaultControls' => array(
395 'margin' => false,
396 'padding' => false
397 )
398 ),
399 'typography' => array(
400 'fontSize' => true,
401 'lineHeight' => true,
402 '__experimentalFontFamily' => true,
403 '__experimentalFontWeight' => true,
404 '__experimentalFontStyle' => true,
405 '__experimentalTextTransform' => true,
406 '__experimentalTextDecoration' => true,
407 '__experimentalLetterSpacing' => true,
408 '__experimentalDefaultControls' => array(
409 'fontSize' => true
410 )
411 ),
412 'color' => array(
413 'gradients' => true,
414 'link' => true,
415 '__experimentalDefaultControls' => array(
416 'background' => true,
417 'text' => true,
418 'link' => true
419 )
420 ),
421 'interactivity' => array(
422 'clientNavigation' => true
423 )
424 )
425 ),
426 'audio' => array(
427 '$schema' => 'https://schemas.wp.org/trunk/block.json',
428 'apiVersion' => 3,
429 'name' => 'core/audio',
430 'title' => 'Audio',
431 'category' => 'media',
432 'description' => 'Embed a simple audio player.',
433 'keywords' => array(
434 'music',
435 'sound',
436 'podcast',
437 'recording'
438 ),
439 'textdomain' => 'default',
440 'attributes' => array(
441 'blob' => array(
442 'type' => 'string',
443 'role' => 'local'
444 ),
445 'src' => array(
446 'type' => 'string',
447 'source' => 'attribute',
448 'selector' => 'audio',
449 'attribute' => 'src',
450 'role' => 'content'
451 ),
452 'caption' => array(
453 'type' => 'rich-text',
454 'source' => 'rich-text',
455 'selector' => 'figcaption',
456 'role' => 'content'
457 ),
458 'id' => array(
459 'type' => 'number',
460 'role' => 'content'
461 ),
462 'autoplay' => array(
463 'type' => 'boolean',
464 'source' => 'attribute',
465 'selector' => 'audio',
466 'attribute' => 'autoplay'
467 ),
468 'loop' => array(
469 'type' => 'boolean',
470 'source' => 'attribute',
471 'selector' => 'audio',
472 'attribute' => 'loop'
473 ),
474 'preload' => array(
475 'type' => 'string',
476 'source' => 'attribute',
477 'selector' => 'audio',
478 'attribute' => 'preload'
479 )
480 ),
481 'supports' => array(
482 'anchor' => true,
483 'align' => true,
484 'spacing' => array(
485 'margin' => true,
486 'padding' => true,
487 '__experimentalDefaultControls' => array(
488 'margin' => false,
489 'padding' => false
490 )
491 ),
492 'interactivity' => array(
493 'clientNavigation' => true
494 )
495 ),
496 'editorStyle' => 'wp-block-audio-editor',
497 'style' => 'wp-block-audio'
498 ),
499 'avatar' => array(
500 '$schema' => 'https://schemas.wp.org/trunk/block.json',
501 'apiVersion' => 3,
502 'name' => 'core/avatar',
503 'title' => 'Avatar',
504 'category' => 'theme',
505 'description' => 'Add a user’s avatar.',
506 'textdomain' => 'default',
507 'attributes' => array(
508 'userId' => array(
509 'type' => 'number'
510 ),
511 'size' => array(
512 'type' => 'number',
513 'default' => 96
514 ),
515 'isLink' => array(
516 'type' => 'boolean',
517 'default' => false
518 ),
519 'linkTarget' => array(
520 'type' => 'string',
521 'default' => '_self'
522 )
523 ),
524 'usesContext' => array(
525 'postType',
526 'postId',
527 'commentId'
528 ),
529 'supports' => array(
530 'anchor' => true,
531 'html' => false,
532 'align' => true,
533 'alignWide' => false,
534 'spacing' => array(
535 'margin' => true,
536 'padding' => true,
537 '__experimentalDefaultControls' => array(
538 'margin' => false,
539 'padding' => false
540 )
541 ),
542 '__experimentalBorder' => array(
543 '__experimentalSkipSerialization' => true,
544 'radius' => true,
545 'width' => true,
546 'color' => true,
547 'style' => true,
548 '__experimentalDefaultControls' => array(
549 'radius' => true
550 )
551 ),
552 'color' => array(
553 'text' => false,
554 'background' => false
555 ),
556 'filter' => array(
557 'duotone' => true
558 ),
559 'interactivity' => array(
560 'clientNavigation' => true
561 )
562 ),
563 'selectors' => array(
564 'border' => '.wp-block-avatar img',
565 'filter' => array(
566 'duotone' => '.wp-block-avatar img'
567 )
568 ),
569 'editorStyle' => 'wp-block-avatar-editor',
570 'style' => 'wp-block-avatar'
571 ),
572 'block' => array(
573 '$schema' => 'https://schemas.wp.org/trunk/block.json',
574 'apiVersion' => 3,
575 'name' => 'core/block',
576 'title' => 'Pattern',
577 'category' => 'reusable',
578 'description' => 'Reuse this design across your site.',
579 'keywords' => array(
580 'reusable'
581 ),
582 'textdomain' => 'default',
583 'attributes' => array(
584 'ref' => array(
585 'type' => 'number'
586 ),
587 'content' => array(
588 'type' => 'object',
589 'default' => array(
590
591 )
592 )
593 ),
594 'providesContext' => array(
595 'pattern/overrides' => 'content'
596 ),
597 'supports' => array(
598 'customClassName' => false,
599 'html' => false,
600 'inserter' => false,
601 'renaming' => false,
602 'interactivity' => array(
603 'clientNavigation' => true
604 ),
605 'customCSS' => false
606 )
607 ),
608 'breadcrumbs' => array(
609 '$schema' => 'https://schemas.wp.org/trunk/block.json',
610 'apiVersion' => 3,
611 'name' => 'core/breadcrumbs',
612 'title' => 'Breadcrumbs',
613 'category' => 'theme',
614 'description' => 'Display a breadcrumb trail showing the path to the current page.',
615 'textdomain' => 'default',
616 'attributes' => array(
617 'prefersTaxonomy' => array(
618 'type' => 'boolean',
619 'default' => false
620 ),
621 'separator' => array(
622 'type' => 'string',
623 'default' => '/'
624 ),
625 'showHomeItem' => array(
626 'type' => 'boolean',
627 'default' => true
628 ),
629 'showCurrentItem' => array(
630 'type' => 'boolean',
631 'default' => true
632 ),
633 'showOnHomePage' => array(
634 'type' => 'boolean',
635 'default' => false
636 )
637 ),
638 'usesContext' => array(
639 'postId',
640 'postType',
641 'templateSlug'
642 ),
643 'supports' => array(
644 'anchor' => true,
645 'html' => false,
646 'align' => array(
647 'wide',
648 'full'
649 ),
650 'spacing' => array(
651 'margin' => true,
652 'padding' => true
653 ),
654 'color' => array(
655 'gradients' => true,
656 'link' => true,
657 '__experimentalDefaultControls' => array(
658 'background' => true,
659 'text' => true
660 )
661 ),
662 '__experimentalBorder' => array(
663 'radius' => true,
664 'color' => true,
665 'width' => true,
666 'style' => true,
667 '__experimentalDefaultControls' => array(
668 'radius' => false,
669 'color' => true,
670 'width' => true,
671 'style' => true
672 )
673 ),
674 'typography' => array(
675 'fontSize' => true,
676 'lineHeight' => true,
677 '__experimentalFontFamily' => true,
678 '__experimentalFontWeight' => true,
679 '__experimentalFontStyle' => true,
680 '__experimentalTextTransform' => true,
681 '__experimentalTextDecoration' => true,
682 '__experimentalLetterSpacing' => true,
683 '__experimentalDefaultControls' => array(
684 'fontSize' => true
685 )
686 ),
687 'interactivity' => array(
688 'clientNavigation' => true
689 )
690 ),
691 'style' => 'wp-block-breadcrumbs'
692 ),
693 'button' => array(
694 '$schema' => 'https://schemas.wp.org/trunk/block.json',
695 'apiVersion' => 3,
696 'name' => 'core/button',
697 'title' => 'Button',
698 'category' => 'design',
699 'parent' => array(
700 'core/buttons'
701 ),
702 'description' => 'Prompt visitors to take action with a button-style link.',
703 'keywords' => array(
704 'link'
705 ),
706 'textdomain' => 'default',
707 'attributes' => array(
708 'tagName' => array(
709 'type' => 'string',
710 'enum' => array(
711 'a',
712 'button'
713 ),
714 'default' => 'a'
715 ),
716 'type' => array(
717 'type' => 'string',
718 'default' => 'button'
719 ),
720 'url' => array(
721 'type' => 'string',
722 'source' => 'attribute',
723 'selector' => 'a',
724 'attribute' => 'href',
725 'role' => 'content'
726 ),
727 'title' => array(
728 'type' => 'string',
729 'source' => 'attribute',
730 'selector' => 'a,button',
731 'attribute' => 'title',
732 'role' => 'content'
733 ),
734 'text' => array(
735 'type' => 'rich-text',
736 'source' => 'rich-text',
737 'selector' => 'a,button',
738 'role' => 'content'
739 ),
740 'linkTarget' => array(
741 'type' => 'string',
742 'source' => 'attribute',
743 'selector' => 'a',
744 'attribute' => 'target',
745 'role' => 'content'
746 ),
747 'rel' => array(
748 'type' => 'string',
749 'source' => 'attribute',
750 'selector' => 'a',
751 'attribute' => 'rel',
752 'role' => 'content'
753 ),
754 'placeholder' => array(
755 'type' => 'string'
756 ),
757 'backgroundColor' => array(
758 'type' => 'string'
759 ),
760 'textColor' => array(
761 'type' => 'string'
762 ),
763 'gradient' => array(
764 'type' => 'string'
765 )
766 ),
767 'supports' => array(
768 'anchor' => true,
769 'splitting' => true,
770 'align' => false,
771 'alignWide' => false,
772 'color' => array(
773 '__experimentalSkipSerialization' => true,
774 'gradients' => true,
775 '__experimentalDefaultControls' => array(
776 'background' => true,
777 'text' => true
778 )
779 ),
780 'dimensions' => array(
781 'width' => true,
782 '__experimentalSkipSerialization' => array(
783 'width'
784 ),
785 '__experimentalDefaultControls' => array(
786 'width' => true
787 )
788 ),
789 'typography' => array(
790 '__experimentalSkipSerialization' => array(
791 'fontSize',
792 'lineHeight',
793 'textAlign',
794 'fontFamily',
795 'fontWeight',
796 'fontStyle',
797 'textTransform',
798 'textDecoration',
799 'letterSpacing'
800 ),
801 'fontSize' => true,
802 'lineHeight' => true,
803 'textAlign' => true,
804 '__experimentalFontFamily' => true,
805 '__experimentalFontWeight' => true,
806 '__experimentalFontStyle' => true,
807 '__experimentalTextTransform' => true,
808 '__experimentalTextDecoration' => true,
809 '__experimentalLetterSpacing' => true,
810 '__experimentalWritingMode' => true,
811 '__experimentalDefaultControls' => array(
812 'fontSize' => true
813 )
814 ),
815 'reusable' => false,
816 'shadow' => array(
817 '__experimentalSkipSerialization' => true
818 ),
819 'spacing' => array(
820 '__experimentalSkipSerialization' => true,
821 'padding' => array(
822 'horizontal',
823 'vertical'
824 ),
825 '__experimentalDefaultControls' => array(
826 'padding' => true
827 )
828 ),
829 '__experimentalBorder' => array(
830 'color' => true,
831 'radius' => true,
832 'style' => true,
833 'width' => true,
834 '__experimentalSkipSerialization' => true,
835 '__experimentalDefaultControls' => array(
836 'color' => true,
837 'radius' => true,
838 'style' => true,
839 'width' => true
840 )
841 ),
842 'interactivity' => array(
843 'clientNavigation' => true
844 )
845 ),
846 'styles' => array(
847 array(
848 'name' => 'fill',
849 'label' => 'Fill',
850 'isDefault' => true
851 ),
852 array(
853 'name' => 'outline',
854 'label' => 'Outline'
855 )
856 ),
857 'editorStyle' => 'wp-block-button-editor',
858 'style' => 'wp-block-button',
859 'selectors' => array(
860 'root' => '.wp-block-button .wp-block-button__link',
861 'typography' => array(
862 'writingMode' => '.wp-block-button'
863 ),
864 'dimensions' => array(
865 'root' => '.wp-block-button',
866 'width' => '.wp-block-button'
867 )
868 )
869 ),
870 'buttons' => array(
871 '$schema' => 'https://schemas.wp.org/trunk/block.json',
872 'apiVersion' => 3,
873 'name' => 'core/buttons',
874 'title' => 'Buttons',
875 'category' => 'design',
876 'allowedBlocks' => array(
877 'core/button'
878 ),
879 'description' => 'Prompt visitors to take action with a group of button-style links.',
880 'keywords' => array(
881 'link'
882 ),
883 'textdomain' => 'default',
884 'supports' => array(
885 'anchor' => true,
886 'align' => array(
887 'wide',
888 'full'
889 ),
890 'html' => false,
891 '__experimentalExposeControlsToChildren' => true,
892 'color' => array(
893 'gradients' => true,
894 'text' => false,
895 '__experimentalDefaultControls' => array(
896 'background' => true
897 )
898 ),
899 'spacing' => array(
900 'blockGap' => array(
901 'horizontal',
902 'vertical'
903 ),
904 'padding' => true,
905 'margin' => array(
906 'top',
907 'bottom'
908 ),
909 '__experimentalDefaultControls' => array(
910 'blockGap' => true
911 )
912 ),
913 'typography' => array(
914 'fontSize' => true,
915 'lineHeight' => true,
916 '__experimentalFontFamily' => true,
917 '__experimentalFontWeight' => true,
918 '__experimentalFontStyle' => true,
919 '__experimentalTextTransform' => true,
920 '__experimentalTextDecoration' => true,
921 '__experimentalLetterSpacing' => true,
922 '__experimentalDefaultControls' => array(
923 'fontSize' => true
924 )
925 ),
926 '__experimentalBorder' => array(
927 'color' => true,
928 'radius' => true,
929 'style' => true,
930 'width' => true,
931 '__experimentalDefaultControls' => array(
932 'color' => true,
933 'radius' => true,
934 'style' => true,
935 'width' => true
936 )
937 ),
938 'layout' => array(
939 'allowSwitching' => false,
940 'allowInheriting' => false,
941 'default' => array(
942 'type' => 'flex'
943 )
944 ),
945 'interactivity' => array(
946 'clientNavigation' => true
947 ),
948 'listView' => true,
949 'contentRole' => true
950 ),
951 'editorStyle' => 'wp-block-buttons-editor',
952 'style' => 'wp-block-buttons'
953 ),
954 'calendar' => array(
955 '$schema' => 'https://schemas.wp.org/trunk/block.json',
956 'apiVersion' => 3,
957 'name' => 'core/calendar',
958 'title' => 'Calendar',
959 'category' => 'widgets',
960 'description' => 'A calendar of your site’s posts.',
961 'keywords' => array(
962 'posts',
963 'archive'
964 ),
965 'textdomain' => 'default',
966 'attributes' => array(
967 'month' => array(
968 'type' => 'integer'
969 ),
970 'year' => array(
971 'type' => 'integer'
972 )
973 ),
974 'supports' => array(
975 'anchor' => true,
976 'align' => true,
977 'html' => false,
978 'color' => array(
979 'link' => true,
980 '__experimentalSkipSerialization' => array(
981 'text',
982 'background'
983 ),
984 '__experimentalDefaultControls' => array(
985 'background' => true,
986 'text' => true
987 ),
988 '__experimentalSelector' => 'table, th'
989 ),
990 'typography' => array(
991 'fontSize' => true,
992 'lineHeight' => true,
993 '__experimentalFontFamily' => true,
994 '__experimentalFontWeight' => true,
995 '__experimentalFontStyle' => true,
996 '__experimentalTextTransform' => true,
997 '__experimentalLetterSpacing' => true,
998 '__experimentalDefaultControls' => array(
999 'fontSize' => true
1000 )
1001 ),
1002 'interactivity' => array(
1003 'clientNavigation' => true
1004 )
1005 ),
1006 'style' => 'wp-block-calendar'
1007 ),
1008 'categories' => array(
1009 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1010 'apiVersion' => 3,
1011 'name' => 'core/categories',
1012 'title' => 'Terms List',
1013 'category' => 'widgets',
1014 'description' => 'Display a list of all terms of a given taxonomy.',
1015 'keywords' => array(
1016 'categories'
1017 ),
1018 'textdomain' => 'default',
1019 'attributes' => array(
1020 'taxonomy' => array(
1021 'type' => 'string',
1022 'default' => 'category'
1023 ),
1024 'displayAsDropdown' => array(
1025 'type' => 'boolean',
1026 'default' => false
1027 ),
1028 'showHierarchy' => array(
1029 'type' => 'boolean',
1030 'default' => false
1031 ),
1032 'showPostCounts' => array(
1033 'type' => 'boolean',
1034 'default' => false
1035 ),
1036 'showOnlyTopLevel' => array(
1037 'type' => 'boolean',
1038 'default' => false
1039 ),
1040 'showEmpty' => array(
1041 'type' => 'boolean',
1042 'default' => false
1043 ),
1044 'label' => array(
1045 'type' => 'string',
1046 'role' => 'content'
1047 ),
1048 'showLabel' => array(
1049 'type' => 'boolean',
1050 'default' => true
1051 )
1052 ),
1053 'usesContext' => array(
1054 'enhancedPagination'
1055 ),
1056 'supports' => array(
1057 'anchor' => true,
1058 'align' => true,
1059 'html' => false,
1060 'spacing' => array(
1061 'margin' => true,
1062 'padding' => true,
1063 '__experimentalDefaultControls' => array(
1064 'margin' => false,
1065 'padding' => false
1066 )
1067 ),
1068 'typography' => array(
1069 'fontSize' => true,
1070 'lineHeight' => true,
1071 '__experimentalFontFamily' => true,
1072 '__experimentalFontWeight' => true,
1073 '__experimentalFontStyle' => true,
1074 '__experimentalTextTransform' => true,
1075 '__experimentalTextDecoration' => true,
1076 '__experimentalLetterSpacing' => true,
1077 '__experimentalDefaultControls' => array(
1078 'fontSize' => true
1079 )
1080 ),
1081 'color' => array(
1082 'gradients' => true,
1083 'link' => true,
1084 '__experimentalDefaultControls' => array(
1085 'background' => true,
1086 'text' => true,
1087 'link' => true
1088 )
1089 ),
1090 'interactivity' => array(
1091 'clientNavigation' => true
1092 ),
1093 '__experimentalBorder' => array(
1094 'radius' => true,
1095 'color' => true,
1096 'width' => true,
1097 'style' => true,
1098 '__experimentalDefaultControls' => array(
1099 'radius' => true,
1100 'color' => true,
1101 'width' => true,
1102 'style' => true
1103 )
1104 )
1105 ),
1106 'editorStyle' => 'wp-block-categories-editor',
1107 'style' => 'wp-block-categories'
1108 ),
1109 'code' => array(
1110 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1111 'apiVersion' => 3,
1112 'name' => 'core/code',
1113 'title' => 'Code',
1114 'category' => 'text',
1115 'description' => 'Display code snippets that respect your spacing and tabs.',
1116 'textdomain' => 'default',
1117 'attributes' => array(
1118 'content' => array(
1119 'type' => 'rich-text',
1120 'source' => 'rich-text',
1121 'selector' => 'code',
1122 '__unstablePreserveWhiteSpace' => true,
1123 'role' => 'content'
1124 )
1125 ),
1126 'supports' => array(
1127 'align' => array(
1128 'wide'
1129 ),
1130 'anchor' => true,
1131 'typography' => array(
1132 'fontSize' => true,
1133 'lineHeight' => true,
1134 '__experimentalFontFamily' => true,
1135 '__experimentalFontWeight' => true,
1136 '__experimentalFontStyle' => true,
1137 '__experimentalTextTransform' => true,
1138 '__experimentalTextDecoration' => true,
1139 '__experimentalLetterSpacing' => true,
1140 '__experimentalDefaultControls' => array(
1141 'fontSize' => true
1142 )
1143 ),
1144 'spacing' => array(
1145 'margin' => array(
1146 'top',
1147 'bottom'
1148 ),
1149 'padding' => true,
1150 '__experimentalDefaultControls' => array(
1151 'margin' => false,
1152 'padding' => false
1153 )
1154 ),
1155 '__experimentalBorder' => array(
1156 'radius' => true,
1157 'color' => true,
1158 'width' => true,
1159 'style' => true,
1160 '__experimentalDefaultControls' => array(
1161 'width' => true,
1162 'color' => true
1163 )
1164 ),
1165 'color' => array(
1166 'text' => true,
1167 'background' => true,
1168 'gradients' => true,
1169 '__experimentalDefaultControls' => array(
1170 'background' => true,
1171 'text' => true
1172 )
1173 ),
1174 'interactivity' => array(
1175 'clientNavigation' => true
1176 )
1177 ),
1178 'style' => 'wp-block-code'
1179 ),
1180 'column' => array(
1181 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1182 'apiVersion' => 3,
1183 'name' => 'core/column',
1184 'title' => 'Column',
1185 'category' => 'design',
1186 'parent' => array(
1187 'core/columns'
1188 ),
1189 'description' => 'A single column within a columns block.',
1190 'textdomain' => 'default',
1191 'attributes' => array(
1192 'verticalAlignment' => array(
1193 'type' => 'string'
1194 ),
1195 'width' => array(
1196 'type' => 'string'
1197 ),
1198 'templateLock' => array(
1199 'type' => array(
1200 'string',
1201 'boolean'
1202 ),
1203 'enum' => array(
1204 'all',
1205 'insert',
1206 'contentOnly',
1207 false
1208 )
1209 )
1210 ),
1211 'supports' => array(
1212 '__experimentalOnEnter' => true,
1213 'anchor' => true,
1214 'reusable' => false,
1215 'html' => false,
1216 'color' => array(
1217 'gradients' => true,
1218 'heading' => true,
1219 'button' => true,
1220 'link' => true,
1221 '__experimentalDefaultControls' => array(
1222 'background' => true,
1223 'text' => true
1224 )
1225 ),
1226 'shadow' => true,
1227 'spacing' => array(
1228 'blockGap' => true,
1229 'padding' => true,
1230 '__experimentalDefaultControls' => array(
1231 'padding' => true,
1232 'blockGap' => true
1233 )
1234 ),
1235 '__experimentalBorder' => array(
1236 'color' => true,
1237 'radius' => true,
1238 'style' => true,
1239 'width' => true,
1240 '__experimentalDefaultControls' => array(
1241 'color' => true,
1242 'radius' => true,
1243 'style' => true,
1244 'width' => true
1245 )
1246 ),
1247 'typography' => array(
1248 'fontSize' => true,
1249 'lineHeight' => true,
1250 '__experimentalFontFamily' => true,
1251 '__experimentalFontWeight' => true,
1252 '__experimentalFontStyle' => true,
1253 '__experimentalTextTransform' => true,
1254 '__experimentalTextDecoration' => true,
1255 '__experimentalLetterSpacing' => true,
1256 '__experimentalDefaultControls' => array(
1257 'fontSize' => true
1258 )
1259 ),
1260 'layout' => true,
1261 'interactivity' => array(
1262 'clientNavigation' => true
1263 ),
1264 'allowedBlocks' => true
1265 )
1266 ),
1267 'columns' => array(
1268 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1269 'apiVersion' => 3,
1270 'name' => 'core/columns',
1271 'title' => 'Columns',
1272 'category' => 'design',
1273 'allowedBlocks' => array(
1274 'core/column'
1275 ),
1276 'description' => 'Display content in multiple columns, with blocks added to each column.',
1277 'textdomain' => 'default',
1278 'attributes' => array(
1279 'verticalAlignment' => array(
1280 'type' => 'string'
1281 ),
1282 'isStackedOnMobile' => array(
1283 'type' => 'boolean',
1284 'default' => true
1285 ),
1286 'templateLock' => array(
1287 'type' => array(
1288 'string',
1289 'boolean'
1290 ),
1291 'enum' => array(
1292 'all',
1293 'insert',
1294 'contentOnly',
1295 false
1296 )
1297 )
1298 ),
1299 'supports' => array(
1300 'anchor' => true,
1301 'align' => array(
1302 'wide',
1303 'full'
1304 ),
1305 'html' => false,
1306 'color' => array(
1307 'gradients' => true,
1308 'link' => true,
1309 'heading' => true,
1310 'button' => true,
1311 '__experimentalDefaultControls' => array(
1312 'background' => true,
1313 'text' => true
1314 )
1315 ),
1316 'spacing' => array(
1317 'blockGap' => array(
1318 '__experimentalDefault' => '2em',
1319 'sides' => array(
1320 'horizontal',
1321 'vertical'
1322 )
1323 ),
1324 'margin' => array(
1325 'top',
1326 'bottom'
1327 ),
1328 'padding' => true,
1329 '__experimentalDefaultControls' => array(
1330 'padding' => true,
1331 'blockGap' => true
1332 )
1333 ),
1334 'layout' => array(
1335 'allowSwitching' => false,
1336 'allowInheriting' => false,
1337 'allowEditing' => false,
1338 'default' => array(
1339 'type' => 'flex',
1340 'flexWrap' => 'nowrap'
1341 )
1342 ),
1343 '__experimentalBorder' => array(
1344 'color' => true,
1345 'radius' => true,
1346 'style' => true,
1347 'width' => true,
1348 '__experimentalDefaultControls' => array(
1349 'color' => true,
1350 'radius' => true,
1351 'style' => true,
1352 'width' => true
1353 )
1354 ),
1355 'typography' => array(
1356 'fontSize' => true,
1357 'lineHeight' => true,
1358 '__experimentalFontFamily' => true,
1359 '__experimentalFontWeight' => true,
1360 '__experimentalFontStyle' => true,
1361 '__experimentalTextTransform' => true,
1362 '__experimentalTextDecoration' => true,
1363 '__experimentalLetterSpacing' => true,
1364 '__experimentalDefaultControls' => array(
1365 'fontSize' => true
1366 )
1367 ),
1368 'interactivity' => array(
1369 'clientNavigation' => true
1370 ),
1371 'shadow' => true
1372 ),
1373 'editorStyle' => 'wp-block-columns-editor',
1374 'style' => 'wp-block-columns'
1375 ),
1376 'comment-author-avatar' => array(
1377 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1378 'apiVersion' => 3,
1379 '__experimental' => 'fse',
1380 'name' => 'core/comment-author-avatar',
1381 'title' => 'Comment Author Avatar (deprecated)',
1382 'category' => 'theme',
1383 'ancestor' => array(
1384 'core/comment-template'
1385 ),
1386 'description' => 'This block is deprecated. Please use the Avatar block instead.',
1387 'textdomain' => 'default',
1388 'attributes' => array(
1389 'width' => array(
1390 'type' => 'number',
1391 'default' => 96
1392 ),
1393 'height' => array(
1394 'type' => 'number',
1395 'default' => 96
1396 )
1397 ),
1398 'usesContext' => array(
1399 'commentId'
1400 ),
1401 'supports' => array(
1402 'html' => false,
1403 'inserter' => false,
1404 '__experimentalBorder' => array(
1405 'radius' => true,
1406 'width' => true,
1407 'color' => true,
1408 'style' => true
1409 ),
1410 'color' => array(
1411 'background' => true,
1412 'text' => false,
1413 '__experimentalDefaultControls' => array(
1414 'background' => true
1415 )
1416 ),
1417 'spacing' => array(
1418 '__experimentalSkipSerialization' => true,
1419 'margin' => true,
1420 'padding' => true
1421 ),
1422 'interactivity' => array(
1423 'clientNavigation' => true
1424 )
1425 )
1426 ),
1427 'comment-author-name' => array(
1428 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1429 'apiVersion' => 3,
1430 'name' => 'core/comment-author-name',
1431 'title' => 'Comment Author Name',
1432 'category' => 'theme',
1433 'ancestor' => array(
1434 'core/comment-template'
1435 ),
1436 'description' => 'Displays the name of the author of the comment.',
1437 'textdomain' => 'default',
1438 'attributes' => array(
1439 'isLink' => array(
1440 'type' => 'boolean',
1441 'default' => true
1442 ),
1443 'linkTarget' => array(
1444 'type' => 'string',
1445 'default' => '_self'
1446 )
1447 ),
1448 'usesContext' => array(
1449 'commentId'
1450 ),
1451 'supports' => array(
1452 'anchor' => true,
1453 'html' => false,
1454 'spacing' => array(
1455 'margin' => true,
1456 'padding' => true
1457 ),
1458 'color' => array(
1459 'gradients' => true,
1460 'link' => true,
1461 '__experimentalDefaultControls' => array(
1462 'background' => true,
1463 'text' => true,
1464 'link' => true
1465 )
1466 ),
1467 'typography' => array(
1468 'fontSize' => true,
1469 'lineHeight' => true,
1470 'textAlign' => true,
1471 '__experimentalFontFamily' => true,
1472 '__experimentalFontWeight' => true,
1473 '__experimentalFontStyle' => true,
1474 '__experimentalTextTransform' => true,
1475 '__experimentalTextDecoration' => true,
1476 '__experimentalLetterSpacing' => true,
1477 '__experimentalDefaultControls' => array(
1478 'fontSize' => true
1479 )
1480 ),
1481 'interactivity' => array(
1482 'clientNavigation' => true
1483 ),
1484 '__experimentalBorder' => array(
1485 'radius' => true,
1486 'color' => true,
1487 'width' => true,
1488 'style' => true,
1489 '__experimentalDefaultControls' => array(
1490 'radius' => true,
1491 'color' => true,
1492 'width' => true,
1493 'style' => true
1494 )
1495 )
1496 ),
1497 'style' => 'wp-block-comment-author-name'
1498 ),
1499 'comment-content' => array(
1500 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1501 'apiVersion' => 3,
1502 'name' => 'core/comment-content',
1503 'title' => 'Comment Content',
1504 'category' => 'theme',
1505 'ancestor' => array(
1506 'core/comment-template'
1507 ),
1508 'description' => 'Displays the contents of a comment.',
1509 'textdomain' => 'default',
1510 'usesContext' => array(
1511 'commentId'
1512 ),
1513 'supports' => array(
1514 'anchor' => true,
1515 'color' => array(
1516 'gradients' => true,
1517 'link' => true,
1518 '__experimentalDefaultControls' => array(
1519 'background' => true,
1520 'text' => true
1521 )
1522 ),
1523 'typography' => array(
1524 'fontSize' => true,
1525 'lineHeight' => true,
1526 'textAlign' => true,
1527 '__experimentalFontFamily' => true,
1528 '__experimentalFontWeight' => true,
1529 '__experimentalFontStyle' => true,
1530 '__experimentalTextTransform' => true,
1531 '__experimentalTextDecoration' => true,
1532 '__experimentalLetterSpacing' => true,
1533 '__experimentalDefaultControls' => array(
1534 'fontSize' => true
1535 )
1536 ),
1537 '__experimentalBorder' => array(
1538 'radius' => true,
1539 'color' => true,
1540 'width' => true,
1541 'style' => true,
1542 '__experimentalDefaultControls' => array(
1543 'radius' => true,
1544 'color' => true,
1545 'width' => true,
1546 'style' => true
1547 )
1548 ),
1549 'spacing' => array(
1550 'padding' => array(
1551 'horizontal',
1552 'vertical'
1553 ),
1554 '__experimentalDefaultControls' => array(
1555 'padding' => true
1556 )
1557 ),
1558 'html' => false
1559 ),
1560 'style' => 'wp-block-comment-content'
1561 ),
1562 'comment-date' => array(
1563 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1564 'apiVersion' => 3,
1565 'name' => 'core/comment-date',
1566 'title' => 'Comment Date',
1567 'category' => 'theme',
1568 'ancestor' => array(
1569 'core/comment-template'
1570 ),
1571 'description' => 'Displays the date on which the comment was posted.',
1572 'textdomain' => 'default',
1573 'attributes' => array(
1574 'format' => array(
1575 'type' => 'string'
1576 ),
1577 'isLink' => array(
1578 'type' => 'boolean',
1579 'default' => true
1580 )
1581 ),
1582 'usesContext' => array(
1583 'commentId'
1584 ),
1585 'supports' => array(
1586 'anchor' => true,
1587 'html' => false,
1588 'color' => array(
1589 'gradients' => true,
1590 'link' => true,
1591 '__experimentalDefaultControls' => array(
1592 'background' => true,
1593 'text' => true,
1594 'link' => true
1595 )
1596 ),
1597 'spacing' => array(
1598 'margin' => true,
1599 'padding' => true
1600 ),
1601 'typography' => array(
1602 'fontSize' => true,
1603 'lineHeight' => true,
1604 'textAlign' => true,
1605 '__experimentalFontFamily' => true,
1606 '__experimentalFontWeight' => true,
1607 '__experimentalFontStyle' => true,
1608 '__experimentalTextTransform' => true,
1609 '__experimentalTextDecoration' => true,
1610 '__experimentalLetterSpacing' => true,
1611 '__experimentalDefaultControls' => array(
1612 'fontSize' => true
1613 )
1614 ),
1615 'interactivity' => array(
1616 'clientNavigation' => true
1617 ),
1618 '__experimentalBorder' => array(
1619 'radius' => true,
1620 'color' => true,
1621 'width' => true,
1622 'style' => true,
1623 '__experimentalDefaultControls' => array(
1624 'radius' => true,
1625 'color' => true,
1626 'width' => true,
1627 'style' => true
1628 )
1629 )
1630 ),
1631 'style' => 'wp-block-comment-date'
1632 ),
1633 'comment-edit-link' => array(
1634 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1635 'apiVersion' => 3,
1636 'name' => 'core/comment-edit-link',
1637 'title' => 'Comment Edit Link',
1638 'category' => 'theme',
1639 'ancestor' => array(
1640 'core/comment-template'
1641 ),
1642 'description' => 'Displays a link to edit the comment in the WordPress Dashboard. This link is only visible to users with the edit comment capability.',
1643 'textdomain' => 'default',
1644 'usesContext' => array(
1645 'commentId'
1646 ),
1647 'attributes' => array(
1648 'linkTarget' => array(
1649 'type' => 'string',
1650 'default' => '_self'
1651 )
1652 ),
1653 'supports' => array(
1654 'anchor' => true,
1655 'html' => false,
1656 'color' => array(
1657 'link' => true,
1658 'gradients' => true,
1659 'text' => false,
1660 '__experimentalDefaultControls' => array(
1661 'background' => true,
1662 'link' => true
1663 )
1664 ),
1665 'spacing' => array(
1666 'margin' => true,
1667 'padding' => true,
1668 '__experimentalDefaultControls' => array(
1669 'margin' => false,
1670 'padding' => false
1671 )
1672 ),
1673 'typography' => array(
1674 'fontSize' => true,
1675 'lineHeight' => true,
1676 'textAlign' => true,
1677 '__experimentalFontFamily' => true,
1678 '__experimentalFontWeight' => true,
1679 '__experimentalFontStyle' => true,
1680 '__experimentalTextTransform' => true,
1681 '__experimentalTextDecoration' => true,
1682 '__experimentalLetterSpacing' => true,
1683 '__experimentalDefaultControls' => array(
1684 'fontSize' => true
1685 )
1686 ),
1687 'interactivity' => array(
1688 'clientNavigation' => true
1689 ),
1690 '__experimentalBorder' => array(
1691 'radius' => true,
1692 'color' => true,
1693 'width' => true,
1694 'style' => true
1695 )
1696 ),
1697 'style' => 'wp-block-comment-edit-link'
1698 ),
1699 'comment-reply-link' => array(
1700 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1701 'apiVersion' => 3,
1702 'name' => 'core/comment-reply-link',
1703 'title' => 'Comment Reply Link',
1704 'category' => 'theme',
1705 'ancestor' => array(
1706 'core/comment-template'
1707 ),
1708 'description' => 'Displays a link to reply to a comment.',
1709 'textdomain' => 'default',
1710 'usesContext' => array(
1711 'commentId'
1712 ),
1713 'supports' => array(
1714 'anchor' => true,
1715 'color' => array(
1716 'gradients' => true,
1717 'link' => true,
1718 'text' => false,
1719 '__experimentalDefaultControls' => array(
1720 'background' => true,
1721 'link' => true
1722 )
1723 ),
1724 'spacing' => array(
1725 'margin' => true,
1726 'padding' => true,
1727 '__experimentalDefaultControls' => array(
1728 'margin' => false,
1729 'padding' => false
1730 )
1731 ),
1732 'typography' => array(
1733 'fontSize' => true,
1734 'lineHeight' => true,
1735 'textAlign' => true,
1736 '__experimentalFontFamily' => true,
1737 '__experimentalFontWeight' => true,
1738 '__experimentalFontStyle' => true,
1739 '__experimentalTextTransform' => true,
1740 '__experimentalTextDecoration' => true,
1741 '__experimentalLetterSpacing' => true,
1742 '__experimentalDefaultControls' => array(
1743 'fontSize' => true
1744 )
1745 ),
1746 '__experimentalBorder' => array(
1747 'radius' => true,
1748 'color' => true,
1749 'width' => true,
1750 'style' => true
1751 ),
1752 'html' => false
1753 ),
1754 'style' => 'wp-block-comment-reply-link'
1755 ),
1756 'comment-template' => array(
1757 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1758 'apiVersion' => 3,
1759 'name' => 'core/comment-template',
1760 'title' => 'Comment Template',
1761 'category' => 'design',
1762 'parent' => array(
1763 'core/comments'
1764 ),
1765 'description' => 'Contains the block elements used to display a comment, like the title, date, author, avatar and more.',
1766 'textdomain' => 'default',
1767 'usesContext' => array(
1768 'postId'
1769 ),
1770 'supports' => array(
1771 'anchor' => true,
1772 'align' => true,
1773 'html' => false,
1774 'reusable' => false,
1775 'spacing' => array(
1776 'margin' => true,
1777 'padding' => true
1778 ),
1779 'typography' => array(
1780 'fontSize' => true,
1781 'lineHeight' => true,
1782 '__experimentalFontFamily' => true,
1783 '__experimentalFontWeight' => true,
1784 '__experimentalFontStyle' => true,
1785 '__experimentalTextTransform' => true,
1786 '__experimentalTextDecoration' => true,
1787 '__experimentalLetterSpacing' => true,
1788 '__experimentalDefaultControls' => array(
1789 'fontSize' => true
1790 )
1791 ),
1792 'interactivity' => array(
1793 'clientNavigation' => true
1794 ),
1795 '__experimentalBorder' => array(
1796 'radius' => true,
1797 'color' => true,
1798 'width' => true,
1799 'style' => true,
1800 '__experimentalDefaultControls' => array(
1801 'radius' => true,
1802 'color' => true,
1803 'width' => true,
1804 'style' => true
1805 )
1806 )
1807 ),
1808 'style' => 'wp-block-comment-template'
1809 ),
1810 'comments' => array(
1811 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1812 'apiVersion' => 3,
1813 'name' => 'core/comments',
1814 'title' => 'Comments',
1815 'category' => 'theme',
1816 'description' => 'An advanced block that allows displaying post comments using different visual configurations.',
1817 'textdomain' => 'default',
1818 'attributes' => array(
1819 'tagName' => array(
1820 'type' => 'string',
1821 'default' => 'div'
1822 ),
1823 'legacy' => array(
1824 'type' => 'boolean',
1825 'default' => false
1826 )
1827 ),
1828 'supports' => array(
1829 'anchor' => true,
1830 'align' => array(
1831 'wide',
1832 'full'
1833 ),
1834 'html' => false,
1835 'color' => array(
1836 'gradients' => true,
1837 'heading' => true,
1838 'link' => true,
1839 '__experimentalDefaultControls' => array(
1840 'background' => true,
1841 'text' => true,
1842 'link' => true
1843 )
1844 ),
1845 'spacing' => array(
1846 'margin' => true,
1847 'padding' => true
1848 ),
1849 'typography' => array(
1850 'fontSize' => true,
1851 'lineHeight' => true,
1852 '__experimentalFontFamily' => true,
1853 '__experimentalFontWeight' => true,
1854 '__experimentalFontStyle' => true,
1855 '__experimentalTextTransform' => true,
1856 '__experimentalTextDecoration' => true,
1857 '__experimentalLetterSpacing' => true,
1858 '__experimentalDefaultControls' => array(
1859 'fontSize' => true
1860 )
1861 ),
1862 '__experimentalBorder' => array(
1863 'radius' => true,
1864 'color' => true,
1865 'width' => true,
1866 'style' => true,
1867 '__experimentalDefaultControls' => array(
1868 'radius' => true,
1869 'color' => true,
1870 'width' => true,
1871 'style' => true
1872 )
1873 )
1874 ),
1875 'editorStyle' => 'wp-block-comments-editor',
1876 'usesContext' => array(
1877 'postId',
1878 'postType'
1879 )
1880 ),
1881 'comments-pagination' => array(
1882 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1883 'apiVersion' => 3,
1884 'name' => 'core/comments-pagination',
1885 'title' => 'Comments Pagination',
1886 'category' => 'theme',
1887 'parent' => array(
1888 'core/comments'
1889 ),
1890 'allowedBlocks' => array(
1891 'core/comments-pagination-previous',
1892 'core/comments-pagination-numbers',
1893 'core/comments-pagination-next'
1894 ),
1895 'description' => 'Displays a paginated navigation to next/previous set of comments, when applicable.',
1896 'textdomain' => 'default',
1897 'attributes' => array(
1898 'paginationArrow' => array(
1899 'type' => 'string',
1900 'default' => 'none'
1901 )
1902 ),
1903 'example' => array(
1904 'attributes' => array(
1905 'paginationArrow' => 'none'
1906 )
1907 ),
1908 'providesContext' => array(
1909 'comments/paginationArrow' => 'paginationArrow'
1910 ),
1911 'supports' => array(
1912 'anchor' => true,
1913 'align' => true,
1914 'reusable' => false,
1915 'html' => false,
1916 'color' => array(
1917 'gradients' => true,
1918 'link' => true,
1919 '__experimentalDefaultControls' => array(
1920 'background' => true,
1921 'text' => true,
1922 'link' => true
1923 )
1924 ),
1925 'layout' => array(
1926 'allowSwitching' => false,
1927 'allowInheriting' => false,
1928 'default' => array(
1929 'type' => 'flex'
1930 )
1931 ),
1932 'typography' => array(
1933 'fontSize' => true,
1934 'lineHeight' => true,
1935 '__experimentalFontFamily' => true,
1936 '__experimentalFontWeight' => true,
1937 '__experimentalFontStyle' => true,
1938 '__experimentalTextTransform' => true,
1939 '__experimentalTextDecoration' => true,
1940 '__experimentalLetterSpacing' => true,
1941 '__experimentalDefaultControls' => array(
1942 'fontSize' => true
1943 )
1944 ),
1945 'interactivity' => array(
1946 'clientNavigation' => true
1947 )
1948 ),
1949 'editorStyle' => 'wp-block-comments-pagination-editor',
1950 'style' => 'wp-block-comments-pagination'
1951 ),
1952 'comments-pagination-next' => array(
1953 '$schema' => 'https://schemas.wp.org/trunk/block.json',
1954 'apiVersion' => 3,
1955 'name' => 'core/comments-pagination-next',
1956 'title' => 'Comments Next Page',
1957 'category' => 'theme',
1958 'parent' => array(
1959 'core/comments-pagination'
1960 ),
1961 'description' => 'Displays the next comment\'s page link.',
1962 'textdomain' => 'default',
1963 'attributes' => array(
1964 'label' => array(
1965 'type' => 'string'
1966 )
1967 ),
1968 'usesContext' => array(
1969 'postId',
1970 'comments/paginationArrow'
1971 ),
1972 'supports' => array(
1973 'anchor' => true,
1974 'reusable' => false,
1975 'html' => false,
1976 'color' => array(
1977 'gradients' => true,
1978 'text' => false,
1979 '__experimentalDefaultControls' => array(
1980 'background' => true
1981 )
1982 ),
1983 'typography' => array(
1984 'fontSize' => true,
1985 'lineHeight' => true,
1986 '__experimentalFontFamily' => true,
1987 '__experimentalFontWeight' => true,
1988 '__experimentalFontStyle' => true,
1989 '__experimentalTextTransform' => true,
1990 '__experimentalTextDecoration' => true,
1991 '__experimentalLetterSpacing' => true,
1992 '__experimentalDefaultControls' => array(
1993 'fontSize' => true
1994 )
1995 ),
1996 'interactivity' => array(
1997 'clientNavigation' => true
1998 )
1999 )
2000 ),
2001 'comments-pagination-numbers' => array(
2002 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2003 'apiVersion' => 3,
2004 'name' => 'core/comments-pagination-numbers',
2005 'title' => 'Comments Page Numbers',
2006 'category' => 'theme',
2007 'parent' => array(
2008 'core/comments-pagination'
2009 ),
2010 'description' => 'Displays a list of page numbers for comments pagination.',
2011 'textdomain' => 'default',
2012 'usesContext' => array(
2013 'postId'
2014 ),
2015 'supports' => array(
2016 'anchor' => true,
2017 'reusable' => false,
2018 'html' => false,
2019 'color' => array(
2020 'gradients' => true,
2021 'text' => false,
2022 '__experimentalDefaultControls' => array(
2023 'background' => true
2024 )
2025 ),
2026 'typography' => array(
2027 'fontSize' => true,
2028 'lineHeight' => true,
2029 '__experimentalFontFamily' => true,
2030 '__experimentalFontWeight' => true,
2031 '__experimentalFontStyle' => true,
2032 '__experimentalTextTransform' => true,
2033 '__experimentalTextDecoration' => true,
2034 '__experimentalLetterSpacing' => true,
2035 '__experimentalDefaultControls' => array(
2036 'fontSize' => true
2037 )
2038 ),
2039 'interactivity' => array(
2040 'clientNavigation' => true
2041 ),
2042 'spacing' => array(
2043 'margin' => true,
2044 'padding' => true,
2045 '__experimentalDefaultControls' => array(
2046 'padding' => true
2047 )
2048 )
2049 )
2050 ),
2051 'comments-pagination-previous' => array(
2052 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2053 'apiVersion' => 3,
2054 'name' => 'core/comments-pagination-previous',
2055 'title' => 'Comments Previous Page',
2056 'category' => 'theme',
2057 'parent' => array(
2058 'core/comments-pagination'
2059 ),
2060 'description' => 'Displays the previous comment\'s page link.',
2061 'textdomain' => 'default',
2062 'attributes' => array(
2063 'label' => array(
2064 'type' => 'string'
2065 )
2066 ),
2067 'usesContext' => array(
2068 'postId',
2069 'comments/paginationArrow'
2070 ),
2071 'supports' => array(
2072 'anchor' => true,
2073 'reusable' => false,
2074 'html' => false,
2075 'color' => array(
2076 'gradients' => true,
2077 'text' => false,
2078 '__experimentalDefaultControls' => array(
2079 'background' => true
2080 )
2081 ),
2082 'typography' => array(
2083 'fontSize' => true,
2084 'lineHeight' => true,
2085 '__experimentalFontFamily' => true,
2086 '__experimentalFontWeight' => true,
2087 '__experimentalFontStyle' => true,
2088 '__experimentalTextTransform' => true,
2089 '__experimentalTextDecoration' => true,
2090 '__experimentalLetterSpacing' => true,
2091 '__experimentalDefaultControls' => array(
2092 'fontSize' => true
2093 )
2094 ),
2095 'interactivity' => array(
2096 'clientNavigation' => true
2097 )
2098 )
2099 ),
2100 'comments-title' => array(
2101 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2102 'apiVersion' => 3,
2103 'name' => 'core/comments-title',
2104 'title' => 'Comments Title',
2105 'category' => 'theme',
2106 'ancestor' => array(
2107 'core/comments'
2108 ),
2109 'description' => 'Displays a title with the number of comments.',
2110 'textdomain' => 'default',
2111 'usesContext' => array(
2112 'postId',
2113 'postType'
2114 ),
2115 'attributes' => array(
2116 'showPostTitle' => array(
2117 'type' => 'boolean',
2118 'default' => true
2119 ),
2120 'showCommentsCount' => array(
2121 'type' => 'boolean',
2122 'default' => true
2123 ),
2124 'level' => array(
2125 'type' => 'number',
2126 'default' => 2
2127 ),
2128 'levelOptions' => array(
2129 'type' => 'array'
2130 )
2131 ),
2132 'supports' => array(
2133 'anchor' => true,
2134 'align' => true,
2135 'html' => false,
2136 '__experimentalBorder' => array(
2137 'radius' => true,
2138 'color' => true,
2139 'width' => true,
2140 'style' => true
2141 ),
2142 'color' => array(
2143 'gradients' => true,
2144 '__experimentalDefaultControls' => array(
2145 'background' => true,
2146 'text' => true
2147 )
2148 ),
2149 'spacing' => array(
2150 'margin' => true,
2151 'padding' => true
2152 ),
2153 'typography' => array(
2154 'fontSize' => true,
2155 'lineHeight' => true,
2156 'textAlign' => true,
2157 '__experimentalFontFamily' => true,
2158 '__experimentalFontWeight' => true,
2159 '__experimentalFontStyle' => true,
2160 '__experimentalTextTransform' => true,
2161 '__experimentalTextDecoration' => true,
2162 '__experimentalLetterSpacing' => true,
2163 '__experimentalDefaultControls' => array(
2164 'fontSize' => true,
2165 '__experimentalFontFamily' => true,
2166 '__experimentalFontStyle' => true,
2167 '__experimentalFontWeight' => true
2168 )
2169 ),
2170 'interactivity' => array(
2171 'clientNavigation' => true
2172 )
2173 )
2174 ),
2175 'cover' => array(
2176 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2177 'apiVersion' => 3,
2178 'name' => 'core/cover',
2179 'title' => 'Cover',
2180 'category' => 'media',
2181 'description' => 'Add an image or video with a text overlay.',
2182 'textdomain' => 'default',
2183 'attributes' => array(
2184 'url' => array(
2185 'type' => 'string',
2186 'role' => 'content'
2187 ),
2188 'useFeaturedImage' => array(
2189 'type' => 'boolean',
2190 'default' => false
2191 ),
2192 'id' => array(
2193 'type' => 'number'
2194 ),
2195 'alt' => array(
2196 'type' => 'string',
2197 'default' => ''
2198 ),
2199 'hasParallax' => array(
2200 'type' => 'boolean',
2201 'default' => false
2202 ),
2203 'isRepeated' => array(
2204 'type' => 'boolean',
2205 'default' => false
2206 ),
2207 'dimRatio' => array(
2208 'type' => 'number',
2209 'default' => 100
2210 ),
2211 'overlayColor' => array(
2212 'type' => 'string'
2213 ),
2214 'customOverlayColor' => array(
2215 'type' => 'string'
2216 ),
2217 'isUserOverlayColor' => array(
2218 'type' => 'boolean'
2219 ),
2220 'backgroundType' => array(
2221 'type' => 'string',
2222 'default' => 'image'
2223 ),
2224 'focalPoint' => array(
2225 'type' => 'object'
2226 ),
2227 'minHeight' => array(
2228 'type' => 'number'
2229 ),
2230 'minHeightUnit' => array(
2231 'type' => 'string'
2232 ),
2233 'gradient' => array(
2234 'type' => 'string'
2235 ),
2236 'customGradient' => array(
2237 'type' => 'string'
2238 ),
2239 'contentPosition' => array(
2240 'type' => 'string'
2241 ),
2242 'isDark' => array(
2243 'type' => 'boolean',
2244 'default' => true
2245 ),
2246 'templateLock' => array(
2247 'type' => array(
2248 'string',
2249 'boolean'
2250 ),
2251 'enum' => array(
2252 'all',
2253 'insert',
2254 'contentOnly',
2255 false
2256 )
2257 ),
2258 'tagName' => array(
2259 'type' => 'string',
2260 'default' => 'div'
2261 ),
2262 'sizeSlug' => array(
2263 'type' => 'string'
2264 ),
2265 'poster' => array(
2266 'type' => 'string',
2267 'source' => 'attribute',
2268 'selector' => 'video',
2269 'attribute' => 'poster'
2270 )
2271 ),
2272 'usesContext' => array(
2273 'postId',
2274 'postType'
2275 ),
2276 'supports' => array(
2277 'anchor' => true,
2278 'align' => true,
2279 'html' => false,
2280 'shadow' => true,
2281 'spacing' => array(
2282 'padding' => true,
2283 'margin' => array(
2284 'top',
2285 'bottom'
2286 ),
2287 'blockGap' => true,
2288 '__experimentalDefaultControls' => array(
2289 'padding' => true,
2290 'blockGap' => true
2291 )
2292 ),
2293 '__experimentalBorder' => array(
2294 'color' => true,
2295 'radius' => true,
2296 'style' => true,
2297 'width' => true,
2298 '__experimentalDefaultControls' => array(
2299 'color' => true,
2300 'radius' => true,
2301 'style' => true,
2302 'width' => true
2303 )
2304 ),
2305 'color' => array(
2306 'heading' => true,
2307 'text' => true,
2308 'background' => false,
2309 '__experimentalSkipSerialization' => array(
2310 'gradients'
2311 ),
2312 'enableContrastChecker' => false
2313 ),
2314 'dimensions' => array(
2315 'aspectRatio' => true
2316 ),
2317 'typography' => array(
2318 'fontSize' => true,
2319 'lineHeight' => true,
2320 '__experimentalFontFamily' => true,
2321 '__experimentalFontWeight' => true,
2322 '__experimentalFontStyle' => true,
2323 '__experimentalTextTransform' => true,
2324 '__experimentalTextDecoration' => true,
2325 '__experimentalLetterSpacing' => true,
2326 '__experimentalDefaultControls' => array(
2327 'fontSize' => true
2328 )
2329 ),
2330 'layout' => array(
2331 'allowJustification' => false
2332 ),
2333 'interactivity' => array(
2334 'clientNavigation' => true
2335 ),
2336 'filter' => array(
2337 'duotone' => true
2338 ),
2339 'allowedBlocks' => true
2340 ),
2341 'selectors' => array(
2342 'filter' => array(
2343 'duotone' => '.wp-block-cover > .wp-block-cover__image-background, .wp-block-cover > .wp-block-cover__video-background'
2344 )
2345 ),
2346 'editorStyle' => 'wp-block-cover-editor',
2347 'style' => 'wp-block-cover'
2348 ),
2349 'details' => array(
2350 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2351 'apiVersion' => 3,
2352 'name' => 'core/details',
2353 'title' => 'Details',
2354 'category' => 'text',
2355 'description' => 'Hide and show additional content.',
2356 'keywords' => array(
2357 'summary',
2358 'toggle',
2359 'disclosure'
2360 ),
2361 'textdomain' => 'default',
2362 'attributes' => array(
2363 'showContent' => array(
2364 'type' => 'boolean',
2365 'default' => false
2366 ),
2367 'summary' => array(
2368 'type' => 'rich-text',
2369 'source' => 'rich-text',
2370 'selector' => 'summary',
2371 'role' => 'content'
2372 ),
2373 'name' => array(
2374 'type' => 'string',
2375 'source' => 'attribute',
2376 'attribute' => 'name',
2377 'selector' => '.wp-block-details'
2378 ),
2379 'placeholder' => array(
2380 'type' => 'string'
2381 )
2382 ),
2383 'supports' => array(
2384 '__experimentalOnEnter' => true,
2385 'align' => array(
2386 'wide',
2387 'full'
2388 ),
2389 'anchor' => true,
2390 'color' => array(
2391 'gradients' => true,
2392 'link' => true,
2393 '__experimentalDefaultControls' => array(
2394 'background' => true,
2395 'text' => true
2396 )
2397 ),
2398 '__experimentalBorder' => array(
2399 'color' => true,
2400 'width' => true,
2401 'style' => true
2402 ),
2403 'html' => false,
2404 'spacing' => array(
2405 'margin' => true,
2406 'padding' => true,
2407 'blockGap' => true,
2408 '__experimentalDefaultControls' => array(
2409 'margin' => false,
2410 'padding' => false
2411 )
2412 ),
2413 'typography' => array(
2414 'fontSize' => true,
2415 'lineHeight' => true,
2416 '__experimentalFontFamily' => true,
2417 '__experimentalFontWeight' => true,
2418 '__experimentalFontStyle' => true,
2419 '__experimentalTextTransform' => true,
2420 '__experimentalTextDecoration' => true,
2421 '__experimentalLetterSpacing' => true,
2422 '__experimentalDefaultControls' => array(
2423 'fontSize' => true
2424 )
2425 ),
2426 'layout' => array(
2427 'allowEditing' => false
2428 ),
2429 'interactivity' => array(
2430 'clientNavigation' => true
2431 ),
2432 'allowedBlocks' => true
2433 ),
2434 'editorStyle' => 'wp-block-details-editor',
2435 'style' => 'wp-block-details'
2436 ),
2437 'embed' => array(
2438 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2439 'apiVersion' => 3,
2440 'name' => 'core/embed',
2441 'title' => 'Embed',
2442 'category' => 'embed',
2443 'description' => 'Add a block that displays content pulled from other sites, like Twitter or YouTube.',
2444 'textdomain' => 'default',
2445 'attributes' => array(
2446 'url' => array(
2447 'type' => 'string',
2448 'role' => 'content'
2449 ),
2450 'caption' => array(
2451 'type' => 'rich-text',
2452 'source' => 'rich-text',
2453 'selector' => 'figcaption',
2454 'role' => 'content'
2455 ),
2456 'type' => array(
2457 'type' => 'string',
2458 'role' => 'content'
2459 ),
2460 'providerNameSlug' => array(
2461 'type' => 'string',
2462 'role' => 'content'
2463 ),
2464 'allowResponsive' => array(
2465 'type' => 'boolean',
2466 'default' => true
2467 ),
2468 'responsive' => array(
2469 'type' => 'boolean',
2470 'default' => false,
2471 'role' => 'content'
2472 ),
2473 'previewable' => array(
2474 'type' => 'boolean',
2475 'default' => true,
2476 'role' => 'content'
2477 )
2478 ),
2479 'supports' => array(
2480 'anchor' => true,
2481 'align' => true,
2482 'spacing' => array(
2483 'margin' => true
2484 ),
2485 'interactivity' => array(
2486 'clientNavigation' => true
2487 )
2488 ),
2489 'editorStyle' => 'wp-block-embed-editor',
2490 'style' => 'wp-block-embed'
2491 ),
2492 'file' => array(
2493 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2494 'apiVersion' => 3,
2495 'name' => 'core/file',
2496 'title' => 'File',
2497 'category' => 'media',
2498 'description' => 'Add a link to a downloadable file.',
2499 'keywords' => array(
2500 'document',
2501 'pdf',
2502 'download'
2503 ),
2504 'textdomain' => 'default',
2505 'attributes' => array(
2506 'id' => array(
2507 'type' => 'number'
2508 ),
2509 'blob' => array(
2510 'type' => 'string',
2511 'role' => 'local'
2512 ),
2513 'href' => array(
2514 'type' => 'string',
2515 'role' => 'content'
2516 ),
2517 'fileId' => array(
2518 'type' => 'string',
2519 'source' => 'attribute',
2520 'selector' => 'a:not([download])',
2521 'attribute' => 'id'
2522 ),
2523 'fileName' => array(
2524 'type' => 'rich-text',
2525 'source' => 'rich-text',
2526 'selector' => 'a:not([download])',
2527 'role' => 'content'
2528 ),
2529 'textLinkHref' => array(
2530 'type' => 'string',
2531 'source' => 'attribute',
2532 'selector' => 'a:not([download])',
2533 'attribute' => 'href',
2534 'role' => 'content'
2535 ),
2536 'textLinkTarget' => array(
2537 'type' => 'string',
2538 'source' => 'attribute',
2539 'selector' => 'a:not([download])',
2540 'attribute' => 'target'
2541 ),
2542 'showDownloadButton' => array(
2543 'type' => 'boolean',
2544 'default' => true
2545 ),
2546 'downloadButtonText' => array(
2547 'type' => 'rich-text',
2548 'source' => 'rich-text',
2549 'selector' => 'a[download]',
2550 'role' => 'content'
2551 ),
2552 'displayPreview' => array(
2553 'type' => 'boolean'
2554 ),
2555 'previewHeight' => array(
2556 'type' => 'number',
2557 'default' => 600
2558 )
2559 ),
2560 'supports' => array(
2561 'anchor' => true,
2562 'align' => true,
2563 'spacing' => array(
2564 'margin' => true,
2565 'padding' => true
2566 ),
2567 'color' => array(
2568 'gradients' => true,
2569 'link' => true,
2570 'text' => false,
2571 '__experimentalDefaultControls' => array(
2572 'background' => true,
2573 'link' => true
2574 )
2575 ),
2576 '__experimentalBorder' => array(
2577 'radius' => true,
2578 'color' => true,
2579 'width' => true,
2580 'style' => true,
2581 '__experimentalDefaultControls' => array(
2582 'radius' => true,
2583 'color' => true,
2584 'width' => true,
2585 'style' => true
2586 )
2587 ),
2588 'interactivity' => true
2589 ),
2590 'editorStyle' => 'wp-block-file-editor',
2591 'style' => 'wp-block-file'
2592 ),
2593 'footnotes' => array(
2594 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2595 'apiVersion' => 3,
2596 'name' => 'core/footnotes',
2597 'title' => 'Footnotes',
2598 'category' => 'text',
2599 'description' => 'Display footnotes added to the page.',
2600 'keywords' => array(
2601 'references'
2602 ),
2603 'textdomain' => 'default',
2604 'usesContext' => array(
2605 'postId',
2606 'postType'
2607 ),
2608 'supports' => array(
2609 'anchor' => true,
2610 '__experimentalBorder' => array(
2611 'radius' => true,
2612 'color' => true,
2613 'width' => true,
2614 'style' => true,
2615 '__experimentalDefaultControls' => array(
2616 'radius' => false,
2617 'color' => false,
2618 'width' => false,
2619 'style' => false
2620 )
2621 ),
2622 'color' => array(
2623 'background' => true,
2624 'link' => true,
2625 'text' => true,
2626 '__experimentalDefaultControls' => array(
2627 'link' => true,
2628 'text' => true
2629 )
2630 ),
2631 'html' => false,
2632 'multiple' => false,
2633 'reusable' => false,
2634 'inserter' => false,
2635 'spacing' => array(
2636 'margin' => true,
2637 'padding' => true,
2638 '__experimentalDefaultControls' => array(
2639 'margin' => false,
2640 'padding' => false
2641 )
2642 ),
2643 'typography' => array(
2644 'fontSize' => true,
2645 'lineHeight' => true,
2646 '__experimentalFontFamily' => true,
2647 '__experimentalTextDecoration' => true,
2648 '__experimentalFontStyle' => true,
2649 '__experimentalFontWeight' => true,
2650 '__experimentalLetterSpacing' => true,
2651 '__experimentalTextTransform' => true,
2652 '__experimentalWritingMode' => true,
2653 '__experimentalDefaultControls' => array(
2654 'fontSize' => true
2655 )
2656 ),
2657 'interactivity' => array(
2658 'clientNavigation' => true
2659 )
2660 ),
2661 'style' => 'wp-block-footnotes'
2662 ),
2663 'form' => array(
2664 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2665 'apiVersion' => 3,
2666 '__experimental' => true,
2667 'name' => 'core/form',
2668 'title' => 'Form',
2669 'category' => 'widgets',
2670 'allowedBlocks' => array(
2671 'core/paragraph',
2672 'core/heading',
2673 'core/form-input',
2674 'core/form-submit-button',
2675 'core/form-submission-notification',
2676 'core/group',
2677 'core/columns'
2678 ),
2679 'description' => 'A form.',
2680 'keywords' => array(
2681 'container',
2682 'wrapper',
2683 'row',
2684 'section'
2685 ),
2686 'textdomain' => 'default',
2687 'attributes' => array(
2688 'submissionMethod' => array(
2689 'type' => 'string',
2690 'default' => 'email'
2691 ),
2692 'method' => array(
2693 'type' => 'string',
2694 'default' => 'post'
2695 ),
2696 'action' => array(
2697 'type' => 'string'
2698 ),
2699 'email' => array(
2700 'type' => 'string'
2701 )
2702 ),
2703 'supports' => array(
2704 'anchor' => true,
2705 'color' => array(
2706 'gradients' => true,
2707 'link' => true,
2708 '__experimentalDefaultControls' => array(
2709 'background' => true,
2710 'text' => true,
2711 'link' => true
2712 )
2713 ),
2714 'spacing' => array(
2715 'margin' => true,
2716 'padding' => true
2717 ),
2718 'typography' => array(
2719 'fontSize' => true,
2720 'lineHeight' => true,
2721 '__experimentalFontFamily' => true,
2722 '__experimentalTextDecoration' => true,
2723 '__experimentalFontStyle' => true,
2724 '__experimentalFontWeight' => true,
2725 '__experimentalLetterSpacing' => true,
2726 '__experimentalTextTransform' => true,
2727 '__experimentalDefaultControls' => array(
2728 'fontSize' => true
2729 )
2730 )
2731 )
2732 ),
2733 'form-input' => array(
2734 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2735 'apiVersion' => 3,
2736 '__experimental' => true,
2737 'name' => 'core/form-input',
2738 'title' => 'Input Field',
2739 'category' => 'widgets',
2740 'ancestor' => array(
2741 'core/form'
2742 ),
2743 'description' => 'The basic building block for forms.',
2744 'keywords' => array(
2745 'input',
2746 'form'
2747 ),
2748 'textdomain' => 'default',
2749 'attributes' => array(
2750 'type' => array(
2751 'type' => 'string',
2752 'default' => 'text'
2753 ),
2754 'name' => array(
2755 'type' => 'string'
2756 ),
2757 'label' => array(
2758 'type' => 'rich-text',
2759 'default' => 'Label',
2760 'selector' => '.wp-block-form-input__label-content',
2761 'source' => 'rich-text',
2762 'role' => 'content'
2763 ),
2764 'inlineLabel' => array(
2765 'type' => 'boolean',
2766 'default' => false
2767 ),
2768 'required' => array(
2769 'type' => 'boolean',
2770 'default' => false,
2771 'selector' => '.wp-block-form-input__input',
2772 'source' => 'attribute',
2773 'attribute' => 'required'
2774 ),
2775 'placeholder' => array(
2776 'type' => 'string',
2777 'selector' => '.wp-block-form-input__input',
2778 'source' => 'attribute',
2779 'attribute' => 'placeholder',
2780 'role' => 'content'
2781 ),
2782 'value' => array(
2783 'type' => 'string',
2784 'default' => '',
2785 'selector' => 'input',
2786 'source' => 'attribute',
2787 'attribute' => 'value'
2788 ),
2789 'visibilityPermissions' => array(
2790 'type' => 'string',
2791 'default' => 'all'
2792 )
2793 ),
2794 'supports' => array(
2795 'anchor' => true,
2796 'reusable' => false,
2797 'spacing' => array(
2798 'margin' => array(
2799 'top',
2800 'bottom'
2801 )
2802 ),
2803 '__experimentalBorder' => array(
2804 'radius' => true,
2805 '__experimentalSkipSerialization' => true,
2806 '__experimentalDefaultControls' => array(
2807 'radius' => true
2808 )
2809 )
2810 ),
2811 'style' => array(
2812 'wp-block-form-input'
2813 )
2814 ),
2815 'form-submission-notification' => array(
2816 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2817 'apiVersion' => 3,
2818 '__experimental' => true,
2819 'name' => 'core/form-submission-notification',
2820 'title' => 'Form Submission Notification',
2821 'category' => 'widgets',
2822 'ancestor' => array(
2823 'core/form'
2824 ),
2825 'description' => 'Provide a notification message after the form has been submitted.',
2826 'keywords' => array(
2827 'form',
2828 'feedback',
2829 'notification',
2830 'message'
2831 ),
2832 'textdomain' => 'default',
2833 'icon' => 'feedback',
2834 'attributes' => array(
2835 'type' => array(
2836 'type' => 'string',
2837 'default' => 'success'
2838 )
2839 )
2840 ),
2841 'form-submit-button' => array(
2842 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2843 'apiVersion' => 3,
2844 '__experimental' => true,
2845 'name' => 'core/form-submit-button',
2846 'title' => 'Form Submit Button',
2847 'category' => 'widgets',
2848 'icon' => 'button',
2849 'ancestor' => array(
2850 'core/form'
2851 ),
2852 'allowedBlocks' => array(
2853 'core/buttons',
2854 'core/button'
2855 ),
2856 'description' => 'A submission button for forms.',
2857 'keywords' => array(
2858 'submit',
2859 'button',
2860 'form'
2861 ),
2862 'textdomain' => 'default',
2863 'style' => array(
2864 'wp-block-form-submit-button'
2865 )
2866 ),
2867 'freeform' => array(
2868 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2869 'apiVersion' => 3,
2870 'name' => 'core/freeform',
2871 'title' => 'Classic',
2872 'category' => 'text',
2873 'description' => 'Use the classic WordPress editor.',
2874 'textdomain' => 'default',
2875 'attributes' => array(
2876 'content' => array(
2877 'type' => 'string',
2878 'source' => 'raw'
2879 )
2880 ),
2881 'supports' => array(
2882 'className' => false,
2883 'customClassName' => false,
2884 'lock' => false,
2885 'reusable' => false,
2886 'renaming' => false,
2887 'visibility' => false,
2888 'customCSS' => false
2889 ),
2890 'editorStyle' => 'wp-block-freeform-editor'
2891 ),
2892 'gallery' => array(
2893 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2894 'apiVersion' => 3,
2895 'name' => 'core/gallery',
2896 'title' => 'Gallery',
2897 'category' => 'media',
2898 'usesContext' => array(
2899 'galleryId'
2900 ),
2901 'allowedBlocks' => array(
2902 'core/image'
2903 ),
2904 'description' => 'Display multiple images in a rich gallery.',
2905 'keywords' => array(
2906 'images',
2907 'photos'
2908 ),
2909 'textdomain' => 'default',
2910 'attributes' => array(
2911 'images' => array(
2912 'type' => 'array',
2913 'default' => array(
2914
2915 ),
2916 'source' => 'query',
2917 'selector' => '.blocks-gallery-item',
2918 'query' => array(
2919 'url' => array(
2920 'type' => 'string',
2921 'source' => 'attribute',
2922 'selector' => 'img',
2923 'attribute' => 'src'
2924 ),
2925 'fullUrl' => array(
2926 'type' => 'string',
2927 'source' => 'attribute',
2928 'selector' => 'img',
2929 'attribute' => 'data-full-url'
2930 ),
2931 'link' => array(
2932 'type' => 'string',
2933 'source' => 'attribute',
2934 'selector' => 'img',
2935 'attribute' => 'data-link'
2936 ),
2937 'alt' => array(
2938 'type' => 'string',
2939 'source' => 'attribute',
2940 'selector' => 'img',
2941 'attribute' => 'alt',
2942 'default' => ''
2943 ),
2944 'id' => array(
2945 'type' => 'string',
2946 'source' => 'attribute',
2947 'selector' => 'img',
2948 'attribute' => 'data-id'
2949 ),
2950 'caption' => array(
2951 'type' => 'rich-text',
2952 'source' => 'rich-text',
2953 'selector' => '.blocks-gallery-item__caption'
2954 )
2955 )
2956 ),
2957 'ids' => array(
2958 'type' => 'array',
2959 'items' => array(
2960 'type' => 'number'
2961 ),
2962 'default' => array(
2963
2964 )
2965 ),
2966 'navigationButtonType' => array(
2967 'type' => 'string',
2968 'default' => 'icon',
2969 'enum' => array(
2970 'icon',
2971 'text',
2972 'both'
2973 )
2974 ),
2975 'shortCodeTransforms' => array(
2976 'type' => 'array',
2977 'items' => array(
2978 'type' => 'object'
2979 ),
2980 'default' => array(
2981
2982 )
2983 ),
2984 'columns' => array(
2985 'type' => 'number',
2986 'minimum' => 1,
2987 'maximum' => 8
2988 ),
2989 'caption' => array(
2990 'type' => 'rich-text',
2991 'source' => 'rich-text',
2992 'selector' => '.blocks-gallery-caption',
2993 'role' => 'content'
2994 ),
2995 'imageCrop' => array(
2996 'type' => 'boolean',
2997 'default' => true
2998 ),
2999 'randomOrder' => array(
3000 'type' => 'boolean',
3001 'default' => false
3002 ),
3003 'fixedHeight' => array(
3004 'type' => 'boolean',
3005 'default' => true
3006 ),
3007 'linkTarget' => array(
3008 'type' => 'string'
3009 ),
3010 'linkTo' => array(
3011 'type' => 'string'
3012 ),
3013 'sizeSlug' => array(
3014 'type' => 'string',
3015 'default' => 'large'
3016 ),
3017 'allowResize' => array(
3018 'type' => 'boolean',
3019 'default' => false
3020 ),
3021 'aspectRatio' => array(
3022 'type' => 'string',
3023 'default' => 'auto'
3024 )
3025 ),
3026 'providesContext' => array(
3027 'allowResize' => 'allowResize',
3028 'imageCrop' => 'imageCrop',
3029 'fixedHeight' => 'fixedHeight',
3030 'navigationButtonType' => 'navigationButtonType'
3031 ),
3032 'supports' => array(
3033 'anchor' => true,
3034 'align' => true,
3035 '__experimentalBorder' => array(
3036 'radius' => true,
3037 'color' => true,
3038 'width' => true,
3039 'style' => true,
3040 '__experimentalDefaultControls' => array(
3041 'color' => true,
3042 'radius' => true
3043 )
3044 ),
3045 'html' => false,
3046 'units' => array(
3047 'px',
3048 'em',
3049 'rem',
3050 'vh',
3051 'vw'
3052 ),
3053 'spacing' => array(
3054 'margin' => true,
3055 'padding' => true,
3056 'blockGap' => array(
3057 'horizontal',
3058 'vertical'
3059 ),
3060 '__experimentalSkipSerialization' => array(
3061 'blockGap'
3062 ),
3063 '__experimentalDefaultControls' => array(
3064 'blockGap' => true,
3065 'margin' => false,
3066 'padding' => false
3067 )
3068 ),
3069 'color' => array(
3070 'text' => false,
3071 'background' => true,
3072 'gradients' => true
3073 ),
3074 'layout' => array(
3075 'allowSwitching' => false,
3076 'allowInheriting' => false,
3077 'allowEditing' => false,
3078 'default' => array(
3079 'type' => 'flex'
3080 )
3081 ),
3082 'interactivity' => array(
3083 'clientNavigation' => true
3084 ),
3085 'listView' => true
3086 ),
3087 'editorStyle' => 'wp-block-gallery-editor',
3088 'style' => 'wp-block-gallery'
3089 ),
3090 'group' => array(
3091 '$schema' => 'https://schemas.wp.org/trunk/block.json',
3092 'apiVersion' => 3,
3093 'name' => 'core/group',
3094 'title' => 'Group',
3095 'category' => 'design',
3096 'description' => 'Gather blocks in a layout container.',
3097 'keywords' => array(
3098 'container',
3099 'wrapper',
3100 'row',
3101 'section'
3102 ),
3103 'textdomain' => 'default',
3104 'attributes' => array(
3105 'tagName' => array(
3106 'type' => 'string',
3107 'default' => 'div'
3108 ),
3109 'templateLock' => array(
3110 'type' => array(
3111 'string',
3112 'boolean'
3113 ),
3114 'enum' => array(
3115 'all',
3116 'insert',
3117 'contentOnly',
3118 false
3119 )
3120 )
3121 ),
3122 'supports' => array(
3123 '__experimentalOnEnter' => true,
3124 '__experimentalOnMerge' => true,
3125 '__experimentalSettings' => true,
3126 'align' => array(
3127 'wide',
3128 'full'
3129 ),
3130 'anchor' => true,
3131 'ariaLabel' => true,
3132 'html' => false,
3133 'background' => array(
3134 'backgroundImage' => true,
3135 'backgroundSize' => true,
3136 'gradient' => true,
3137 '__experimentalDefaultControls' => array(
3138 'backgroundImage' => true,
3139 'gradient' => true
3140 )
3141 ),
3142 'color' => array(
3143 'gradients' => true,
3144 'heading' => true,
3145 'button' => true,
3146 'link' => true,
3147 '__experimentalDefaultControls' => array(
3148 'background' => true,
3149 'text' => true
3150 )
3151 ),
3152 'shadow' => true,
3153 'spacing' => array(
3154 'margin' => array(
3155 'top',
3156 'bottom'
3157 ),
3158 'padding' => true,
3159 'blockGap' => true,
3160 '__experimentalDefaultControls' => array(
3161 'padding' => true,
3162 'blockGap' => true
3163 )
3164 ),
3165 'dimensions' => array(
3166 'minHeight' => true,
3167 'minWidth' => true
3168 ),
3169 '__experimentalBorder' => array(
3170 'color' => true,
3171 'radius' => true,
3172 'style' => true,
3173 'width' => true,
3174 '__experimentalDefaultControls' => array(
3175 'color' => true,
3176 'radius' => true,
3177 'style' => true,
3178 'width' => true
3179 )
3180 ),
3181 'position' => array(
3182 'sticky' => true
3183 ),
3184 'typography' => array(
3185 'fontSize' => true,
3186 'lineHeight' => true,
3187 '__experimentalFontFamily' => true,
3188 '__experimentalFontWeight' => true,
3189 '__experimentalFontStyle' => true,
3190 '__experimentalTextTransform' => true,
3191 '__experimentalTextDecoration' => true,
3192 '__experimentalLetterSpacing' => true,
3193 '__experimentalDefaultControls' => array(
3194 'fontSize' => true
3195 )
3196 ),
3197 'layout' => array(
3198 'allowSizingOnChildren' => true
3199 ),
3200 'interactivity' => array(
3201 'clientNavigation' => true
3202 ),
3203 'allowedBlocks' => true
3204 ),
3205 'editorStyle' => 'wp-block-group-editor',
3206 'style' => 'wp-block-group'
3207 ),
3208 'heading' => array(
3209 '$schema' => 'https://schemas.wp.org/trunk/block.json',
3210 'apiVersion' => 3,
3211 'name' => 'core/heading',
3212 'title' => 'Heading',
3213 'category' => 'text',
3214 'description' => 'Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.',
3215 'keywords' => array(
3216 'title',
3217 'subtitle'
3218 ),
3219 'textdomain' => 'default',
3220 'attributes' => array(
3221 'content' => array(
3222 'type' => 'rich-text',
3223 'source' => 'rich-text',
3224 'selector' => 'h1,h2,h3,h4,h5,h6',
3225 'role' => 'content'
3226 ),
3227 'level' => array(
3228 'type' => 'number',
3229 'default' => 2
3230 ),
3231 'levelOptions' => array(
3232 'type' => 'array'
3233 ),
3234 'placeholder' => array(
3235 'type' => 'string'
3236 )
3237 ),
3238 'supports' => array(
3239 'align' => array(
3240 'wide',
3241 'full'
3242 ),
3243 'anchor' => true,
3244 'className' => true,
3245 'splitting' => true,
3246 '__experimentalBorder' => array(
3247 'color' => true,
3248 'radius' => true,
3249 'style' => true,
3250 'width' => true
3251 ),
3252 'color' => array(
3253 'gradients' => true,
3254 'link' => true,
3255 '__experimentalDefaultControls' => array(
3256 'background' => true,
3257 'text' => true
3258 )
3259 ),
3260 'spacing' => array(
3261 'margin' => true,
3262 'padding' => true,
3263 '__experimentalDefaultControls' => array(
3264 'margin' => false,
3265 'padding' => false
3266 )
3267 ),
3268 'typography' => array(
3269 'fontSize' => true,
3270 'lineHeight' => true,
3271 'textAlign' => true,
3272 '__experimentalFontFamily' => true,
3273 '__experimentalFontStyle' => true,
3274 '__experimentalFontWeight' => true,
3275 '__experimentalLetterSpacing' => true,
3276 '__experimentalTextTransform' => true,
3277 '__experimentalTextDecoration' => true,
3278 '__experimentalWritingMode' => true,
3279 'fitText' => true,
3280 '__experimentalDefaultControls' => array(
3281 'fontSize' => true
3282 )
3283 ),
3284 '__unstablePasteTextInline' => true,
3285 '__experimentalSlashInserter' => true,
3286 'interactivity' => array(
3287 'clientNavigation' => true
3288 )
3289 ),
3290 'editorStyle' => 'wp-block-heading-editor',
3291 'style' => 'wp-block-heading'
3292 ),
3293 'home-link' => array(
3294 '$schema' => 'https://schemas.wp.org/trunk/block.json',
3295 'apiVersion' => 3,
3296 'name' => 'core/home-link',
3297 'category' => 'design',
3298 'parent' => array(
3299 'core/navigation'
3300 ),
3301 'title' => 'Home Link',
3302 '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.',
3303 'textdomain' => 'default',
3304 'attributes' => array(
3305 'label' => array(
3306 'type' => 'string',
3307 'role' => 'content'
3308 ),
3309 'opensInNewTab' => array(
3310 'type' => 'boolean',
3311 'default' => false
3312 ),
3313 'description' => array(
3314 'type' => 'string'
3315 )
3316 ),
3317 'usesContext' => array(
3318 'textColor',
3319 'customTextColor',
3320 'backgroundColor',
3321 'customBackgroundColor',
3322 'fontSize',
3323 'customFontSize',
3324 'style'
3325 ),
3326 'supports' => array(
3327 'anchor' => true,
3328 'reusable' => false,
3329 'html' => false,
3330 'typography' => array(
3331 'fontSize' => true,
3332 'lineHeight' => true,
3333 '__experimentalFontFamily' => true,
3334 '__experimentalFontWeight' => true,
3335 '__experimentalFontStyle' => true,
3336 '__experimentalTextTransform' => true,
3337 '__experimentalTextDecoration' => true,
3338 '__experimentalLetterSpacing' => true,
3339 '__experimentalDefaultControls' => array(
3340 'fontSize' => true
3341 )
3342 ),
3343 'interactivity' => array(
3344 'clientNavigation' => true
3345 )
3346 ),
3347 'editorStyle' => 'wp-block-home-link-editor',
3348 'style' => 'wp-block-home-link'
3349 ),
3350 'html' => array(
3351 '$schema' => 'https://schemas.wp.org/trunk/block.json',
3352 'apiVersion' => 3,
3353 'name' => 'core/html',
3354 'title' => 'Custom HTML',
3355 'category' => 'widgets',
3356 'description' => 'Add custom HTML code and preview it as you edit.',
3357 'keywords' => array(
3358 'embed'
3359 ),
3360 'textdomain' => 'default',
3361 'attributes' => array(
3362 'content' => array(
3363 'type' => 'string',
3364 'source' => 'raw',
3365 'role' => 'content'
3366 )
3367 ),
3368 'supports' => array(
3369 'customClassName' => false,
3370 'className' => false,
3371 'html' => false,
3372 'interactivity' => array(
3373 'clientNavigation' => true
3374 ),
3375 'customCSS' => false,
3376 'visibility' => false
3377 ),
3378 'editorStyle' => 'wp-block-html-editor'
3379 ),
3380 'icon' => array(
3381 'apiVersion' => 3,
3382 '$schema' => 'https://schemas.wp.org/trunk/block.json',
3383 'name' => 'core/icon',
3384 'title' => 'Icon',
3385 'category' => 'media',
3386 'description' => 'Insert an SVG icon.',
3387 'keywords' => array(
3388 'icon',
3389 'svg'
3390 ),
3391 'textdomain' => 'default',
3392 'attributes' => array(
3393 'icon' => array(
3394 'type' => 'string',
3395 'role' => 'content'
3396 ),
3397 'flipHorizontal' => array(
3398 'type' => 'boolean',
3399 'default' => false
3400 ),
3401 'flipVertical' => array(
3402 'type' => 'boolean',
3403 'default' => false
3404 ),
3405 'rotation' => array(
3406 'type' => 'number',
3407 'default' => 0
3408 )
3409 ),
3410 'supports' => array(
3411 'anchor' => true,
3412 'ariaLabel' => array(
3413 '__experimentalSkipSerialization' => true
3414 ),
3415 'align' => array(
3416 'left',
3417 'center',
3418 'right'
3419 ),
3420 'html' => false,
3421 'color' => array(
3422 'background' => true,
3423 'text' => true,
3424 '__experimentalSkipSerialization' => true
3425 ),
3426 'interactivity' => array(
3427 'clientNavigation' => true
3428 ),
3429 '__experimentalBorder' => array(
3430 'color' => true,
3431 'radius' => true,
3432 'style' => true,
3433 'width' => true,
3434 '__experimentalSkipSerialization' => true,
3435 '__experimentalDefaultControls' => array(
3436 'color' => false,
3437 'radius' => false,
3438 'style' => false,
3439 'width' => false
3440 )
3441 ),
3442 'spacing' => array(
3443 'padding' => true,
3444 'margin' => true,
3445 '__experimentalSkipSerialization' => array(
3446 'padding'
3447 ),
3448 '__experimentalDefaultControls' => array(
3449 'margin' => false,
3450 'padding' => false
3451 )
3452 ),
3453 'dimensions' => array(
3454 'width' => true,
3455 '__experimentalSkipSerialization' => array(
3456 'width'
3457 ),
3458 '__experimentalDefaultControls' => array(
3459 'width' => true
3460 )
3461 )
3462 ),
3463 'selectors' => array(
3464 'root' => '.wp-block-icon svg',
3465 'css' => '.wp-block-icon',
3466 'spacing' => array(
3467 'margin' => '.wp-block-icon'
3468 )
3469 ),
3470 'style' => 'wp-block-icon',
3471 'editorStyle' => 'wp-block-icon-editor'
3472 ),
3473 'image' => array(
3474 '$schema' => 'https://schemas.wp.org/trunk/block.json',
3475 'apiVersion' => 3,
3476 'name' => 'core/image',
3477 'title' => 'Image',
3478 'category' => 'media',
3479 'usesContext' => array(
3480 'allowResize',
3481 'imageCrop',
3482 'fixedHeight',
3483 'navigationButtonType',
3484 'postId',
3485 'postType',
3486 'queryId',
3487 'galleryId'
3488 ),
3489 'description' => 'Insert an image to make a visual statement.',
3490 'keywords' => array(
3491 'img',
3492 'photo',
3493 'picture'
3494 ),
3495 'textdomain' => 'default',
3496 'attributes' => array(
3497 'blob' => array(
3498 'type' => 'string',
3499 'role' => 'local'
3500 ),
3501 'url' => array(
3502 'type' => 'string',
3503 'source' => 'attribute',
3504 'selector' => 'img',
3505 'attribute' => 'src',
3506 'role' => 'content'
3507 ),
3508 'alt' => array(
3509 'type' => 'string',
3510 'source' => 'attribute',
3511 'selector' => 'img',
3512 'attribute' => 'alt',
3513 'default' => '',
3514 'role' => 'content'
3515 ),
3516 'caption' => array(
3517 'type' => 'rich-text',
3518 'source' => 'rich-text',
3519 'selector' => 'figcaption',
3520 'role' => 'content'
3521 ),
3522 'lightbox' => array(
3523 'type' => 'object',
3524 'enabled' => array(
3525 'type' => 'boolean'
3526 )
3527 ),
3528 'title' => array(
3529 'type' => 'string',
3530 'source' => 'attribute',
3531 'selector' => 'img',
3532 'attribute' => 'title',
3533 'role' => 'content'
3534 ),
3535 'href' => array(
3536 'type' => 'string',
3537 'source' => 'attribute',
3538 'selector' => 'figure > a',
3539 'attribute' => 'href',
3540 'role' => 'content'
3541 ),
3542 'rel' => array(
3543 'type' => 'string',
3544 'source' => 'attribute',
3545 'selector' => 'figure > a',
3546 'attribute' => 'rel'
3547 ),
3548 'linkClass' => array(
3549 'type' => 'string',
3550 'source' => 'attribute',
3551 'selector' => 'figure > a',
3552 'attribute' => 'class'
3553 ),
3554 'id' => array(
3555 'type' => 'number',
3556 'role' => 'content'
3557 ),
3558 'width' => array(
3559 'type' => 'string'
3560 ),
3561 'height' => array(
3562 'type' => 'string'
3563 ),
3564 'aspectRatio' => array(
3565 'type' => 'string'
3566 ),
3567 'scale' => array(
3568 'type' => 'string'
3569 ),
3570 'focalPoint' => array(
3571 'type' => 'object'
3572 ),
3573 'sizeSlug' => array(
3574 'type' => 'string'
3575 ),
3576 'linkDestination' => array(
3577 'type' => 'string'
3578 ),
3579 'linkTarget' => array(
3580 'type' => 'string',
3581 'source' => 'attribute',
3582 'selector' => 'figure > a',
3583 'attribute' => 'target'
3584 ),
3585 'isDecorative' => array(
3586 'type' => 'boolean',
3587 'default' => false
3588 )
3589 ),
3590 'supports' => array(
3591 'interactivity' => true,
3592 'align' => array(
3593 'left',
3594 'center',
3595 'right',
3596 'wide',
3597 'full'
3598 ),
3599 'anchor' => true,
3600 'color' => array(
3601 'text' => false,
3602 'background' => false
3603 ),
3604 'filter' => array(
3605 'duotone' => true
3606 ),
3607 'spacing' => array(
3608 'margin' => true
3609 ),
3610 '__experimentalBorder' => array(
3611 'color' => true,
3612 'radius' => true,
3613 'width' => true,
3614 '__experimentalSkipSerialization' => true,
3615 '__experimentalDefaultControls' => array(
3616 'color' => true,
3617 'radius' => true,
3618 'width' => true
3619 )
3620 ),
3621 'shadow' => array(
3622 '__experimentalSkipSerialization' => true
3623 )
3624 ),
3625 'selectors' => array(
3626 'dimensions' => '.wp-block-image img',
3627 'border' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder',
3628 'shadow' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder',
3629 'filter' => array(
3630 'duotone' => '.wp-block-image img, .wp-block-image .components-placeholder'
3631 )
3632 ),
3633 'styles' => array(
3634 array(
3635 'name' => 'default',
3636 'label' => 'Default',
3637 'isDefault' => true
3638 ),
3639 array(
3640 'name' => 'rounded',
3641 'label' => 'Rounded'
3642 )
3643 ),
3644 'editorStyle' => 'wp-block-image-editor',
3645 'style' => 'wp-block-image'
3646 ),
3647 'latest-comments' => array(
3648 '$schema' => 'https://schemas.wp.org/trunk/block.json',
3649 'apiVersion' => 3,
3650 'name' => 'core/latest-comments',
3651 'title' => 'Latest Comments',
3652 'category' => 'widgets',
3653 'description' => 'Display a list of your most recent comments.',
3654 'keywords' => array(
3655 'recent comments'
3656 ),
3657 'textdomain' => 'default',
3658 'attributes' => array(
3659 'commentsToShow' => array(
3660 'type' => 'number',
3661 'default' => 5,
3662 'minimum' => 1,
3663 'maximum' => 100
3664 ),
3665 'displayAvatar' => array(
3666 'type' => 'boolean',
3667 'default' => true
3668 ),
3669 'displayDate' => array(
3670 'type' => 'boolean',
3671 'default' => true
3672 ),
3673 'displayContent' => array(
3674 'type' => 'string',
3675 'default' => 'excerpt',
3676 'enum' => array(
3677 'none',
3678 'excerpt',
3679 'full'
3680 )
3681 )
3682 ),
3683 'supports' => array(
3684 'anchor' => true,
3685 'align' => true,
3686 'color' => array(
3687 'gradients' => true,
3688 'link' => true,
3689 '__experimentalDefaultControls' => array(
3690 'background' => true,
3691 'text' => true,
3692 'link' => true
3693 )
3694 ),
3695 'html' => false,
3696 'spacing' => array(
3697 'margin' => true,
3698 'padding' => true
3699 ),
3700 'typography' => array(
3701 'fontSize' => true,
3702 'lineHeight' => true,
3703 '__experimentalFontFamily' => true,
3704 '__experimentalFontWeight' => true,
3705 '__experimentalFontStyle' => true,
3706 '__experimentalTextTransform' => true,
3707 '__experimentalTextDecoration' => true,
3708 '__experimentalLetterSpacing' => true,
3709 '__experimentalDefaultControls' => array(
3710 'fontSize' => true
3711 )
3712 ),
3713 'interactivity' => array(
3714 'clientNavigation' => true
3715 )
3716 ),
3717 'style' => 'wp-block-latest-comments'
3718 ),
3719 'latest-posts' => array(
3720 '$schema' => 'https://schemas.wp.org/trunk/block.json',
3721 'apiVersion' => 3,
3722 'name' => 'core/latest-posts',
3723 'title' => 'Latest Posts',
3724 'category' => 'widgets',
3725 'description' => 'Display a list of your most recent posts.',
3726 'keywords' => array(
3727 'recent posts'
3728 ),
3729 'textdomain' => 'default',
3730 'attributes' => array(
3731 'categories' => array(
3732 'type' => 'array',
3733 'items' => array(
3734 'type' => 'object'
3735 )
3736 ),
3737 'selectedAuthor' => array(
3738 'type' => 'number'
3739 ),
3740 'postsToShow' => array(
3741 'type' => 'number',
3742 'default' => 5
3743 ),
3744 'displayPostContent' => array(
3745 'type' => 'boolean',
3746 'default' => false
3747 ),
3748 'displayPostContentRadio' => array(
3749 'type' => 'string',
3750 'default' => 'excerpt'
3751 ),
3752 'excerptLength' => array(
3753 'type' => 'number',
3754 'default' => 55
3755 ),
3756 'displayAuthor' => array(
3757 'type' => 'boolean',
3758 'default' => false
3759 ),
3760 'displayPostDate' => array(
3761 'type' => 'boolean',
3762 'default' => false
3763 ),
3764 'postLayout' => array(
3765 'type' => 'string',
3766 'default' => 'list'
3767 ),
3768 'columns' => array(
3769 'type' => 'number',
3770 'default' => 3
3771 ),
3772 'order' => array(
3773 'type' => 'string',
3774 'default' => 'desc'
3775 ),
3776 'orderBy' => array(
3777 'type' => 'string',
3778 'default' => 'date'
3779 ),
3780 'displayFeaturedImage' => array(
3781 'type' => 'boolean',
3782 'default' => false
3783 ),
3784 'featuredImageAlign' => array(
3785 'type' => 'string',
3786 'enum' => array(
3787 'left',
3788 'center',
3789 'right'
3790 )
3791 ),
3792 'featuredImageSizeSlug' => array(
3793 'type' => 'string',
3794 'default' => 'thumbnail'
3795 ),
3796 'featuredImageSizeWidth' => array(
3797 'type' => 'number',
3798 'default' => null
3799 ),
3800 'featuredImageSizeHeight' => array(
3801 'type' => 'number',
3802 'default' => null
3803 ),
3804 'addLinkToFeaturedImage' => array(
3805 'type' => 'boolean',
3806 'default' => false
3807 )
3808 ),
3809 'supports' => array(
3810 'anchor' => true,
3811 'align' => true,
3812 'html' => false,
3813 'color' => array(
3814 'gradients' => true,
3815 'link' => true,
3816 '__experimentalDefaultControls' => array(
3817 'background' => true,
3818 'text' => true,
3819 'link' => true
3820 )
3821 ),
3822 'spacing' => array(
3823 'margin' => true,
3824 'padding' => true
3825 ),
3826 'typography' => array(
3827 'fontSize' => true,
3828 'lineHeight' => true,
3829 '__experimentalFontFamily' => true,
3830 '__experimentalFontWeight' => true,
3831 '__experimentalFontStyle' => true,
3832 '__experimentalTextTransform' => true,
3833 '__experimentalTextDecoration' => true,
3834 '__experimentalLetterSpacing' => true,
3835 '__experimentalDefaultControls' => array(
3836 'fontSize' => true
3837 )
3838 ),
3839 '__experimentalBorder' => array(
3840 'radius' => true,
3841 'color' => true,
3842 'width' => true,
3843 'style' => true,
3844 '__experimentalDefaultControls' => array(
3845 'radius' => true,
3846 'color' => true,
3847 'width' => true,
3848 'style' => true
3849 )
3850 ),
3851 'interactivity' => array(
3852 'clientNavigation' => true
3853 )
3854 ),
3855 'editorStyle' => 'wp-block-latest-posts-editor',
3856 'style' => 'wp-block-latest-posts'
3857 ),
3858 'list' => array(
3859 '$schema' => 'https://schemas.wp.org/trunk/block.json',
3860 'apiVersion' => 3,
3861 'name' => 'core/list',
3862 'title' => 'List',
3863 'category' => 'text',
3864 'allowedBlocks' => array(
3865 'core/list-item'
3866 ),
3867 'description' => 'An organized collection of items displayed in a specific order.',
3868 'keywords' => array(
3869 'bullet list',
3870 'ordered list',
3871 'numbered list'
3872 ),
3873 'textdomain' => 'default',
3874 'attributes' => array(
3875 'ordered' => array(
3876 'type' => 'boolean',
3877 'default' => false,
3878 'role' => 'content'
3879 ),
3880 'values' => array(
3881 'type' => 'string',
3882 'source' => 'html',
3883 'selector' => 'ol,ul',
3884 'multiline' => 'li',
3885 'default' => '',
3886 'role' => 'content'
3887 ),
3888 'type' => array(
3889 'type' => 'string'
3890 ),
3891 'start' => array(
3892 'type' => 'number'
3893 ),
3894 'reversed' => array(
3895 'type' => 'boolean'
3896 ),
3897 'placeholder' => array(
3898 'type' => 'string'
3899 )
3900 ),
3901 'supports' => array(
3902 'anchor' => true,
3903 'html' => false,
3904 '__experimentalBorder' => array(
3905 'color' => true,
3906 'radius' => true,
3907 'style' => true,
3908 'width' => true
3909 ),
3910 'typography' => array(
3911 'fontSize' => true,
3912 'lineHeight' => true,
3913 '__experimentalFontFamily' => true,
3914 '__experimentalFontWeight' => true,
3915 '__experimentalFontStyle' => true,
3916 '__experimentalTextTransform' => true,
3917 '__experimentalTextDecoration' => true,
3918 '__experimentalLetterSpacing' => true,
3919 '__experimentalDefaultControls' => array(
3920 'fontSize' => true
3921 )
3922 ),
3923 'color' => array(
3924 'gradients' => true,
3925 'link' => true,
3926 '__experimentalDefaultControls' => array(
3927 'background' => true,
3928 'text' => true
3929 )
3930 ),
3931 'spacing' => array(
3932 'margin' => true,
3933 'padding' => true,
3934 '__experimentalDefaultControls' => array(
3935 'margin' => false,
3936 'padding' => false
3937 )
3938 ),
3939 '__unstablePasteTextInline' => true,
3940 '__experimentalOnMerge' => true,
3941 '__experimentalSlashInserter' => true,
3942 'interactivity' => array(
3943 'clientNavigation' => true
3944 ),
3945 'listView' => true
3946 ),
3947 'selectors' => array(
3948 'border' => '.wp-block-list:not(.wp-block-list .wp-block-list)'
3949 ),
3950 'editorStyle' => 'wp-block-list-editor',
3951 'style' => 'wp-block-list'
3952 ),
3953 'list-item' => array(
3954 '$schema' => 'https://schemas.wp.org/trunk/block.json',
3955 'apiVersion' => 3,
3956 'name' => 'core/list-item',
3957 'title' => 'List Item',
3958 'category' => 'text',
3959 'parent' => array(
3960 'core/list'
3961 ),
3962 'allowedBlocks' => array(
3963 'core/list'
3964 ),
3965 'description' => 'An individual item within a list.',
3966 'textdomain' => 'default',
3967 'attributes' => array(
3968 'placeholder' => array(
3969 'type' => 'string'
3970 ),
3971 'content' => array(
3972 'type' => 'rich-text',
3973 'source' => 'rich-text',
3974 'selector' => 'li',
3975 'role' => 'content'
3976 )
3977 ),
3978 'supports' => array(
3979 'anchor' => true,
3980 'html' => false,
3981 'className' => false,
3982 'splitting' => true,
3983 '__experimentalBorder' => array(
3984 'color' => true,
3985 'radius' => true,
3986 'style' => true,
3987 'width' => true
3988 ),
3989 'color' => array(
3990 'gradients' => true,
3991 'link' => true,
3992 'background' => true,
3993 '__experimentalDefaultControls' => array(
3994 'text' => true
3995 )
3996 ),
3997 'spacing' => array(
3998 'margin' => true,
3999 'padding' => true,
4000 '__experimentalDefaultControls' => array(
4001 'margin' => false,
4002 'padding' => false
4003 )
4004 ),
4005 'typography' => array(
4006 'fontSize' => true,
4007 'lineHeight' => true,
4008 '__experimentalFontFamily' => true,
4009 '__experimentalFontWeight' => true,
4010 '__experimentalFontStyle' => true,
4011 '__experimentalTextTransform' => true,
4012 '__experimentalTextDecoration' => true,
4013 '__experimentalLetterSpacing' => true,
4014 '__experimentalDefaultControls' => array(
4015 'fontSize' => true
4016 )
4017 ),
4018 'interactivity' => array(
4019 'clientNavigation' => true
4020 )
4021 ),
4022 'selectors' => array(
4023 'root' => '.wp-block-list > li',
4024 'border' => '.wp-block-list:not(.wp-block-list .wp-block-list) > li'
4025 )
4026 ),
4027 'loginout' => array(
4028 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4029 'apiVersion' => 3,
4030 'name' => 'core/loginout',
4031 'title' => 'Login/out',
4032 'category' => 'theme',
4033 'description' => 'Show login & logout links.',
4034 'keywords' => array(
4035 'login',
4036 'logout',
4037 'form'
4038 ),
4039 'textdomain' => 'default',
4040 'attributes' => array(
4041 'displayLoginAsForm' => array(
4042 'type' => 'boolean',
4043 'default' => false
4044 ),
4045 'redirectToCurrent' => array(
4046 'type' => 'boolean',
4047 'default' => true
4048 )
4049 ),
4050 'example' => array(
4051 'viewportWidth' => 350
4052 ),
4053 'supports' => array(
4054 'anchor' => true,
4055 'className' => true,
4056 'color' => array(
4057 'background' => true,
4058 'text' => false,
4059 'gradients' => true,
4060 'link' => true
4061 ),
4062 'spacing' => array(
4063 'margin' => true,
4064 'padding' => true,
4065 '__experimentalDefaultControls' => array(
4066 'margin' => false,
4067 'padding' => false
4068 )
4069 ),
4070 'typography' => array(
4071 'fontSize' => true,
4072 'lineHeight' => true,
4073 '__experimentalFontFamily' => true,
4074 '__experimentalFontWeight' => true,
4075 '__experimentalFontStyle' => true,
4076 '__experimentalTextTransform' => true,
4077 '__experimentalTextDecoration' => true,
4078 '__experimentalLetterSpacing' => true,
4079 '__experimentalDefaultControls' => array(
4080 'fontSize' => true
4081 )
4082 ),
4083 '__experimentalBorder' => array(
4084 'radius' => true,
4085 'color' => true,
4086 'width' => true,
4087 'style' => true
4088 ),
4089 'interactivity' => array(
4090 'clientNavigation' => true
4091 )
4092 ),
4093 'style' => 'wp-block-loginout'
4094 ),
4095 'math' => array(
4096 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4097 'apiVersion' => 3,
4098 'name' => 'core/math',
4099 'title' => 'Math',
4100 'category' => 'text',
4101 'description' => 'Display mathematical notation using LaTeX.',
4102 'keywords' => array(
4103 'equation',
4104 'formula',
4105 'latex',
4106 'mathematics'
4107 ),
4108 'textdomain' => 'default',
4109 'supports' => array(
4110 'anchor' => true,
4111 'html' => false,
4112 '__experimentalBorder' => array(
4113 'color' => true,
4114 'radius' => true,
4115 'style' => true,
4116 'width' => true
4117 ),
4118 'color' => array(
4119 'gradients' => true,
4120 '__experimentalDefaultControls' => array(
4121 'background' => true,
4122 'text' => true
4123 )
4124 ),
4125 'spacing' => array(
4126 'margin' => true,
4127 'padding' => true,
4128 '__experimentalDefaultControls' => array(
4129 'margin' => false,
4130 'padding' => false
4131 )
4132 ),
4133 'typography' => array(
4134 'fontSize' => true,
4135 '__experimentalDefaultControls' => array(
4136 'fontSize' => true
4137 )
4138 )
4139 ),
4140 'attributes' => array(
4141 'latex' => array(
4142 'type' => 'string',
4143 'role' => 'content'
4144 ),
4145 'mathML' => array(
4146 'type' => 'string',
4147 'source' => 'html',
4148 'selector' => 'math'
4149 )
4150 )
4151 ),
4152 'media-text' => array(
4153 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4154 'apiVersion' => 3,
4155 'name' => 'core/media-text',
4156 'title' => 'Media & Text',
4157 'category' => 'media',
4158 'description' => 'Set media and words side-by-side for a richer layout.',
4159 'keywords' => array(
4160 'image',
4161 'video'
4162 ),
4163 'textdomain' => 'default',
4164 'attributes' => array(
4165 'align' => array(
4166 'type' => 'string',
4167 'default' => 'none'
4168 ),
4169 'mediaAlt' => array(
4170 'type' => 'string',
4171 'source' => 'attribute',
4172 'selector' => 'figure img',
4173 'attribute' => 'alt',
4174 'default' => '',
4175 'role' => 'content'
4176 ),
4177 'mediaPosition' => array(
4178 'type' => 'string',
4179 'default' => 'left'
4180 ),
4181 'mediaId' => array(
4182 'type' => 'number',
4183 'role' => 'content'
4184 ),
4185 'mediaUrl' => array(
4186 'type' => 'string',
4187 'source' => 'attribute',
4188 'selector' => 'figure video,figure img',
4189 'attribute' => 'src',
4190 'role' => 'content'
4191 ),
4192 'mediaLink' => array(
4193 'type' => 'string'
4194 ),
4195 'linkDestination' => array(
4196 'type' => 'string'
4197 ),
4198 'linkTarget' => array(
4199 'type' => 'string',
4200 'source' => 'attribute',
4201 'selector' => 'figure a',
4202 'attribute' => 'target'
4203 ),
4204 'href' => array(
4205 'type' => 'string',
4206 'source' => 'attribute',
4207 'selector' => 'figure a',
4208 'attribute' => 'href',
4209 'role' => 'content'
4210 ),
4211 'rel' => array(
4212 'type' => 'string',
4213 'source' => 'attribute',
4214 'selector' => 'figure a',
4215 'attribute' => 'rel'
4216 ),
4217 'linkClass' => array(
4218 'type' => 'string',
4219 'source' => 'attribute',
4220 'selector' => 'figure a',
4221 'attribute' => 'class'
4222 ),
4223 'mediaType' => array(
4224 'type' => 'string',
4225 'role' => 'content'
4226 ),
4227 'mediaWidth' => array(
4228 'type' => 'number',
4229 'default' => 50
4230 ),
4231 'mediaSizeSlug' => array(
4232 'type' => 'string'
4233 ),
4234 'isStackedOnMobile' => array(
4235 'type' => 'boolean',
4236 'default' => true
4237 ),
4238 'verticalAlignment' => array(
4239 'type' => 'string'
4240 ),
4241 'imageFill' => array(
4242 'type' => 'boolean'
4243 ),
4244 'focalPoint' => array(
4245 'type' => 'object'
4246 ),
4247 'useFeaturedImage' => array(
4248 'type' => 'boolean',
4249 'default' => false
4250 )
4251 ),
4252 'usesContext' => array(
4253 'postId',
4254 'postType'
4255 ),
4256 'supports' => array(
4257 'anchor' => true,
4258 'align' => array(
4259 'wide',
4260 'full'
4261 ),
4262 'html' => false,
4263 '__experimentalBorder' => array(
4264 'color' => true,
4265 'radius' => true,
4266 'style' => true,
4267 'width' => true,
4268 '__experimentalDefaultControls' => array(
4269 'color' => true,
4270 'radius' => true,
4271 'style' => true,
4272 'width' => true
4273 )
4274 ),
4275 'color' => array(
4276 'gradients' => true,
4277 'heading' => true,
4278 'link' => true,
4279 '__experimentalDefaultControls' => array(
4280 'background' => true,
4281 'text' => true
4282 )
4283 ),
4284 'spacing' => array(
4285 'margin' => true,
4286 'padding' => true
4287 ),
4288 'typography' => array(
4289 'fontSize' => true,
4290 'lineHeight' => true,
4291 '__experimentalFontFamily' => true,
4292 '__experimentalFontWeight' => true,
4293 '__experimentalFontStyle' => true,
4294 '__experimentalTextTransform' => true,
4295 '__experimentalTextDecoration' => true,
4296 '__experimentalLetterSpacing' => true,
4297 '__experimentalDefaultControls' => array(
4298 'fontSize' => true
4299 )
4300 ),
4301 'interactivity' => array(
4302 'clientNavigation' => true
4303 ),
4304 'allowedBlocks' => true
4305 ),
4306 'editorStyle' => 'wp-block-media-text-editor',
4307 'style' => 'wp-block-media-text'
4308 ),
4309 'missing' => array(
4310 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4311 'apiVersion' => 3,
4312 'name' => 'core/missing',
4313 'title' => 'Unsupported',
4314 'category' => 'text',
4315 'description' => 'Your site doesn’t include support for this block.',
4316 'textdomain' => 'default',
4317 'attributes' => array(
4318 'originalName' => array(
4319 'type' => 'string'
4320 ),
4321 'originalUndelimitedContent' => array(
4322 'type' => 'string'
4323 ),
4324 'originalContent' => array(
4325 'type' => 'string',
4326 'source' => 'raw'
4327 )
4328 ),
4329 'supports' => array(
4330 'className' => false,
4331 'customClassName' => false,
4332 'inserter' => false,
4333 'html' => false,
4334 'lock' => false,
4335 'reusable' => false,
4336 'renaming' => false,
4337 'visibility' => false,
4338 'interactivity' => array(
4339 'clientNavigation' => true
4340 ),
4341 'customCSS' => false
4342 )
4343 ),
4344 'more' => array(
4345 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4346 'apiVersion' => 3,
4347 'name' => 'core/more',
4348 'title' => 'More',
4349 'category' => 'design',
4350 'description' => 'Content before this block will be shown in the excerpt on your archives page.',
4351 'keywords' => array(
4352 'read more'
4353 ),
4354 'textdomain' => 'default',
4355 'attributes' => array(
4356 'customText' => array(
4357 'type' => 'string',
4358 'default' => '',
4359 'role' => 'content'
4360 ),
4361 'noTeaser' => array(
4362 'type' => 'boolean',
4363 'default' => false
4364 )
4365 ),
4366 'supports' => array(
4367 'customClassName' => false,
4368 'className' => false,
4369 'html' => false,
4370 'multiple' => false,
4371 'visibility' => false,
4372 'interactivity' => array(
4373 'clientNavigation' => true
4374 ),
4375 'customCSS' => false
4376 ),
4377 'editorStyle' => 'wp-block-more-editor'
4378 ),
4379 'navigation' => array(
4380 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4381 'apiVersion' => 3,
4382 'name' => 'core/navigation',
4383 'title' => 'Navigation',
4384 'category' => 'theme',
4385 'allowedBlocks' => array(
4386 'core/navigation-link',
4387 'core/search',
4388 'core/social-links',
4389 'core/page-list',
4390 'core/spacer',
4391 'core/home-link',
4392 'core/icon',
4393 'core/site-title',
4394 'core/site-logo',
4395 'core/navigation-submenu',
4396 'core/loginout',
4397 'core/buttons'
4398 ),
4399 'description' => 'A collection of blocks that allow visitors to get around your site.',
4400 'keywords' => array(
4401 'menu',
4402 'navigation',
4403 'links'
4404 ),
4405 'textdomain' => 'default',
4406 'attributes' => array(
4407 'ref' => array(
4408 'type' => 'number'
4409 ),
4410 'textColor' => array(
4411 'type' => 'string'
4412 ),
4413 'customTextColor' => array(
4414 'type' => 'string'
4415 ),
4416 'rgbTextColor' => array(
4417 'type' => 'string'
4418 ),
4419 'backgroundColor' => array(
4420 'type' => 'string'
4421 ),
4422 'customBackgroundColor' => array(
4423 'type' => 'string'
4424 ),
4425 'rgbBackgroundColor' => array(
4426 'type' => 'string'
4427 ),
4428 'showSubmenuIcon' => array(
4429 'type' => 'boolean',
4430 'default' => true
4431 ),
4432 'submenuVisibility' => array(
4433 'type' => 'string',
4434 'enum' => array(
4435 'hover',
4436 'click',
4437 'always'
4438 ),
4439 'default' => 'hover'
4440 ),
4441 'overlayMenu' => array(
4442 'type' => 'string',
4443 'default' => 'mobile'
4444 ),
4445 'overlay' => array(
4446 'type' => 'string'
4447 ),
4448 'icon' => array(
4449 'type' => 'string',
4450 'default' => 'handle'
4451 ),
4452 'hasIcon' => array(
4453 'type' => 'boolean',
4454 'default' => true
4455 ),
4456 '__unstableLocation' => array(
4457 'type' => 'string'
4458 ),
4459 'overlayBackgroundColor' => array(
4460 'type' => 'string'
4461 ),
4462 'customOverlayBackgroundColor' => array(
4463 'type' => 'string'
4464 ),
4465 'overlayTextColor' => array(
4466 'type' => 'string'
4467 ),
4468 'customOverlayTextColor' => array(
4469 'type' => 'string'
4470 ),
4471 'maxNestingLevel' => array(
4472 'type' => 'number',
4473 'default' => 5
4474 ),
4475 'templateLock' => array(
4476 'type' => array(
4477 'string',
4478 'boolean'
4479 ),
4480 'enum' => array(
4481 'all',
4482 'insert',
4483 'contentOnly',
4484 false
4485 )
4486 )
4487 ),
4488 'providesContext' => array(
4489 'textColor' => 'textColor',
4490 'customTextColor' => 'customTextColor',
4491 'backgroundColor' => 'backgroundColor',
4492 'customBackgroundColor' => 'customBackgroundColor',
4493 'overlayTextColor' => 'overlayTextColor',
4494 'customOverlayTextColor' => 'customOverlayTextColor',
4495 'overlayBackgroundColor' => 'overlayBackgroundColor',
4496 'customOverlayBackgroundColor' => 'customOverlayBackgroundColor',
4497 'fontSize' => 'fontSize',
4498 'customFontSize' => 'customFontSize',
4499 'showSubmenuIcon' => 'showSubmenuIcon',
4500 'submenuVisibility' => 'submenuVisibility',
4501 'openSubmenusOnClick' => 'openSubmenusOnClick',
4502 'style' => 'style',
4503 'maxNestingLevel' => 'maxNestingLevel'
4504 ),
4505 'supports' => array(
4506 'anchor' => true,
4507 'align' => array(
4508 'wide',
4509 'full'
4510 ),
4511 'ariaLabel' => true,
4512 'contentRole' => true,
4513 'html' => false,
4514 'inserter' => true,
4515 'typography' => array(
4516 'fontSize' => true,
4517 'lineHeight' => true,
4518 '__experimentalFontStyle' => true,
4519 '__experimentalFontWeight' => true,
4520 '__experimentalTextTransform' => true,
4521 '__experimentalFontFamily' => true,
4522 '__experimentalLetterSpacing' => true,
4523 '__experimentalTextDecoration' => true,
4524 '__experimentalSkipSerialization' => array(
4525 'textDecoration'
4526 ),
4527 '__experimentalDefaultControls' => array(
4528 'fontSize' => true
4529 )
4530 ),
4531 'spacing' => array(
4532 'blockGap' => true,
4533 'units' => array(
4534 'px',
4535 'em',
4536 'rem',
4537 'vh',
4538 'vw'
4539 ),
4540 '__experimentalDefaultControls' => array(
4541 'blockGap' => true
4542 )
4543 ),
4544 'layout' => array(
4545 'allowSwitching' => false,
4546 'allowInheriting' => false,
4547 'allowVerticalAlignment' => false,
4548 'allowSizingOnChildren' => true,
4549 'default' => array(
4550 'type' => 'flex'
4551 )
4552 ),
4553 'interactivity' => true,
4554 'renaming' => false
4555 ),
4556 'editorStyle' => 'wp-block-navigation-editor',
4557 'style' => 'wp-block-navigation'
4558 ),
4559 'navigation-link' => array(
4560 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4561 'apiVersion' => 3,
4562 'name' => 'core/navigation-link',
4563 'title' => 'Custom Link',
4564 'category' => 'design',
4565 'parent' => array(
4566 'core/navigation'
4567 ),
4568 'allowedBlocks' => array(
4569 'core/navigation-link',
4570 'core/navigation-submenu',
4571 'core/page-list'
4572 ),
4573 'description' => 'Add a page, link, or another item to your navigation.',
4574 'textdomain' => 'default',
4575 'attributes' => array(
4576 'label' => array(
4577 'type' => 'string',
4578 'role' => 'content'
4579 ),
4580 'type' => array(
4581 'type' => 'string'
4582 ),
4583 'description' => array(
4584 'type' => 'string'
4585 ),
4586 'rel' => array(
4587 'type' => 'string'
4588 ),
4589 'id' => array(
4590 'type' => 'number'
4591 ),
4592 'opensInNewTab' => array(
4593 'type' => 'boolean',
4594 'default' => false
4595 ),
4596 'url' => array(
4597 'type' => 'string',
4598 'role' => 'content'
4599 ),
4600 'title' => array(
4601 'type' => 'string'
4602 ),
4603 'kind' => array(
4604 'type' => 'string'
4605 ),
4606 'isTopLevelLink' => array(
4607 'type' => 'boolean'
4608 )
4609 ),
4610 'usesContext' => array(
4611 'textColor',
4612 'customTextColor',
4613 'backgroundColor',
4614 'customBackgroundColor',
4615 'overlayTextColor',
4616 'customOverlayTextColor',
4617 'overlayBackgroundColor',
4618 'customOverlayBackgroundColor',
4619 'fontSize',
4620 'customFontSize',
4621 'showSubmenuIcon',
4622 'maxNestingLevel',
4623 'style'
4624 ),
4625 'supports' => array(
4626 'anchor' => true,
4627 'reusable' => false,
4628 'html' => false,
4629 '__experimentalSlashInserter' => true,
4630 'typography' => array(
4631 'fontSize' => true,
4632 'lineHeight' => true,
4633 '__experimentalFontFamily' => true,
4634 '__experimentalFontWeight' => true,
4635 '__experimentalFontStyle' => true,
4636 '__experimentalTextTransform' => true,
4637 '__experimentalTextDecoration' => true,
4638 '__experimentalLetterSpacing' => true,
4639 '__experimentalDefaultControls' => array(
4640 'fontSize' => true
4641 )
4642 ),
4643 'renaming' => false,
4644 'interactivity' => array(
4645 'clientNavigation' => true
4646 )
4647 ),
4648 'selectors' => array(
4649 'states' => array(
4650 '-current' => '.wp-block-navigation .current-menu-item'
4651 )
4652 ),
4653 'editorStyle' => 'wp-block-navigation-link-editor',
4654 'style' => 'wp-block-navigation-link'
4655 ),
4656 'navigation-overlay-close' => array(
4657 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4658 'apiVersion' => 3,
4659 'name' => 'core/navigation-overlay-close',
4660 'title' => 'Navigation Overlay Close',
4661 'category' => 'design',
4662 'description' => 'A customizable button to close overlays.',
4663 'keywords' => array(
4664 'close',
4665 'overlay',
4666 'navigation',
4667 'menu'
4668 ),
4669 'textdomain' => 'default',
4670 'attributes' => array(
4671 'displayMode' => array(
4672 'type' => 'string',
4673 'enum' => array(
4674 'icon',
4675 'text',
4676 'both'
4677 ),
4678 'default' => 'icon'
4679 ),
4680 'text' => array(
4681 'type' => 'string'
4682 )
4683 ),
4684 'supports' => array(
4685 'color' => array(
4686 'gradients' => false,
4687 '__experimentalDefaultControls' => array(
4688 'background' => true,
4689 'text' => true
4690 )
4691 ),
4692 'spacing' => array(
4693 'padding' => true,
4694 '__experimentalDefaultControls' => array(
4695 'padding' => true
4696 )
4697 ),
4698 'typography' => array(
4699 'fontSize' => true,
4700 'lineHeight' => true,
4701 '__experimentalFontFamily' => true,
4702 '__experimentalFontWeight' => true,
4703 '__experimentalFontStyle' => true,
4704 '__experimentalTextTransform' => true,
4705 '__experimentalTextDecoration' => true,
4706 '__experimentalLetterSpacing' => true,
4707 '__experimentalDefaultControls' => array(
4708 'fontSize' => true
4709 )
4710 )
4711 ),
4712 'style' => 'wp-block-navigation-overlay-close'
4713 ),
4714 'navigation-submenu' => array(
4715 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4716 'apiVersion' => 3,
4717 'name' => 'core/navigation-submenu',
4718 'title' => 'Submenu',
4719 'category' => 'design',
4720 'parent' => array(
4721 'core/navigation'
4722 ),
4723 'description' => 'Add a submenu to your navigation.',
4724 'textdomain' => 'default',
4725 'attributes' => array(
4726 'label' => array(
4727 'type' => 'string',
4728 'role' => 'content'
4729 ),
4730 'type' => array(
4731 'type' => 'string'
4732 ),
4733 'description' => array(
4734 'type' => 'string'
4735 ),
4736 'rel' => array(
4737 'type' => 'string'
4738 ),
4739 'id' => array(
4740 'type' => 'number'
4741 ),
4742 'opensInNewTab' => array(
4743 'type' => 'boolean',
4744 'default' => false
4745 ),
4746 'url' => array(
4747 'type' => 'string',
4748 'role' => 'content'
4749 ),
4750 'title' => array(
4751 'type' => 'string'
4752 ),
4753 'kind' => array(
4754 'type' => 'string'
4755 ),
4756 'isTopLevelItem' => array(
4757 'type' => 'boolean'
4758 ),
4759 'isParentSubmenu' => array(
4760 'type' => 'boolean',
4761 'default' => true
4762 )
4763 ),
4764 'providesContext' => array(
4765 'core/isInsideSubmenu' => 'isParentSubmenu'
4766 ),
4767 'usesContext' => array(
4768 'textColor',
4769 'customTextColor',
4770 'backgroundColor',
4771 'customBackgroundColor',
4772 'overlayTextColor',
4773 'customOverlayTextColor',
4774 'overlayBackgroundColor',
4775 'customOverlayBackgroundColor',
4776 'fontSize',
4777 'customFontSize',
4778 'showSubmenuIcon',
4779 'maxNestingLevel',
4780 'openSubmenusOnClick',
4781 'submenuVisibility',
4782 'style'
4783 ),
4784 'supports' => array(
4785 'anchor' => true,
4786 'reusable' => false,
4787 'html' => false,
4788 'typography' => array(
4789 'fontSize' => true,
4790 'lineHeight' => true,
4791 '__experimentalFontFamily' => true,
4792 '__experimentalFontWeight' => true,
4793 '__experimentalFontStyle' => true,
4794 '__experimentalTextTransform' => true,
4795 '__experimentalTextDecoration' => true,
4796 '__experimentalLetterSpacing' => true,
4797 '__experimentalDefaultControls' => array(
4798 'fontSize' => true
4799 )
4800 ),
4801 'interactivity' => array(
4802 'clientNavigation' => true
4803 )
4804 ),
4805 'editorStyle' => 'wp-block-navigation-submenu-editor',
4806 'style' => 'wp-block-navigation-submenu'
4807 ),
4808 'nextpage' => array(
4809 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4810 'apiVersion' => 3,
4811 'name' => 'core/nextpage',
4812 'title' => 'Page Break',
4813 'category' => 'design',
4814 'description' => 'Separate your content into a multi-page experience.',
4815 'keywords' => array(
4816 'next page',
4817 'pagination'
4818 ),
4819 'parent' => array(
4820 'core/post-content'
4821 ),
4822 'textdomain' => 'default',
4823 'supports' => array(
4824 'customClassName' => false,
4825 'className' => false,
4826 'html' => false,
4827 'visibility' => false,
4828 'interactivity' => array(
4829 'clientNavigation' => true
4830 ),
4831 'customCSS' => false
4832 ),
4833 'editorStyle' => 'wp-block-nextpage-editor'
4834 ),
4835 'page-list' => array(
4836 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4837 'apiVersion' => 3,
4838 'name' => 'core/page-list',
4839 'title' => 'Page List',
4840 'category' => 'widgets',
4841 'allowedBlocks' => array(
4842 'core/page-list-item'
4843 ),
4844 'description' => 'Display a list of all pages.',
4845 'keywords' => array(
4846 'menu',
4847 'navigation'
4848 ),
4849 'textdomain' => 'default',
4850 'attributes' => array(
4851 'parentPageID' => array(
4852 'type' => 'integer',
4853 'default' => 0
4854 )
4855 ),
4856 'usesContext' => array(
4857 'textColor',
4858 'customTextColor',
4859 'backgroundColor',
4860 'customBackgroundColor',
4861 'overlayTextColor',
4862 'customOverlayTextColor',
4863 'overlayBackgroundColor',
4864 'customOverlayBackgroundColor',
4865 'fontSize',
4866 'customFontSize',
4867 'showSubmenuIcon',
4868 'style',
4869 'openSubmenusOnClick',
4870 'submenuVisibility',
4871 'core/isInsideSubmenu'
4872 ),
4873 'supports' => array(
4874 'anchor' => true,
4875 'reusable' => false,
4876 'html' => false,
4877 'typography' => array(
4878 'fontSize' => true,
4879 'lineHeight' => true,
4880 '__experimentalFontFamily' => true,
4881 '__experimentalFontWeight' => true,
4882 '__experimentalFontStyle' => true,
4883 '__experimentalTextTransform' => true,
4884 '__experimentalTextDecoration' => true,
4885 '__experimentalLetterSpacing' => true,
4886 '__experimentalDefaultControls' => array(
4887 'fontSize' => true
4888 )
4889 ),
4890 'interactivity' => array(
4891 'clientNavigation' => true
4892 ),
4893 'color' => array(
4894 'text' => true,
4895 'background' => true,
4896 'link' => true,
4897 'gradients' => true,
4898 '__experimentalDefaultControls' => array(
4899 'background' => true,
4900 'text' => true,
4901 'link' => true
4902 )
4903 ),
4904 '__experimentalBorder' => array(
4905 'radius' => true,
4906 'color' => true,
4907 'width' => true,
4908 'style' => true
4909 ),
4910 'spacing' => array(
4911 'padding' => true,
4912 'margin' => true,
4913 '__experimentalDefaultControls' => array(
4914 'padding' => false,
4915 'margin' => false
4916 )
4917 ),
4918 'contentRole' => true
4919 ),
4920 'editorStyle' => 'wp-block-page-list-editor',
4921 'style' => 'wp-block-page-list'
4922 ),
4923 'page-list-item' => array(
4924 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4925 'apiVersion' => 3,
4926 'name' => 'core/page-list-item',
4927 'title' => 'Page List Item',
4928 'category' => 'widgets',
4929 'parent' => array(
4930 'core/page-list'
4931 ),
4932 'description' => 'Displays a page inside a list of all pages.',
4933 'keywords' => array(
4934 'page',
4935 'menu',
4936 'navigation'
4937 ),
4938 'textdomain' => 'default',
4939 'attributes' => array(
4940 'id' => array(
4941 'type' => 'number'
4942 ),
4943 'label' => array(
4944 'type' => 'string'
4945 ),
4946 'title' => array(
4947 'type' => 'string'
4948 ),
4949 'link' => array(
4950 'type' => 'string'
4951 ),
4952 'hasChildren' => array(
4953 'type' => 'boolean'
4954 )
4955 ),
4956 'usesContext' => array(
4957 'textColor',
4958 'customTextColor',
4959 'backgroundColor',
4960 'customBackgroundColor',
4961 'overlayTextColor',
4962 'customOverlayTextColor',
4963 'overlayBackgroundColor',
4964 'customOverlayBackgroundColor',
4965 'fontSize',
4966 'customFontSize',
4967 'showSubmenuIcon',
4968 'style',
4969 'openSubmenusOnClick',
4970 'submenuVisibility'
4971 ),
4972 'supports' => array(
4973 'anchor' => true,
4974 'reusable' => false,
4975 'html' => false,
4976 'lock' => false,
4977 'inserter' => false,
4978 '__experimentalToolbar' => false,
4979 'interactivity' => array(
4980 'clientNavigation' => true
4981 )
4982 ),
4983 'editorStyle' => 'wp-block-page-list-editor',
4984 'style' => 'wp-block-page-list'
4985 ),
4986 'paragraph' => array(
4987 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4988 'apiVersion' => 3,
4989 'name' => 'core/paragraph',
4990 'title' => 'Paragraph',
4991 'category' => 'text',
4992 'description' => 'Start with the basic building block of all narrative.',
4993 'keywords' => array(
4994 'text'
4995 ),
4996 'textdomain' => 'default',
4997 'attributes' => array(
4998 'content' => array(
4999 'type' => 'rich-text',
5000 'source' => 'rich-text',
5001 'selector' => 'p',
5002 'role' => 'content'
5003 ),
5004 'dropCap' => array(
5005 'type' => 'boolean',
5006 'default' => false
5007 ),
5008 'placeholder' => array(
5009 'type' => 'string'
5010 ),
5011 'direction' => array(
5012 'type' => 'string',
5013 'enum' => array(
5014 'ltr',
5015 'rtl'
5016 )
5017 )
5018 ),
5019 'supports' => array(
5020 'align' => array(
5021 'wide',
5022 'full'
5023 ),
5024 'splitting' => true,
5025 'anchor' => true,
5026 'className' => false,
5027 '__experimentalBorder' => array(
5028 'color' => true,
5029 'radius' => true,
5030 'style' => true,
5031 'width' => true
5032 ),
5033 'color' => array(
5034 'gradients' => true,
5035 'link' => true,
5036 '__experimentalDefaultControls' => array(
5037 'background' => true,
5038 'text' => true
5039 )
5040 ),
5041 'spacing' => array(
5042 'margin' => true,
5043 'padding' => true,
5044 '__experimentalDefaultControls' => array(
5045 'margin' => false,
5046 'padding' => false
5047 )
5048 ),
5049 'typography' => array(
5050 'fontSize' => true,
5051 'lineHeight' => true,
5052 'textAlign' => true,
5053 'textColumns' => true,
5054 'textIndent' => true,
5055 '__experimentalFontFamily' => true,
5056 '__experimentalTextDecoration' => true,
5057 '__experimentalFontStyle' => true,
5058 '__experimentalFontWeight' => true,
5059 '__experimentalLetterSpacing' => true,
5060 '__experimentalTextTransform' => true,
5061 '__experimentalWritingMode' => true,
5062 'fitText' => true,
5063 '__experimentalDefaultControls' => array(
5064 'fontSize' => true
5065 )
5066 ),
5067 '__experimentalSelector' => 'p',
5068 '__unstablePasteTextInline' => true,
5069 'interactivity' => array(
5070 'clientNavigation' => true
5071 )
5072 ),
5073 'selectors' => array(
5074 'root' => 'p',
5075 'typography' => array(
5076 'textIndent' => '.wp-block-paragraph + .wp-block-paragraph'
5077 )
5078 ),
5079 'editorStyle' => 'wp-block-paragraph-editor',
5080 'style' => 'wp-block-paragraph'
5081 ),
5082 'pattern' => array(
5083 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5084 'apiVersion' => 3,
5085 'name' => 'core/pattern',
5086 'title' => 'Pattern Placeholder',
5087 'category' => 'theme',
5088 'description' => 'Show a block pattern.',
5089 'supports' => array(
5090 'html' => false,
5091 'inserter' => false,
5092 'renaming' => false,
5093 'visibility' => false,
5094 'interactivity' => array(
5095 'clientNavigation' => true
5096 )
5097 ),
5098 'textdomain' => 'default',
5099 'attributes' => array(
5100 'slug' => array(
5101 'type' => 'string'
5102 )
5103 )
5104 ),
5105 'playlist' => array(
5106 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5107 'apiVersion' => 3,
5108 '__experimental' => true,
5109 'name' => 'core/playlist',
5110 'title' => 'Playlist',
5111 'category' => 'media',
5112 'description' => 'Embed a simple playlist.',
5113 'keywords' => array(
5114 'music',
5115 'sound'
5116 ),
5117 'textdomain' => 'default',
5118 'allowedBlocks' => array(
5119 'core/playlist-track'
5120 ),
5121 'attributes' => array(
5122 'currentTrack' => array(
5123 'type' => 'string'
5124 ),
5125 'type' => array(
5126 'type' => 'string',
5127 'default' => 'audio'
5128 ),
5129 'order' => array(
5130 'type' => 'string',
5131 'default' => 'asc'
5132 ),
5133 'showTracklist' => array(
5134 'type' => 'boolean',
5135 'default' => true
5136 ),
5137 'showImages' => array(
5138 'type' => 'boolean',
5139 'default' => true
5140 ),
5141 'showArtists' => array(
5142 'type' => 'boolean',
5143 'default' => true
5144 ),
5145 'showNumbers' => array(
5146 'type' => 'boolean',
5147 'default' => true
5148 ),
5149 'showTrackLength' => array(
5150 'type' => 'boolean',
5151 'default' => true
5152 ),
5153 'caption' => array(
5154 'type' => 'string'
5155 )
5156 ),
5157 'providesContext' => array(
5158 'showArtists' => 'showArtists',
5159 'currentTrack' => 'currentTrack'
5160 ),
5161 'supports' => array(
5162 'anchor' => true,
5163 'align' => true,
5164 'color' => array(
5165 'gradients' => true,
5166 'link' => true,
5167 '__experimentalDefaultControls' => array(
5168 'background' => true,
5169 'text' => true
5170 )
5171 ),
5172 '__experimentalBorder' => array(
5173 'color' => true,
5174 'radius' => true,
5175 'style' => true,
5176 'width' => true,
5177 '__experimentalDefaultControls' => array(
5178 'color' => true,
5179 'radius' => true,
5180 'style' => true,
5181 'width' => true
5182 )
5183 ),
5184 'interactivity' => true,
5185 'spacing' => array(
5186 'margin' => true,
5187 'padding' => true
5188 )
5189 ),
5190 'styles' => array(
5191 array(
5192 'name' => 'bars',
5193 'label' => 'Bars',
5194 'isDefault' => true
5195 ),
5196 array(
5197 'name' => 'mirror',
5198 'label' => 'Mirror'
5199 ),
5200 array(
5201 'name' => 'line',
5202 'label' => 'Line'
5203 ),
5204 array(
5205 'name' => 'blocks',
5206 'label' => 'Blocks'
5207 ),
5208 array(
5209 'name' => 'dots',
5210 'label' => 'Dots'
5211 ),
5212 array(
5213 'name' => 'seekbar',
5214 'label' => 'Seekbar'
5215 )
5216 ),
5217 'editorStyle' => 'wp-block-playlist-editor',
5218 'style' => 'wp-block-playlist'
5219 ),
5220 'playlist-track' => array(
5221 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5222 'apiVersion' => 3,
5223 '__experimental' => true,
5224 'name' => 'core/playlist-track',
5225 'title' => 'Playlist track',
5226 'category' => 'media',
5227 'parent' => array(
5228 'core/playlist'
5229 ),
5230 'description' => 'Playlist track.',
5231 'keywords' => array(
5232 'music',
5233 'sound'
5234 ),
5235 'textdomain' => 'default',
5236 'usesContext' => array(
5237 'showArtists',
5238 'currentTrack'
5239 ),
5240 'attributes' => array(
5241 'blob' => array(
5242 'type' => 'string',
5243 'role' => 'local'
5244 ),
5245 'id' => array(
5246 'type' => 'number'
5247 ),
5248 'uniqueId' => array(
5249 'type' => 'string'
5250 ),
5251 'src' => array(
5252 'type' => 'string'
5253 ),
5254 'type' => array(
5255 'type' => 'string',
5256 'default' => 'audio'
5257 ),
5258 'album' => array(
5259 'type' => 'string'
5260 ),
5261 'artist' => array(
5262 'type' => 'string'
5263 ),
5264 'image' => array(
5265 'type' => 'string'
5266 ),
5267 'length' => array(
5268 'type' => 'string'
5269 ),
5270 'title' => array(
5271 'type' => 'string'
5272 )
5273 ),
5274 'supports' => array(
5275 'html' => false,
5276 'interactivity' => array(
5277 'clientNavigation' => true
5278 ),
5279 'reusable' => false
5280 ),
5281 'style' => 'wp-block-playlist-track'
5282 ),
5283 'post-author' => array(
5284 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5285 'apiVersion' => 3,
5286 'name' => 'core/post-author',
5287 'title' => 'Author (deprecated)',
5288 'category' => 'theme',
5289 'description' => 'This block is deprecated. Please use the Avatar block, the Author Name block, and the Author Biography block instead.',
5290 'textdomain' => 'default',
5291 'attributes' => array(
5292 'textAlign' => array(
5293 'type' => 'string'
5294 ),
5295 'avatarSize' => array(
5296 'type' => 'number',
5297 'default' => 48
5298 ),
5299 'showAvatar' => array(
5300 'type' => 'boolean',
5301 'default' => true
5302 ),
5303 'showBio' => array(
5304 'type' => 'boolean'
5305 ),
5306 'byline' => array(
5307 'type' => 'string'
5308 ),
5309 'isLink' => array(
5310 'type' => 'boolean',
5311 'default' => false,
5312 'role' => 'content'
5313 ),
5314 'linkTarget' => array(
5315 'type' => 'string',
5316 'default' => '_self',
5317 'role' => 'content'
5318 )
5319 ),
5320 'usesContext' => array(
5321 'postType',
5322 'postId',
5323 'queryId'
5324 ),
5325 'supports' => array(
5326 'inserter' => false,
5327 'anchor' => true,
5328 'html' => false,
5329 'spacing' => array(
5330 'margin' => true,
5331 'padding' => true
5332 ),
5333 'typography' => array(
5334 'fontSize' => true,
5335 'lineHeight' => true,
5336 '__experimentalFontFamily' => true,
5337 '__experimentalFontWeight' => true,
5338 '__experimentalFontStyle' => true,
5339 '__experimentalTextTransform' => true,
5340 '__experimentalTextDecoration' => true,
5341 '__experimentalLetterSpacing' => true,
5342 '__experimentalDefaultControls' => array(
5343 'fontSize' => true
5344 )
5345 ),
5346 'color' => array(
5347 'gradients' => true,
5348 'link' => true,
5349 '__experimentalDefaultControls' => array(
5350 'background' => true,
5351 'text' => true
5352 )
5353 ),
5354 'interactivity' => array(
5355 'clientNavigation' => true
5356 ),
5357 '__experimentalBorder' => array(
5358 'radius' => true,
5359 'color' => true,
5360 'width' => true,
5361 'style' => true,
5362 '__experimentalDefaultControls' => array(
5363 'radius' => true,
5364 'color' => true,
5365 'width' => true,
5366 'style' => true
5367 )
5368 ),
5369 'filter' => array(
5370 'duotone' => true
5371 )
5372 ),
5373 'selectors' => array(
5374 'filter' => array(
5375 'duotone' => '.wp-block-post-author .wp-block-post-author__avatar img'
5376 )
5377 ),
5378 'editorStyle' => 'wp-block-post-author-editor',
5379 'style' => 'wp-block-post-author'
5380 ),
5381 'post-author-biography' => array(
5382 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5383 'apiVersion' => 3,
5384 'name' => 'core/post-author-biography',
5385 'title' => 'Author Biography',
5386 'category' => 'theme',
5387 'description' => 'The author biography.',
5388 'textdomain' => 'default',
5389 'usesContext' => array(
5390 'postType',
5391 'postId'
5392 ),
5393 'example' => array(
5394 'viewportWidth' => 350
5395 ),
5396 'supports' => array(
5397 'anchor' => true,
5398 'spacing' => array(
5399 'margin' => true,
5400 'padding' => true
5401 ),
5402 'color' => array(
5403 'gradients' => true,
5404 'link' => true,
5405 '__experimentalDefaultControls' => array(
5406 'background' => true,
5407 'text' => true
5408 )
5409 ),
5410 'typography' => array(
5411 'fontSize' => true,
5412 'lineHeight' => true,
5413 'textAlign' => true,
5414 '__experimentalFontFamily' => true,
5415 '__experimentalFontWeight' => true,
5416 '__experimentalFontStyle' => true,
5417 '__experimentalTextTransform' => true,
5418 '__experimentalTextDecoration' => true,
5419 '__experimentalLetterSpacing' => true,
5420 '__experimentalDefaultControls' => array(
5421 'fontSize' => true
5422 )
5423 ),
5424 'interactivity' => array(
5425 'clientNavigation' => true
5426 ),
5427 '__experimentalBorder' => array(
5428 'radius' => true,
5429 'color' => true,
5430 'width' => true,
5431 'style' => true,
5432 '__experimentalDefaultControls' => array(
5433 'radius' => true,
5434 'color' => true,
5435 'width' => true,
5436 'style' => true
5437 )
5438 )
5439 ),
5440 'style' => 'wp-block-post-author-biography'
5441 ),
5442 'post-author-name' => array(
5443 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5444 'apiVersion' => 3,
5445 'name' => 'core/post-author-name',
5446 'title' => 'Author Name',
5447 'category' => 'theme',
5448 'description' => 'The author name.',
5449 'textdomain' => 'default',
5450 'attributes' => array(
5451 'isLink' => array(
5452 'type' => 'boolean',
5453 'default' => false,
5454 'role' => 'content'
5455 ),
5456 'linkTarget' => array(
5457 'type' => 'string',
5458 'default' => '_self',
5459 'role' => 'content'
5460 )
5461 ),
5462 'usesContext' => array(
5463 'postType',
5464 'postId'
5465 ),
5466 'example' => array(
5467 'viewportWidth' => 350
5468 ),
5469 'supports' => array(
5470 'anchor' => true,
5471 'html' => false,
5472 'spacing' => array(
5473 'margin' => true,
5474 'padding' => true
5475 ),
5476 'color' => array(
5477 'gradients' => true,
5478 'link' => true,
5479 '__experimentalDefaultControls' => array(
5480 'background' => true,
5481 'text' => true,
5482 'link' => true
5483 )
5484 ),
5485 'typography' => array(
5486 'fontSize' => true,
5487 'lineHeight' => true,
5488 'textAlign' => true,
5489 '__experimentalFontFamily' => true,
5490 '__experimentalFontWeight' => true,
5491 '__experimentalFontStyle' => true,
5492 '__experimentalTextTransform' => true,
5493 '__experimentalTextDecoration' => true,
5494 '__experimentalLetterSpacing' => true,
5495 '__experimentalDefaultControls' => array(
5496 'fontSize' => true
5497 )
5498 ),
5499 'interactivity' => array(
5500 'clientNavigation' => true
5501 ),
5502 '__experimentalBorder' => array(
5503 'radius' => true,
5504 'color' => true,
5505 'width' => true,
5506 'style' => true,
5507 '__experimentalDefaultControls' => array(
5508 'radius' => true,
5509 'color' => true,
5510 'width' => true,
5511 'style' => true
5512 )
5513 )
5514 ),
5515 'style' => 'wp-block-post-author-name'
5516 ),
5517 'post-comment' => array(
5518 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5519 'apiVersion' => 3,
5520 '__experimental' => 'fse',
5521 'name' => 'core/post-comment',
5522 'title' => 'Comment (deprecated)',
5523 'category' => 'theme',
5524 'allowedBlocks' => array(
5525 'core/avatar',
5526 'core/comment-author-name',
5527 'core/comment-content',
5528 'core/comment-date',
5529 'core/comment-edit-link',
5530 'core/comment-reply-link'
5531 ),
5532 'description' => 'This block is deprecated. Please use the Comments block instead.',
5533 'textdomain' => 'default',
5534 'attributes' => array(
5535 'commentId' => array(
5536 'type' => 'number'
5537 )
5538 ),
5539 'providesContext' => array(
5540 'commentId' => 'commentId'
5541 ),
5542 'supports' => array(
5543 'html' => false,
5544 'inserter' => false,
5545 'interactivity' => array(
5546 'clientNavigation' => true
5547 )
5548 )
5549 ),
5550 'post-comments-count' => array(
5551 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5552 'apiVersion' => 3,
5553 'name' => 'core/post-comments-count',
5554 'title' => 'Comments Count',
5555 'category' => 'theme',
5556 'description' => 'Display a post\'s comments count.',
5557 'textdomain' => 'default',
5558 'usesContext' => array(
5559 'postId'
5560 ),
5561 'example' => array(
5562 'viewportWidth' => 350
5563 ),
5564 'supports' => array(
5565 'anchor' => true,
5566 'html' => false,
5567 'color' => array(
5568 'gradients' => true,
5569 '__experimentalDefaultControls' => array(
5570 'background' => true,
5571 'text' => true
5572 )
5573 ),
5574 'spacing' => array(
5575 'margin' => true,
5576 'padding' => true
5577 ),
5578 'typography' => array(
5579 'fontSize' => true,
5580 'lineHeight' => true,
5581 'textAlign' => true,
5582 '__experimentalFontFamily' => true,
5583 '__experimentalFontWeight' => true,
5584 '__experimentalFontStyle' => true,
5585 '__experimentalTextTransform' => true,
5586 '__experimentalTextDecoration' => true,
5587 '__experimentalLetterSpacing' => true,
5588 '__experimentalDefaultControls' => array(
5589 'fontSize' => true
5590 )
5591 ),
5592 '__experimentalBorder' => array(
5593 'radius' => true,
5594 'color' => true,
5595 'width' => true,
5596 'style' => true
5597 ),
5598 'interactivity' => array(
5599 'clientNavigation' => true
5600 )
5601 ),
5602 'style' => 'wp-block-post-comments-count'
5603 ),
5604 'post-comments-form' => array(
5605 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5606 'apiVersion' => 3,
5607 'name' => 'core/post-comments-form',
5608 'title' => 'Comments Form',
5609 'category' => 'theme',
5610 'description' => 'Display a post\'s comments form.',
5611 'textdomain' => 'default',
5612 'usesContext' => array(
5613 'postId',
5614 'postType'
5615 ),
5616 'supports' => array(
5617 'anchor' => true,
5618 'html' => false,
5619 'color' => array(
5620 'gradients' => true,
5621 'heading' => true,
5622 'link' => true,
5623 '__experimentalDefaultControls' => array(
5624 'background' => true,
5625 'text' => true
5626 )
5627 ),
5628 'spacing' => array(
5629 'margin' => true,
5630 'padding' => true
5631 ),
5632 'typography' => array(
5633 'fontSize' => true,
5634 'lineHeight' => true,
5635 'textAlign' => true,
5636 '__experimentalFontStyle' => true,
5637 '__experimentalFontWeight' => true,
5638 '__experimentalLetterSpacing' => true,
5639 '__experimentalTextTransform' => true,
5640 '__experimentalDefaultControls' => array(
5641 'fontSize' => true
5642 )
5643 ),
5644 '__experimentalBorder' => array(
5645 'radius' => true,
5646 'color' => true,
5647 'width' => true,
5648 'style' => true,
5649 '__experimentalDefaultControls' => array(
5650 'radius' => true,
5651 'color' => true,
5652 'width' => true,
5653 'style' => true
5654 )
5655 )
5656 ),
5657 'editorStyle' => 'wp-block-post-comments-form-editor',
5658 'style' => array(
5659 'wp-block-post-comments-form',
5660 'wp-block-buttons',
5661 'wp-block-button'
5662 ),
5663 'example' => array(
5664 'attributes' => array(
5665 'style' => array(
5666 'typography' => array(
5667 'textAlign' => 'center'
5668 )
5669 )
5670 )
5671 )
5672 ),
5673 'post-comments-link' => array(
5674 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5675 'apiVersion' => 3,
5676 'name' => 'core/post-comments-link',
5677 'title' => 'Comments Link',
5678 'category' => 'theme',
5679 'description' => 'Displays the link to the current post comments.',
5680 'textdomain' => 'default',
5681 'usesContext' => array(
5682 'postType',
5683 'postId'
5684 ),
5685 'example' => array(
5686 'viewportWidth' => 350
5687 ),
5688 'supports' => array(
5689 'anchor' => true,
5690 'html' => false,
5691 'color' => array(
5692 'link' => true,
5693 'text' => false,
5694 '__experimentalDefaultControls' => array(
5695 'background' => true,
5696 'link' => true
5697 )
5698 ),
5699 'spacing' => array(
5700 'margin' => true,
5701 'padding' => true
5702 ),
5703 'typography' => array(
5704 'fontSize' => true,
5705 'lineHeight' => true,
5706 'textAlign' => true,
5707 '__experimentalFontFamily' => true,
5708 '__experimentalFontWeight' => true,
5709 '__experimentalFontStyle' => true,
5710 '__experimentalTextTransform' => true,
5711 '__experimentalTextDecoration' => true,
5712 '__experimentalLetterSpacing' => true,
5713 '__experimentalDefaultControls' => array(
5714 'fontSize' => true
5715 )
5716 ),
5717 'interactivity' => array(
5718 'clientNavigation' => true
5719 ),
5720 '__experimentalBorder' => array(
5721 'radius' => true,
5722 'color' => true,
5723 'width' => true,
5724 'style' => true,
5725 '__experimentalDefaultControls' => array(
5726 'radius' => true,
5727 'color' => true,
5728 'width' => true,
5729 'style' => true
5730 )
5731 )
5732 ),
5733 'style' => 'wp-block-post-comments-link'
5734 ),
5735 'post-content' => array(
5736 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5737 'apiVersion' => 3,
5738 'name' => 'core/post-content',
5739 'title' => 'Content',
5740 'category' => 'theme',
5741 'description' => 'Displays the contents of a post or page.',
5742 'textdomain' => 'default',
5743 'usesContext' => array(
5744 'postId',
5745 'postType',
5746 'queryId'
5747 ),
5748 'attributes' => array(
5749 'tagName' => array(
5750 'type' => 'string',
5751 'default' => 'div'
5752 )
5753 ),
5754 'example' => array(
5755 'viewportWidth' => 350
5756 ),
5757 'supports' => array(
5758 'anchor' => true,
5759 'align' => array(
5760 'wide',
5761 'full'
5762 ),
5763 'html' => false,
5764 'layout' => true,
5765 'background' => array(
5766 'backgroundImage' => true,
5767 'backgroundSize' => true,
5768 '__experimentalDefaultControls' => array(
5769 'backgroundImage' => true
5770 )
5771 ),
5772 'dimensions' => array(
5773 'minHeight' => true
5774 ),
5775 'spacing' => array(
5776 'blockGap' => true,
5777 'padding' => true,
5778 'margin' => true,
5779 '__experimentalDefaultControls' => array(
5780 'margin' => false,
5781 'padding' => false
5782 )
5783 ),
5784 'color' => array(
5785 'gradients' => true,
5786 'heading' => true,
5787 'link' => true,
5788 '__experimentalDefaultControls' => array(
5789 'background' => false,
5790 'text' => false
5791 )
5792 ),
5793 'typography' => array(
5794 'fontSize' => true,
5795 'lineHeight' => true,
5796 '__experimentalFontFamily' => true,
5797 '__experimentalFontWeight' => true,
5798 '__experimentalFontStyle' => true,
5799 '__experimentalTextTransform' => true,
5800 '__experimentalTextDecoration' => true,
5801 '__experimentalLetterSpacing' => true,
5802 '__experimentalDefaultControls' => array(
5803 'fontSize' => true
5804 )
5805 ),
5806 'interactivity' => array(
5807 'clientNavigation' => true
5808 ),
5809 '__experimentalBorder' => array(
5810 'radius' => true,
5811 'color' => true,
5812 'width' => true,
5813 'style' => true,
5814 '__experimentalDefaultControls' => array(
5815 'radius' => true,
5816 'color' => true,
5817 'width' => true,
5818 'style' => true
5819 )
5820 )
5821 ),
5822 'style' => 'wp-block-post-content',
5823 'editorStyle' => 'wp-block-post-content-editor'
5824 ),
5825 'post-date' => array(
5826 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5827 'apiVersion' => 3,
5828 'name' => 'core/post-date',
5829 'title' => 'Date',
5830 'category' => 'theme',
5831 'description' => 'Display a custom date.',
5832 'textdomain' => 'default',
5833 'attributes' => array(
5834 'datetime' => array(
5835 'type' => 'string',
5836 'role' => 'content'
5837 ),
5838 'format' => array(
5839 'type' => 'string'
5840 ),
5841 'isLink' => array(
5842 'type' => 'boolean',
5843 'default' => false,
5844 'role' => 'content'
5845 )
5846 ),
5847 'usesContext' => array(
5848 'postId',
5849 'postType',
5850 'queryId'
5851 ),
5852 'example' => array(
5853 'viewportWidth' => 350
5854 ),
5855 'supports' => array(
5856 'anchor' => true,
5857 'html' => false,
5858 'color' => array(
5859 'gradients' => true,
5860 'link' => true,
5861 '__experimentalDefaultControls' => array(
5862 'background' => true,
5863 'text' => true,
5864 'link' => true
5865 )
5866 ),
5867 'spacing' => array(
5868 'margin' => true,
5869 'padding' => true
5870 ),
5871 'typography' => array(
5872 'fontSize' => true,
5873 'lineHeight' => true,
5874 'textAlign' => true,
5875 '__experimentalFontFamily' => true,
5876 '__experimentalFontWeight' => true,
5877 '__experimentalFontStyle' => true,
5878 '__experimentalTextTransform' => true,
5879 '__experimentalTextDecoration' => true,
5880 '__experimentalLetterSpacing' => true,
5881 '__experimentalDefaultControls' => array(
5882 'fontSize' => true
5883 )
5884 ),
5885 'interactivity' => array(
5886 'clientNavigation' => true
5887 ),
5888 '__experimentalBorder' => array(
5889 'radius' => true,
5890 'color' => true,
5891 'width' => true,
5892 'style' => true,
5893 '__experimentalDefaultControls' => array(
5894 'radius' => true,
5895 'color' => true,
5896 'width' => true,
5897 'style' => true
5898 )
5899 )
5900 )
5901 ),
5902 'post-excerpt' => array(
5903 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5904 'apiVersion' => 3,
5905 'name' => 'core/post-excerpt',
5906 'title' => 'Excerpt',
5907 'category' => 'theme',
5908 'description' => 'Display the excerpt.',
5909 'textdomain' => 'default',
5910 'attributes' => array(
5911 'moreText' => array(
5912 'type' => 'string',
5913 'role' => 'content'
5914 ),
5915 'showMoreOnNewLine' => array(
5916 'type' => 'boolean',
5917 'default' => true
5918 ),
5919 'excerptLength' => array(
5920 'type' => 'number',
5921 'default' => 55
5922 )
5923 ),
5924 'usesContext' => array(
5925 'postId',
5926 'postType',
5927 'queryId'
5928 ),
5929 'example' => array(
5930 'viewportWidth' => 350
5931 ),
5932 'supports' => array(
5933 'anchor' => true,
5934 'html' => false,
5935 'color' => array(
5936 'gradients' => true,
5937 'link' => true,
5938 '__experimentalDefaultControls' => array(
5939 'background' => true,
5940 'text' => true,
5941 'link' => true
5942 )
5943 ),
5944 'spacing' => array(
5945 'margin' => true,
5946 'padding' => true
5947 ),
5948 'typography' => array(
5949 'fontSize' => true,
5950 'lineHeight' => true,
5951 'textAlign' => true,
5952 'textColumns' => true,
5953 '__experimentalFontFamily' => true,
5954 '__experimentalFontWeight' => true,
5955 '__experimentalFontStyle' => true,
5956 '__experimentalTextTransform' => true,
5957 '__experimentalTextDecoration' => true,
5958 '__experimentalLetterSpacing' => true,
5959 '__experimentalDefaultControls' => array(
5960 'fontSize' => true
5961 )
5962 ),
5963 'interactivity' => array(
5964 'clientNavigation' => true
5965 ),
5966 '__experimentalBorder' => array(
5967 'radius' => true,
5968 'color' => true,
5969 'width' => true,
5970 'style' => true,
5971 '__experimentalDefaultControls' => array(
5972 'radius' => true,
5973 'color' => true,
5974 'width' => true,
5975 'style' => true
5976 )
5977 )
5978 ),
5979 'editorStyle' => 'wp-block-post-excerpt-editor',
5980 'style' => 'wp-block-post-excerpt'
5981 ),
5982 'post-featured-image' => array(
5983 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5984 'apiVersion' => 3,
5985 'name' => 'core/post-featured-image',
5986 'title' => 'Featured Image',
5987 'category' => 'theme',
5988 'description' => 'Display a post\'s featured image.',
5989 'textdomain' => 'default',
5990 'attributes' => array(
5991 'isLink' => array(
5992 'type' => 'boolean',
5993 'default' => false,
5994 'role' => 'content'
5995 ),
5996 'aspectRatio' => array(
5997 'type' => 'string'
5998 ),
5999 'width' => array(
6000 'type' => 'string'
6001 ),
6002 'height' => array(
6003 'type' => 'string'
6004 ),
6005 'scale' => array(
6006 'type' => 'string',
6007 'default' => 'cover'
6008 ),
6009 'sizeSlug' => array(
6010 'type' => 'string'
6011 ),
6012 'rel' => array(
6013 'type' => 'string',
6014 'attribute' => 'rel',
6015 'default' => '',
6016 'role' => 'content'
6017 ),
6018 'linkTarget' => array(
6019 'type' => 'string',
6020 'default' => '_self',
6021 'role' => 'content'
6022 ),
6023 'overlayColor' => array(
6024 'type' => 'string'
6025 ),
6026 'customOverlayColor' => array(
6027 'type' => 'string'
6028 ),
6029 'dimRatio' => array(
6030 'type' => 'number',
6031 'default' => 0
6032 ),
6033 'gradient' => array(
6034 'type' => 'string'
6035 ),
6036 'customGradient' => array(
6037 'type' => 'string'
6038 ),
6039 'useFirstImageFromPost' => array(
6040 'type' => 'boolean',
6041 'default' => false
6042 )
6043 ),
6044 'usesContext' => array(
6045 'postId',
6046 'postType',
6047 'queryId'
6048 ),
6049 'example' => array(
6050 'viewportWidth' => 350
6051 ),
6052 'supports' => array(
6053 'anchor' => true,
6054 'align' => array(
6055 'left',
6056 'right',
6057 'center',
6058 'wide',
6059 'full'
6060 ),
6061 'color' => array(
6062 'text' => false,
6063 'background' => false
6064 ),
6065 '__experimentalBorder' => array(
6066 'color' => true,
6067 'radius' => true,
6068 'width' => true,
6069 '__experimentalSkipSerialization' => true,
6070 '__experimentalDefaultControls' => array(
6071 'color' => true,
6072 'radius' => true,
6073 'width' => true
6074 )
6075 ),
6076 'filter' => array(
6077 'duotone' => true
6078 ),
6079 'shadow' => array(
6080 '__experimentalSkipSerialization' => true
6081 ),
6082 'html' => false,
6083 'spacing' => array(
6084 'margin' => true,
6085 'padding' => true
6086 ),
6087 'interactivity' => array(
6088 'clientNavigation' => true
6089 )
6090 ),
6091 'selectors' => array(
6092 'dimensions' => '.wp-block-post-featured-image img',
6093 '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',
6094 'shadow' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .components-placeholder',
6095 'filter' => array(
6096 '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'
6097 )
6098 ),
6099 'editorStyle' => 'wp-block-post-featured-image-editor',
6100 'style' => 'wp-block-post-featured-image'
6101 ),
6102 'post-navigation-link' => array(
6103 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6104 'apiVersion' => 3,
6105 'name' => 'core/post-navigation-link',
6106 'title' => 'Post Navigation Link',
6107 'category' => 'theme',
6108 'description' => 'Displays the next or previous post link that is adjacent to the current post.',
6109 'textdomain' => 'default',
6110 'attributes' => array(
6111 'type' => array(
6112 'type' => 'string',
6113 'default' => 'next'
6114 ),
6115 'label' => array(
6116 'type' => 'string',
6117 'role' => 'content'
6118 ),
6119 'showTitle' => array(
6120 'type' => 'boolean',
6121 'default' => false
6122 ),
6123 'linkLabel' => array(
6124 'type' => 'boolean',
6125 'default' => false
6126 ),
6127 'arrow' => array(
6128 'type' => 'string',
6129 'default' => 'none'
6130 ),
6131 'taxonomy' => array(
6132 'type' => 'string',
6133 'default' => ''
6134 )
6135 ),
6136 'usesContext' => array(
6137 'postType'
6138 ),
6139 'supports' => array(
6140 'anchor' => true,
6141 'reusable' => false,
6142 'html' => false,
6143 'color' => array(
6144 'link' => true
6145 ),
6146 'typography' => array(
6147 'fontSize' => true,
6148 'lineHeight' => true,
6149 'textAlign' => true,
6150 '__experimentalFontFamily' => true,
6151 '__experimentalFontWeight' => true,
6152 '__experimentalFontStyle' => true,
6153 '__experimentalTextTransform' => true,
6154 '__experimentalTextDecoration' => true,
6155 '__experimentalLetterSpacing' => true,
6156 '__experimentalWritingMode' => true,
6157 '__experimentalDefaultControls' => array(
6158 'fontSize' => true
6159 )
6160 ),
6161 'interactivity' => array(
6162 'clientNavigation' => true
6163 )
6164 ),
6165 'style' => 'wp-block-post-navigation-link'
6166 ),
6167 'post-template' => array(
6168 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6169 'apiVersion' => 3,
6170 'name' => 'core/post-template',
6171 'title' => 'Post Template',
6172 'category' => 'theme',
6173 'ancestor' => array(
6174 'core/query'
6175 ),
6176 'description' => 'Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.',
6177 'textdomain' => 'default',
6178 'usesContext' => array(
6179 'queryId',
6180 'query',
6181 'displayLayout',
6182 'templateSlug',
6183 'previewPostType',
6184 'enhancedPagination',
6185 'postType'
6186 ),
6187 'supports' => array(
6188 'anchor' => true,
6189 'reusable' => false,
6190 'html' => false,
6191 'align' => array(
6192 'wide',
6193 'full'
6194 ),
6195 'layout' => true,
6196 'color' => array(
6197 'gradients' => true,
6198 'link' => true,
6199 '__experimentalDefaultControls' => array(
6200 'background' => true,
6201 'text' => true
6202 )
6203 ),
6204 'typography' => array(
6205 'fontSize' => true,
6206 'lineHeight' => true,
6207 '__experimentalFontFamily' => true,
6208 '__experimentalFontWeight' => true,
6209 '__experimentalFontStyle' => true,
6210 '__experimentalTextTransform' => true,
6211 '__experimentalTextDecoration' => true,
6212 '__experimentalLetterSpacing' => true,
6213 '__experimentalDefaultControls' => array(
6214 'fontSize' => true
6215 )
6216 ),
6217 'spacing' => array(
6218 'margin' => true,
6219 'padding' => true,
6220 'blockGap' => array(
6221 '__experimentalDefault' => '1.25em'
6222 ),
6223 '__experimentalDefaultControls' => array(
6224 'blockGap' => true,
6225 'padding' => false,
6226 'margin' => false
6227 )
6228 ),
6229 'interactivity' => array(
6230 'clientNavigation' => true
6231 ),
6232 '__experimentalBorder' => array(
6233 'radius' => true,
6234 'color' => true,
6235 'width' => true,
6236 'style' => true
6237 )
6238 ),
6239 'style' => 'wp-block-post-template',
6240 'editorStyle' => 'wp-block-post-template-editor'
6241 ),
6242 'post-terms' => array(
6243 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6244 'apiVersion' => 3,
6245 'name' => 'core/post-terms',
6246 'title' => 'Post Terms',
6247 'category' => 'theme',
6248 'description' => 'Post terms.',
6249 'textdomain' => 'default',
6250 'attributes' => array(
6251 'term' => array(
6252 'type' => 'string'
6253 ),
6254 'separator' => array(
6255 'type' => 'string',
6256 'default' => ', '
6257 ),
6258 'prefix' => array(
6259 'type' => 'string',
6260 'default' => '',
6261 'role' => 'content'
6262 ),
6263 'suffix' => array(
6264 'type' => 'string',
6265 'default' => '',
6266 'role' => 'content'
6267 )
6268 ),
6269 'usesContext' => array(
6270 'postId',
6271 'postType'
6272 ),
6273 'example' => array(
6274 'viewportWidth' => 350
6275 ),
6276 'supports' => array(
6277 'anchor' => true,
6278 'html' => false,
6279 'color' => array(
6280 'gradients' => true,
6281 'link' => true,
6282 '__experimentalDefaultControls' => array(
6283 'background' => true,
6284 'text' => true,
6285 'link' => true
6286 )
6287 ),
6288 'spacing' => array(
6289 'margin' => true,
6290 'padding' => true
6291 ),
6292 'typography' => array(
6293 'fontSize' => true,
6294 'lineHeight' => true,
6295 'textAlign' => true,
6296 '__experimentalFontFamily' => true,
6297 '__experimentalFontWeight' => true,
6298 '__experimentalFontStyle' => true,
6299 '__experimentalTextTransform' => true,
6300 '__experimentalTextDecoration' => true,
6301 '__experimentalLetterSpacing' => true,
6302 '__experimentalDefaultControls' => array(
6303 'fontSize' => true
6304 )
6305 ),
6306 'interactivity' => array(
6307 'clientNavigation' => true
6308 ),
6309 '__experimentalBorder' => array(
6310 'radius' => true,
6311 'color' => true,
6312 'width' => true,
6313 'style' => true,
6314 '__experimentalDefaultControls' => array(
6315 'radius' => true,
6316 'color' => true,
6317 'width' => true,
6318 'style' => true
6319 )
6320 )
6321 ),
6322 'style' => 'wp-block-post-terms'
6323 ),
6324 'post-time-to-read' => array(
6325 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6326 'apiVersion' => 3,
6327 'name' => 'core/post-time-to-read',
6328 'title' => 'Time to Read',
6329 'category' => 'theme',
6330 'description' => 'Show minutes required to finish reading the post. Can also show a word count.',
6331 'textdomain' => 'default',
6332 'usesContext' => array(
6333 'postId',
6334 'postType'
6335 ),
6336 'attributes' => array(
6337 'displayAsRange' => array(
6338 'type' => 'boolean',
6339 'default' => true
6340 ),
6341 'displayMode' => array(
6342 'type' => 'string',
6343 'default' => 'time'
6344 ),
6345 'averageReadingSpeed' => array(
6346 'type' => 'number',
6347 'default' => 189
6348 )
6349 ),
6350 'supports' => array(
6351 'anchor' => true,
6352 'color' => array(
6353 'gradients' => true,
6354 '__experimentalDefaultControls' => array(
6355 'background' => true,
6356 'text' => true
6357 )
6358 ),
6359 'html' => false,
6360 'spacing' => array(
6361 'margin' => true,
6362 'padding' => true,
6363 '__experimentalDefaultControls' => array(
6364 'margin' => false,
6365 'padding' => false
6366 )
6367 ),
6368 'typography' => array(
6369 'fontSize' => true,
6370 'lineHeight' => true,
6371 'textAlign' => true,
6372 '__experimentalFontFamily' => true,
6373 '__experimentalFontWeight' => true,
6374 '__experimentalFontStyle' => true,
6375 '__experimentalTextTransform' => true,
6376 '__experimentalTextDecoration' => true,
6377 '__experimentalLetterSpacing' => true,
6378 '__experimentalDefaultControls' => array(
6379 'fontSize' => true
6380 )
6381 ),
6382 'interactivity' => array(
6383 'clientNavigation' => true
6384 ),
6385 '__experimentalBorder' => array(
6386 'radius' => true,
6387 'color' => true,
6388 'width' => true,
6389 'style' => true
6390 )
6391 )
6392 ),
6393 'post-title' => array(
6394 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6395 'apiVersion' => 3,
6396 'name' => 'core/post-title',
6397 'title' => 'Title',
6398 'category' => 'theme',
6399 'description' => 'Displays the title of a post, page, or any other content-type.',
6400 'textdomain' => 'default',
6401 'usesContext' => array(
6402 'postId',
6403 'postType',
6404 'queryId'
6405 ),
6406 'attributes' => array(
6407 'level' => array(
6408 'type' => 'number',
6409 'default' => 2
6410 ),
6411 'levelOptions' => array(
6412 'type' => 'array'
6413 ),
6414 'isLink' => array(
6415 'type' => 'boolean',
6416 'default' => false,
6417 'role' => 'content'
6418 ),
6419 'rel' => array(
6420 'type' => 'string',
6421 'attribute' => 'rel',
6422 'default' => '',
6423 'role' => 'content'
6424 ),
6425 'linkTarget' => array(
6426 'type' => 'string',
6427 'default' => '_self',
6428 'role' => 'content'
6429 ),
6430 'placeholder' => array(
6431 'type' => 'string'
6432 )
6433 ),
6434 'example' => array(
6435 'viewportWidth' => 350
6436 ),
6437 'supports' => array(
6438 'anchor' => true,
6439 'align' => array(
6440 'wide',
6441 'full'
6442 ),
6443 'html' => false,
6444 'color' => array(
6445 'gradients' => true,
6446 'link' => true,
6447 '__experimentalDefaultControls' => array(
6448 'background' => true,
6449 'text' => true,
6450 'link' => true
6451 )
6452 ),
6453 'spacing' => array(
6454 'margin' => true,
6455 'padding' => true
6456 ),
6457 'typography' => array(
6458 'fontSize' => true,
6459 'lineHeight' => true,
6460 'textAlign' => true,
6461 '__experimentalFontFamily' => true,
6462 '__experimentalFontWeight' => true,
6463 '__experimentalFontStyle' => true,
6464 '__experimentalTextTransform' => true,
6465 '__experimentalTextDecoration' => true,
6466 '__experimentalLetterSpacing' => true,
6467 '__experimentalDefaultControls' => array(
6468 'fontSize' => true
6469 )
6470 ),
6471 'interactivity' => array(
6472 'clientNavigation' => true
6473 ),
6474 '__experimentalBorder' => array(
6475 'radius' => true,
6476 'color' => true,
6477 'width' => true,
6478 'style' => true,
6479 '__experimentalDefaultControls' => array(
6480 'radius' => true,
6481 'color' => true,
6482 'width' => true,
6483 'style' => true
6484 )
6485 )
6486 ),
6487 'style' => 'wp-block-post-title'
6488 ),
6489 'preformatted' => array(
6490 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6491 'apiVersion' => 3,
6492 'name' => 'core/preformatted',
6493 'title' => 'Preformatted',
6494 'category' => 'text',
6495 'description' => 'Add text that respects your spacing and tabs, and also allows styling.',
6496 'textdomain' => 'default',
6497 'attributes' => array(
6498 'content' => array(
6499 'type' => 'rich-text',
6500 'source' => 'rich-text',
6501 'selector' => 'pre',
6502 '__unstablePreserveWhiteSpace' => true,
6503 'role' => 'content'
6504 )
6505 ),
6506 'supports' => array(
6507 'anchor' => true,
6508 'color' => array(
6509 'gradients' => true,
6510 '__experimentalDefaultControls' => array(
6511 'background' => true,
6512 'text' => true
6513 )
6514 ),
6515 'spacing' => array(
6516 'padding' => true,
6517 'margin' => true
6518 ),
6519 'typography' => array(
6520 'fontSize' => true,
6521 'lineHeight' => true,
6522 '__experimentalFontFamily' => true,
6523 '__experimentalFontWeight' => true,
6524 '__experimentalFontStyle' => true,
6525 '__experimentalTextTransform' => true,
6526 '__experimentalTextDecoration' => true,
6527 '__experimentalLetterSpacing' => true,
6528 '__experimentalDefaultControls' => array(
6529 'fontSize' => true
6530 )
6531 ),
6532 'interactivity' => array(
6533 'clientNavigation' => true
6534 ),
6535 '__experimentalBorder' => array(
6536 'radius' => true,
6537 'color' => true,
6538 'width' => true,
6539 'style' => true,
6540 '__experimentalDefaultControls' => array(
6541 'radius' => true,
6542 'color' => true,
6543 'width' => true,
6544 'style' => true
6545 )
6546 )
6547 ),
6548 'style' => 'wp-block-preformatted'
6549 ),
6550 'pullquote' => array(
6551 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6552 'apiVersion' => 3,
6553 'name' => 'core/pullquote',
6554 'title' => 'Pullquote',
6555 'category' => 'text',
6556 'description' => 'Give special visual emphasis to a quote from your text.',
6557 'textdomain' => 'default',
6558 'attributes' => array(
6559 'value' => array(
6560 'type' => 'rich-text',
6561 'source' => 'rich-text',
6562 'selector' => 'p',
6563 'role' => 'content'
6564 ),
6565 'citation' => array(
6566 'type' => 'rich-text',
6567 'source' => 'rich-text',
6568 'selector' => 'cite',
6569 'role' => 'content'
6570 )
6571 ),
6572 'supports' => array(
6573 'anchor' => true,
6574 'align' => array(
6575 'left',
6576 'right',
6577 'wide',
6578 'full'
6579 ),
6580 'background' => array(
6581 'backgroundImage' => true,
6582 'backgroundSize' => true,
6583 '__experimentalDefaultControls' => array(
6584 'backgroundImage' => true
6585 )
6586 ),
6587 'color' => array(
6588 'gradients' => true,
6589 'background' => true,
6590 'link' => true,
6591 '__experimentalDefaultControls' => array(
6592 'background' => true,
6593 'text' => true
6594 )
6595 ),
6596 'dimensions' => array(
6597 'minHeight' => true
6598 ),
6599 'spacing' => array(
6600 'margin' => true,
6601 'padding' => true
6602 ),
6603 'typography' => array(
6604 'fontSize' => true,
6605 'lineHeight' => true,
6606 'textAlign' => true,
6607 '__experimentalFontFamily' => true,
6608 '__experimentalFontWeight' => true,
6609 '__experimentalFontStyle' => true,
6610 '__experimentalTextTransform' => true,
6611 '__experimentalTextDecoration' => true,
6612 '__experimentalLetterSpacing' => true,
6613 '__experimentalDefaultControls' => array(
6614 'fontSize' => true
6615 )
6616 ),
6617 '__experimentalBorder' => array(
6618 'color' => true,
6619 'radius' => true,
6620 'style' => true,
6621 'width' => true,
6622 '__experimentalDefaultControls' => array(
6623 'color' => true,
6624 'radius' => true,
6625 'style' => true,
6626 'width' => true
6627 )
6628 ),
6629 '__experimentalStyle' => array(
6630 'typography' => array(
6631 'fontSize' => '1.5em',
6632 'lineHeight' => '1.6'
6633 )
6634 ),
6635 'interactivity' => array(
6636 'clientNavigation' => true
6637 )
6638 ),
6639 'editorStyle' => 'wp-block-pullquote-editor',
6640 'style' => 'wp-block-pullquote'
6641 ),
6642 'query' => array(
6643 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6644 'apiVersion' => 3,
6645 'name' => 'core/query',
6646 'title' => 'Query Loop',
6647 'category' => 'theme',
6648 'description' => 'An advanced block that allows displaying post types based on different query parameters and visual configurations.',
6649 'keywords' => array(
6650 'posts',
6651 'list',
6652 'blog',
6653 'blogs',
6654 'custom post types'
6655 ),
6656 'textdomain' => 'default',
6657 'attributes' => array(
6658 'queryId' => array(
6659 'type' => 'number'
6660 ),
6661 'query' => array(
6662 'type' => 'object',
6663 'default' => array(
6664 'perPage' => null,
6665 'pages' => 0,
6666 'offset' => 0,
6667 'postType' => 'post',
6668 'order' => 'desc',
6669 'orderBy' => 'date',
6670 'author' => '',
6671 'search' => '',
6672 'exclude' => array(
6673
6674 ),
6675 'sticky' => '',
6676 'inherit' => true,
6677 'taxQuery' => null,
6678 'parents' => array(
6679
6680 ),
6681 'format' => array(
6682
6683 )
6684 )
6685 ),
6686 'tagName' => array(
6687 'type' => 'string',
6688 'default' => 'div'
6689 ),
6690 'namespace' => array(
6691 'type' => 'string'
6692 ),
6693 'enhancedPagination' => array(
6694 'type' => 'boolean',
6695 'default' => false
6696 )
6697 ),
6698 'usesContext' => array(
6699 'templateSlug'
6700 ),
6701 'providesContext' => array(
6702 'queryId' => 'queryId',
6703 'query' => 'query',
6704 'displayLayout' => 'displayLayout',
6705 'enhancedPagination' => 'enhancedPagination'
6706 ),
6707 'supports' => array(
6708 'anchor' => true,
6709 'align' => array(
6710 'wide',
6711 'full'
6712 ),
6713 'html' => false,
6714 'layout' => true,
6715 'interactivity' => true
6716 ),
6717 'editorStyle' => 'wp-block-query-editor'
6718 ),
6719 'query-no-results' => array(
6720 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6721 'apiVersion' => 3,
6722 'name' => 'core/query-no-results',
6723 'title' => 'No Results',
6724 'category' => 'theme',
6725 'description' => 'Contains the block elements used to render content when no query results are found.',
6726 'ancestor' => array(
6727 'core/query'
6728 ),
6729 'textdomain' => 'default',
6730 'usesContext' => array(
6731 'queryId',
6732 'query'
6733 ),
6734 'supports' => array(
6735 'anchor' => true,
6736 'align' => true,
6737 'reusable' => false,
6738 'html' => false,
6739 'color' => array(
6740 'gradients' => true,
6741 'link' => true
6742 ),
6743 'typography' => array(
6744 'fontSize' => true,
6745 'lineHeight' => true,
6746 '__experimentalFontFamily' => true,
6747 '__experimentalFontWeight' => true,
6748 '__experimentalFontStyle' => true,
6749 '__experimentalTextTransform' => true,
6750 '__experimentalTextDecoration' => true,
6751 '__experimentalLetterSpacing' => true,
6752 '__experimentalDefaultControls' => array(
6753 'fontSize' => true
6754 )
6755 ),
6756 'interactivity' => array(
6757 'clientNavigation' => true
6758 )
6759 )
6760 ),
6761 'query-pagination' => array(
6762 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6763 'apiVersion' => 3,
6764 'name' => 'core/query-pagination',
6765 'title' => 'Pagination',
6766 'category' => 'theme',
6767 'ancestor' => array(
6768 'core/query'
6769 ),
6770 'allowedBlocks' => array(
6771 'core/query-pagination-previous',
6772 'core/query-pagination-numbers',
6773 'core/query-pagination-next'
6774 ),
6775 'description' => 'Displays a paginated navigation to next/previous set of posts, when applicable.',
6776 'textdomain' => 'default',
6777 'attributes' => array(
6778 'paginationArrow' => array(
6779 'type' => 'string',
6780 'default' => 'none'
6781 ),
6782 'showLabel' => array(
6783 'type' => 'boolean',
6784 'default' => true
6785 )
6786 ),
6787 'usesContext' => array(
6788 'queryId',
6789 'query'
6790 ),
6791 'providesContext' => array(
6792 'paginationArrow' => 'paginationArrow',
6793 'showLabel' => 'showLabel'
6794 ),
6795 'supports' => array(
6796 'anchor' => true,
6797 'align' => true,
6798 'reusable' => false,
6799 'html' => false,
6800 'color' => array(
6801 'gradients' => true,
6802 'link' => true,
6803 '__experimentalDefaultControls' => array(
6804 'background' => true,
6805 'text' => true,
6806 'link' => true
6807 )
6808 ),
6809 'layout' => array(
6810 'allowSwitching' => false,
6811 'allowInheriting' => false,
6812 'default' => array(
6813 'type' => 'flex'
6814 )
6815 ),
6816 'typography' => array(
6817 'fontSize' => true,
6818 'lineHeight' => true,
6819 '__experimentalFontFamily' => true,
6820 '__experimentalFontWeight' => true,
6821 '__experimentalFontStyle' => true,
6822 '__experimentalTextTransform' => true,
6823 '__experimentalTextDecoration' => true,
6824 '__experimentalLetterSpacing' => true,
6825 '__experimentalDefaultControls' => array(
6826 'fontSize' => true
6827 )
6828 ),
6829 'interactivity' => array(
6830 'clientNavigation' => true
6831 )
6832 ),
6833 'editorStyle' => 'wp-block-query-pagination-editor',
6834 'style' => 'wp-block-query-pagination'
6835 ),
6836 'query-pagination-next' => array(
6837 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6838 'apiVersion' => 3,
6839 'name' => 'core/query-pagination-next',
6840 'title' => 'Next Page',
6841 'category' => 'theme',
6842 'parent' => array(
6843 'core/query-pagination'
6844 ),
6845 'description' => 'Displays the next posts page link.',
6846 'textdomain' => 'default',
6847 'attributes' => array(
6848 'label' => array(
6849 'type' => 'string'
6850 )
6851 ),
6852 'usesContext' => array(
6853 'queryId',
6854 'query',
6855 'paginationArrow',
6856 'showLabel',
6857 'enhancedPagination'
6858 ),
6859 'supports' => array(
6860 'anchor' => true,
6861 'reusable' => false,
6862 'html' => false,
6863 'color' => array(
6864 'gradients' => true,
6865 'text' => false,
6866 '__experimentalDefaultControls' => array(
6867 'background' => true
6868 )
6869 ),
6870 'typography' => array(
6871 'fontSize' => true,
6872 'lineHeight' => true,
6873 '__experimentalFontFamily' => true,
6874 '__experimentalFontWeight' => true,
6875 '__experimentalFontStyle' => true,
6876 '__experimentalTextTransform' => true,
6877 '__experimentalTextDecoration' => true,
6878 '__experimentalLetterSpacing' => true,
6879 '__experimentalDefaultControls' => array(
6880 'fontSize' => true
6881 )
6882 ),
6883 'interactivity' => array(
6884 'clientNavigation' => true
6885 )
6886 )
6887 ),
6888 'query-pagination-numbers' => array(
6889 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6890 'apiVersion' => 3,
6891 'name' => 'core/query-pagination-numbers',
6892 'title' => 'Page Numbers',
6893 'category' => 'theme',
6894 'parent' => array(
6895 'core/query-pagination'
6896 ),
6897 'description' => 'Displays a list of page numbers for pagination.',
6898 'textdomain' => 'default',
6899 'attributes' => array(
6900 'midSize' => array(
6901 'type' => 'number',
6902 'default' => 2
6903 )
6904 ),
6905 'usesContext' => array(
6906 'queryId',
6907 'query',
6908 'enhancedPagination'
6909 ),
6910 'supports' => array(
6911 'anchor' => true,
6912 'reusable' => false,
6913 'html' => false,
6914 'color' => array(
6915 'gradients' => true,
6916 'text' => false,
6917 '__experimentalDefaultControls' => array(
6918 'background' => true
6919 )
6920 ),
6921 'typography' => array(
6922 'fontSize' => true,
6923 'lineHeight' => true,
6924 '__experimentalFontFamily' => true,
6925 '__experimentalFontWeight' => true,
6926 '__experimentalFontStyle' => true,
6927 '__experimentalTextTransform' => true,
6928 '__experimentalTextDecoration' => true,
6929 '__experimentalLetterSpacing' => true,
6930 '__experimentalDefaultControls' => array(
6931 'fontSize' => true
6932 )
6933 ),
6934 'interactivity' => array(
6935 'clientNavigation' => true
6936 )
6937 ),
6938 'editorStyle' => 'wp-block-query-pagination-numbers-editor'
6939 ),
6940 'query-pagination-previous' => array(
6941 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6942 'apiVersion' => 3,
6943 'name' => 'core/query-pagination-previous',
6944 'title' => 'Previous Page',
6945 'category' => 'theme',
6946 'parent' => array(
6947 'core/query-pagination'
6948 ),
6949 'description' => 'Displays the previous posts page link.',
6950 'textdomain' => 'default',
6951 'attributes' => array(
6952 'label' => array(
6953 'type' => 'string'
6954 )
6955 ),
6956 'usesContext' => array(
6957 'queryId',
6958 'query',
6959 'paginationArrow',
6960 'showLabel',
6961 'enhancedPagination'
6962 ),
6963 'supports' => array(
6964 'anchor' => true,
6965 'reusable' => false,
6966 'html' => false,
6967 'color' => array(
6968 'gradients' => true,
6969 'text' => false,
6970 '__experimentalDefaultControls' => array(
6971 'background' => true
6972 )
6973 ),
6974 'typography' => array(
6975 'fontSize' => true,
6976 'lineHeight' => true,
6977 '__experimentalFontFamily' => true,
6978 '__experimentalFontWeight' => true,
6979 '__experimentalFontStyle' => true,
6980 '__experimentalTextTransform' => true,
6981 '__experimentalTextDecoration' => true,
6982 '__experimentalLetterSpacing' => true,
6983 '__experimentalDefaultControls' => array(
6984 'fontSize' => true
6985 )
6986 ),
6987 'interactivity' => array(
6988 'clientNavigation' => true
6989 )
6990 )
6991 ),
6992 'query-title' => array(
6993 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6994 'apiVersion' => 3,
6995 'name' => 'core/query-title',
6996 'title' => 'Query Title',
6997 'category' => 'theme',
6998 'description' => 'Display the query title.',
6999 'textdomain' => 'default',
7000 'attributes' => array(
7001 'type' => array(
7002 'type' => 'string'
7003 ),
7004 'level' => array(
7005 'type' => 'number',
7006 'default' => 1
7007 ),
7008 'levelOptions' => array(
7009 'type' => 'array'
7010 ),
7011 'showPrefix' => array(
7012 'type' => 'boolean',
7013 'default' => true
7014 ),
7015 'showSearchTerm' => array(
7016 'type' => 'boolean',
7017 'default' => true
7018 )
7019 ),
7020 'example' => array(
7021 'attributes' => array(
7022 'type' => 'search'
7023 )
7024 ),
7025 'usesContext' => array(
7026 'query'
7027 ),
7028 'supports' => array(
7029 'anchor' => true,
7030 'align' => array(
7031 'wide',
7032 'full'
7033 ),
7034 'html' => false,
7035 'color' => array(
7036 'gradients' => true,
7037 '__experimentalDefaultControls' => array(
7038 'background' => true,
7039 'text' => true
7040 )
7041 ),
7042 'spacing' => array(
7043 'margin' => true,
7044 'padding' => true
7045 ),
7046 'typography' => array(
7047 'fontSize' => true,
7048 'lineHeight' => true,
7049 'textAlign' => true,
7050 '__experimentalFontFamily' => true,
7051 '__experimentalFontStyle' => true,
7052 '__experimentalFontWeight' => true,
7053 '__experimentalLetterSpacing' => true,
7054 '__experimentalTextTransform' => true,
7055 '__experimentalTextDecoration' => true,
7056 '__experimentalDefaultControls' => array(
7057 'fontSize' => true
7058 )
7059 ),
7060 'interactivity' => array(
7061 'clientNavigation' => true
7062 ),
7063 '__experimentalBorder' => array(
7064 'radius' => true,
7065 'color' => true,
7066 'width' => true,
7067 'style' => true,
7068 '__experimentalDefaultControls' => array(
7069 'radius' => true,
7070 'color' => true,
7071 'width' => true,
7072 'style' => true
7073 )
7074 )
7075 ),
7076 'style' => 'wp-block-query-title'
7077 ),
7078 'query-total' => array(
7079 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7080 'apiVersion' => 3,
7081 'name' => 'core/query-total',
7082 'title' => 'Query Total',
7083 'category' => 'theme',
7084 'ancestor' => array(
7085 'core/query'
7086 ),
7087 'description' => 'Display the total number of results in a query.',
7088 'textdomain' => 'default',
7089 'attributes' => array(
7090 'displayType' => array(
7091 'type' => 'string',
7092 'default' => 'total-results'
7093 )
7094 ),
7095 'usesContext' => array(
7096 'queryId',
7097 'query'
7098 ),
7099 'supports' => array(
7100 'anchor' => true,
7101 'align' => array(
7102 'wide',
7103 'full'
7104 ),
7105 'html' => false,
7106 'spacing' => array(
7107 'margin' => true,
7108 'padding' => true
7109 ),
7110 'color' => array(
7111 'gradients' => true,
7112 '__experimentalDefaultControls' => array(
7113 'background' => true,
7114 'text' => true
7115 )
7116 ),
7117 'typography' => array(
7118 'fontSize' => true,
7119 'lineHeight' => true,
7120 '__experimentalFontFamily' => true,
7121 '__experimentalFontWeight' => true,
7122 '__experimentalFontStyle' => true,
7123 '__experimentalTextTransform' => true,
7124 '__experimentalTextDecoration' => true,
7125 '__experimentalLetterSpacing' => true,
7126 '__experimentalDefaultControls' => array(
7127 'fontSize' => true
7128 )
7129 ),
7130 '__experimentalBorder' => array(
7131 'radius' => true,
7132 'color' => true,
7133 'width' => true,
7134 'style' => true,
7135 '__experimentalDefaultControls' => array(
7136 'radius' => true,
7137 'color' => true,
7138 'width' => true,
7139 'style' => true
7140 )
7141 ),
7142 'interactivity' => array(
7143 'clientNavigation' => true
7144 )
7145 ),
7146 'style' => 'wp-block-query-total'
7147 ),
7148 'quote' => array(
7149 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7150 'apiVersion' => 3,
7151 'name' => 'core/quote',
7152 'title' => 'Quote',
7153 'category' => 'text',
7154 'description' => 'Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar',
7155 'keywords' => array(
7156 'blockquote',
7157 'cite'
7158 ),
7159 'textdomain' => 'default',
7160 'attributes' => array(
7161 'value' => array(
7162 'type' => 'string',
7163 'source' => 'html',
7164 'selector' => 'blockquote',
7165 'multiline' => 'p',
7166 'default' => '',
7167 'role' => 'content'
7168 ),
7169 'citation' => array(
7170 'type' => 'rich-text',
7171 'source' => 'rich-text',
7172 'selector' => 'cite',
7173 'role' => 'content'
7174 ),
7175 'textAlign' => array(
7176 'type' => 'string'
7177 )
7178 ),
7179 'supports' => array(
7180 'anchor' => true,
7181 'align' => array(
7182 'left',
7183 'right',
7184 'wide',
7185 'full'
7186 ),
7187 'html' => false,
7188 'background' => array(
7189 'backgroundImage' => true,
7190 'backgroundSize' => true,
7191 '__experimentalDefaultControls' => array(
7192 'backgroundImage' => true
7193 )
7194 ),
7195 '__experimentalBorder' => array(
7196 'color' => true,
7197 'radius' => true,
7198 'style' => true,
7199 'width' => true,
7200 '__experimentalDefaultControls' => array(
7201 'color' => true,
7202 'radius' => true,
7203 'style' => true,
7204 'width' => true
7205 )
7206 ),
7207 'dimensions' => array(
7208 'minHeight' => true,
7209 '__experimentalDefaultControls' => array(
7210 'minHeight' => false
7211 )
7212 ),
7213 '__experimentalOnEnter' => true,
7214 '__experimentalOnMerge' => true,
7215 'typography' => array(
7216 'fontSize' => true,
7217 'lineHeight' => true,
7218 '__experimentalFontFamily' => true,
7219 '__experimentalFontWeight' => true,
7220 '__experimentalFontStyle' => true,
7221 '__experimentalTextTransform' => true,
7222 '__experimentalTextDecoration' => true,
7223 '__experimentalLetterSpacing' => true,
7224 '__experimentalDefaultControls' => array(
7225 'fontSize' => true
7226 )
7227 ),
7228 'color' => array(
7229 'gradients' => true,
7230 'heading' => true,
7231 'link' => true,
7232 '__experimentalDefaultControls' => array(
7233 'background' => true,
7234 'text' => true
7235 )
7236 ),
7237 'layout' => array(
7238 'allowEditing' => false
7239 ),
7240 'spacing' => array(
7241 'blockGap' => true,
7242 'padding' => true,
7243 'margin' => true
7244 ),
7245 'interactivity' => array(
7246 'clientNavigation' => true
7247 ),
7248 'allowedBlocks' => true
7249 ),
7250 'styles' => array(
7251 array(
7252 'name' => 'default',
7253 'label' => 'Default',
7254 'isDefault' => true
7255 ),
7256 array(
7257 'name' => 'plain',
7258 'label' => 'Plain'
7259 )
7260 ),
7261 'editorStyle' => 'wp-block-quote-editor',
7262 'style' => 'wp-block-quote'
7263 ),
7264 'read-more' => array(
7265 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7266 'apiVersion' => 3,
7267 'name' => 'core/read-more',
7268 'title' => 'Read More',
7269 'category' => 'theme',
7270 'description' => 'Displays the link of a post, page, or any other content-type.',
7271 'textdomain' => 'default',
7272 'attributes' => array(
7273 'content' => array(
7274 'type' => 'string',
7275 'role' => 'content'
7276 ),
7277 'linkTarget' => array(
7278 'type' => 'string',
7279 'default' => '_self'
7280 )
7281 ),
7282 'usesContext' => array(
7283 'postId'
7284 ),
7285 'supports' => array(
7286 'anchor' => true,
7287 'html' => false,
7288 'color' => array(
7289 'gradients' => true,
7290 'text' => true
7291 ),
7292 'typography' => array(
7293 'fontSize' => true,
7294 'lineHeight' => true,
7295 '__experimentalFontFamily' => true,
7296 '__experimentalFontWeight' => true,
7297 '__experimentalFontStyle' => true,
7298 '__experimentalTextTransform' => true,
7299 '__experimentalLetterSpacing' => true,
7300 '__experimentalTextDecoration' => true,
7301 '__experimentalDefaultControls' => array(
7302 'fontSize' => true,
7303 'textDecoration' => true
7304 )
7305 ),
7306 'spacing' => array(
7307 'margin' => array(
7308 'top',
7309 'bottom'
7310 ),
7311 'padding' => true,
7312 '__experimentalDefaultControls' => array(
7313 'padding' => true
7314 )
7315 ),
7316 '__experimentalBorder' => array(
7317 'color' => true,
7318 'radius' => true,
7319 'width' => true,
7320 '__experimentalDefaultControls' => array(
7321 'width' => true
7322 )
7323 ),
7324 'interactivity' => array(
7325 'clientNavigation' => true
7326 )
7327 ),
7328 'style' => 'wp-block-read-more'
7329 ),
7330 'rss' => array(
7331 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7332 'apiVersion' => 3,
7333 'name' => 'core/rss',
7334 'title' => 'RSS',
7335 'category' => 'widgets',
7336 'description' => 'Display entries from any RSS or Atom feed.',
7337 'keywords' => array(
7338 'atom',
7339 'feed'
7340 ),
7341 'textdomain' => 'default',
7342 'attributes' => array(
7343 'columns' => array(
7344 'type' => 'number',
7345 'default' => 2
7346 ),
7347 'blockLayout' => array(
7348 'type' => 'string',
7349 'default' => 'list'
7350 ),
7351 'feedURL' => array(
7352 'type' => 'string',
7353 'default' => '',
7354 'role' => 'content'
7355 ),
7356 'itemsToShow' => array(
7357 'type' => 'number',
7358 'default' => 5
7359 ),
7360 'displayExcerpt' => array(
7361 'type' => 'boolean',
7362 'default' => false
7363 ),
7364 'displayAuthor' => array(
7365 'type' => 'boolean',
7366 'default' => false
7367 ),
7368 'displayDate' => array(
7369 'type' => 'boolean',
7370 'default' => false
7371 ),
7372 'excerptLength' => array(
7373 'type' => 'number',
7374 'default' => 55
7375 ),
7376 'openInNewTab' => array(
7377 'type' => 'boolean',
7378 'default' => false
7379 ),
7380 'rel' => array(
7381 'type' => 'string'
7382 )
7383 ),
7384 'supports' => array(
7385 'anchor' => true,
7386 'align' => true,
7387 'html' => false,
7388 'interactivity' => array(
7389 'clientNavigation' => true
7390 ),
7391 '__experimentalBorder' => array(
7392 'radius' => true,
7393 'color' => true,
7394 'width' => true,
7395 'style' => true
7396 ),
7397 'spacing' => array(
7398 'margin' => true,
7399 'padding' => true,
7400 '__experimentalDefaultControls' => array(
7401 'padding' => false,
7402 'margin' => false
7403 )
7404 ),
7405 'color' => array(
7406 'background' => true,
7407 'text' => true,
7408 'gradients' => true,
7409 'link' => true
7410 )
7411 ),
7412 'editorStyle' => 'wp-block-rss-editor',
7413 'style' => 'wp-block-rss'
7414 ),
7415 'search' => array(
7416 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7417 'apiVersion' => 3,
7418 'name' => 'core/search',
7419 'title' => 'Search',
7420 'category' => 'widgets',
7421 'description' => 'Help visitors find your content.',
7422 'keywords' => array(
7423 'find'
7424 ),
7425 'textdomain' => 'default',
7426 'attributes' => array(
7427 'label' => array(
7428 'type' => 'string',
7429 'role' => 'content'
7430 ),
7431 'showLabel' => array(
7432 'type' => 'boolean',
7433 'default' => true
7434 ),
7435 'placeholder' => array(
7436 'type' => 'string',
7437 'default' => '',
7438 'role' => 'content'
7439 ),
7440 'width' => array(
7441 'type' => 'number'
7442 ),
7443 'widthUnit' => array(
7444 'type' => 'string'
7445 ),
7446 'buttonText' => array(
7447 'type' => 'string',
7448 'role' => 'content'
7449 ),
7450 'buttonPosition' => array(
7451 'type' => 'string',
7452 'default' => 'button-outside'
7453 ),
7454 'buttonUseIcon' => array(
7455 'type' => 'boolean',
7456 'default' => false
7457 ),
7458 'query' => array(
7459 'type' => 'object',
7460 'default' => array(
7461
7462 )
7463 ),
7464 'tagName' => array(
7465 'type' => 'string',
7466 'default' => ''
7467 )
7468 ),
7469 'supports' => array(
7470 'anchor' => true,
7471 'align' => array(
7472 'left',
7473 'center',
7474 'right'
7475 ),
7476 'color' => array(
7477 'gradients' => true,
7478 '__experimentalSkipSerialization' => true,
7479 '__experimentalDefaultControls' => array(
7480 'background' => true,
7481 'text' => true
7482 )
7483 ),
7484 'interactivity' => true,
7485 'typography' => array(
7486 '__experimentalSkipSerialization' => true,
7487 '__experimentalSelector' => '.wp-block-search__label, .wp-block-search__input, .wp-block-search__button',
7488 'fontSize' => true,
7489 'lineHeight' => true,
7490 '__experimentalFontFamily' => true,
7491 '__experimentalFontWeight' => true,
7492 '__experimentalFontStyle' => true,
7493 '__experimentalTextTransform' => true,
7494 '__experimentalTextDecoration' => true,
7495 '__experimentalLetterSpacing' => true,
7496 '__experimentalDefaultControls' => array(
7497 'fontSize' => true
7498 )
7499 ),
7500 '__experimentalBorder' => array(
7501 'color' => true,
7502 'radius' => true,
7503 'width' => true,
7504 '__experimentalSkipSerialization' => true,
7505 '__experimentalDefaultControls' => array(
7506 'color' => true,
7507 'radius' => true,
7508 'width' => true
7509 )
7510 ),
7511 'spacing' => array(
7512 'margin' => true
7513 ),
7514 'html' => false
7515 ),
7516 'editorStyle' => 'wp-block-search-editor',
7517 'style' => 'wp-block-search',
7518 'selectors' => array(
7519 'color' => '.wp-block-search .wp-block-search__button, .wp-block-search.wp-block-search__no-button .wp-block-search__input',
7520 'border' => '.wp-block-search.wp-block-search__button-outside .wp-block-search__input, .wp-block-search.wp-block-search__button-outside .wp-block-search__button, .wp-block-search.wp-block-search__no-button .wp-block-search__input, .wp-block-search.wp-block-search__button-only .wp-block-search__input, .wp-block-search.wp-block-search__button-only .wp-block-search__button, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper'
7521 )
7522 ),
7523 'separator' => array(
7524 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7525 'apiVersion' => 3,
7526 'name' => 'core/separator',
7527 'title' => 'Separator',
7528 'category' => 'design',
7529 'description' => 'Create a break between ideas or sections with a horizontal separator.',
7530 'keywords' => array(
7531 'horizontal-line',
7532 'hr',
7533 'divider'
7534 ),
7535 'textdomain' => 'default',
7536 'attributes' => array(
7537 'opacity' => array(
7538 'type' => 'string',
7539 'default' => 'alpha-channel'
7540 ),
7541 'tagName' => array(
7542 'type' => 'string',
7543 'enum' => array(
7544 'hr',
7545 'div'
7546 ),
7547 'default' => 'hr'
7548 )
7549 ),
7550 'supports' => array(
7551 'anchor' => true,
7552 'align' => array(
7553 'center',
7554 'wide',
7555 'full'
7556 ),
7557 'color' => array(
7558 'enableContrastChecker' => false,
7559 '__experimentalSkipSerialization' => true,
7560 'gradients' => true,
7561 'background' => true,
7562 'text' => false,
7563 '__experimentalDefaultControls' => array(
7564 'background' => true
7565 )
7566 ),
7567 'spacing' => array(
7568 'margin' => array(
7569 'top',
7570 'bottom'
7571 )
7572 ),
7573 'interactivity' => array(
7574 'clientNavigation' => true
7575 )
7576 ),
7577 'styles' => array(
7578 array(
7579 'name' => 'default',
7580 'label' => 'Default',
7581 'isDefault' => true
7582 ),
7583 array(
7584 'name' => 'wide',
7585 'label' => 'Wide Line'
7586 ),
7587 array(
7588 'name' => 'dots',
7589 'label' => 'Dots'
7590 )
7591 ),
7592 'editorStyle' => 'wp-block-separator-editor',
7593 'style' => 'wp-block-separator'
7594 ),
7595 'shortcode' => array(
7596 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7597 'apiVersion' => 3,
7598 'name' => 'core/shortcode',
7599 'title' => 'Shortcode',
7600 'category' => 'widgets',
7601 'description' => 'Insert additional custom elements with a WordPress shortcode.',
7602 'textdomain' => 'default',
7603 'attributes' => array(
7604 'text' => array(
7605 'type' => 'string',
7606 'source' => 'raw',
7607 'role' => 'content'
7608 )
7609 ),
7610 'supports' => array(
7611 'className' => false,
7612 'customClassName' => false,
7613 'html' => false,
7614 'customCSS' => false,
7615 'visibility' => false
7616 ),
7617 'editorStyle' => 'wp-block-shortcode-editor'
7618 ),
7619 'site-logo' => array(
7620 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7621 'apiVersion' => 3,
7622 'name' => 'core/site-logo',
7623 'title' => 'Site Logo',
7624 'category' => 'theme',
7625 'description' => 'Display an image to represent this site. Update this block and the changes apply everywhere.',
7626 'textdomain' => 'default',
7627 'attributes' => array(
7628 'width' => array(
7629 'type' => 'number'
7630 ),
7631 'isLink' => array(
7632 'type' => 'boolean',
7633 'default' => true,
7634 'role' => 'content'
7635 ),
7636 'linkTarget' => array(
7637 'type' => 'string',
7638 'default' => '_self',
7639 'role' => 'content'
7640 ),
7641 'shouldSyncIcon' => array(
7642 'type' => 'boolean'
7643 )
7644 ),
7645 'example' => array(
7646 'viewportWidth' => 500,
7647 'attributes' => array(
7648 'width' => 350,
7649 'className' => 'block-editor-block-types-list__site-logo-example'
7650 )
7651 ),
7652 'supports' => array(
7653 'anchor' => true,
7654 'html' => false,
7655 'align' => true,
7656 'alignWide' => false,
7657 'color' => array(
7658 'text' => false,
7659 'background' => false
7660 ),
7661 'spacing' => array(
7662 'margin' => true,
7663 'padding' => true,
7664 '__experimentalDefaultControls' => array(
7665 'margin' => false,
7666 'padding' => false
7667 )
7668 ),
7669 'interactivity' => array(
7670 'clientNavigation' => true
7671 ),
7672 'filter' => array(
7673 'duotone' => true
7674 )
7675 ),
7676 'styles' => array(
7677 array(
7678 'name' => 'default',
7679 'label' => 'Default',
7680 'isDefault' => true
7681 ),
7682 array(
7683 'name' => 'rounded',
7684 'label' => 'Rounded'
7685 )
7686 ),
7687 'selectors' => array(
7688 'filter' => array(
7689 'duotone' => '.wp-block-site-logo img, .wp-block-site-logo .components-placeholder__illustration, .wp-block-site-logo .components-placeholder::before'
7690 )
7691 ),
7692 'editorStyle' => 'wp-block-site-logo-editor',
7693 'style' => 'wp-block-site-logo'
7694 ),
7695 'site-tagline' => array(
7696 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7697 'apiVersion' => 3,
7698 'name' => 'core/site-tagline',
7699 'title' => 'Site Tagline',
7700 'category' => 'theme',
7701 'description' => 'Describe in a few words what this site is about. This is important for search results, sharing on social media, and gives overall clarity to visitors.',
7702 'keywords' => array(
7703 'description'
7704 ),
7705 'textdomain' => 'default',
7706 'attributes' => array(
7707 'level' => array(
7708 'type' => 'number',
7709 'default' => 0
7710 ),
7711 'levelOptions' => array(
7712 'type' => 'array',
7713 'default' => array(
7714 0,
7715 1,
7716 2,
7717 3,
7718 4,
7719 5,
7720 6
7721 )
7722 )
7723 ),
7724 'example' => array(
7725 'viewportWidth' => 350,
7726 'attributes' => array(
7727 'style' => array(
7728 'typography' => array(
7729 'textAlign' => 'center'
7730 )
7731 )
7732 )
7733 ),
7734 'supports' => array(
7735 'anchor' => true,
7736 'align' => array(
7737 'wide',
7738 'full'
7739 ),
7740 'html' => false,
7741 'color' => array(
7742 'gradients' => true,
7743 '__experimentalDefaultControls' => array(
7744 'background' => true,
7745 'text' => true
7746 )
7747 ),
7748 'contentRole' => true,
7749 'spacing' => array(
7750 'margin' => true,
7751 'padding' => true,
7752 '__experimentalDefaultControls' => array(
7753 'margin' => false,
7754 'padding' => false
7755 )
7756 ),
7757 'typography' => array(
7758 'fontSize' => true,
7759 'lineHeight' => true,
7760 'textAlign' => true,
7761 '__experimentalFontFamily' => true,
7762 '__experimentalTextTransform' => true,
7763 '__experimentalTextDecoration' => true,
7764 '__experimentalFontStyle' => true,
7765 '__experimentalFontWeight' => true,
7766 '__experimentalLetterSpacing' => true,
7767 '__experimentalWritingMode' => true,
7768 '__experimentalDefaultControls' => array(
7769 'fontSize' => true
7770 )
7771 ),
7772 'interactivity' => array(
7773 'clientNavigation' => true
7774 ),
7775 '__experimentalBorder' => array(
7776 'radius' => true,
7777 'color' => true,
7778 'width' => true,
7779 'style' => true
7780 )
7781 ),
7782 'editorStyle' => 'wp-block-site-tagline-editor',
7783 'style' => 'wp-block-site-tagline'
7784 ),
7785 'site-title' => array(
7786 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7787 'apiVersion' => 3,
7788 'name' => 'core/site-title',
7789 'title' => 'Site Title',
7790 'category' => 'theme',
7791 '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.',
7792 'textdomain' => 'default',
7793 'attributes' => array(
7794 'level' => array(
7795 'type' => 'number',
7796 'default' => 1
7797 ),
7798 'levelOptions' => array(
7799 'type' => 'array',
7800 'default' => array(
7801 0,
7802 1,
7803 2,
7804 3,
7805 4,
7806 5,
7807 6
7808 )
7809 ),
7810 'isLink' => array(
7811 'type' => 'boolean',
7812 'default' => true,
7813 'role' => 'content'
7814 ),
7815 'linkTarget' => array(
7816 'type' => 'string',
7817 'default' => '_self',
7818 'role' => 'content'
7819 )
7820 ),
7821 'example' => array(
7822 'viewportWidth' => 500
7823 ),
7824 'supports' => array(
7825 'anchor' => true,
7826 'align' => array(
7827 'wide',
7828 'full'
7829 ),
7830 'html' => false,
7831 'color' => array(
7832 'gradients' => true,
7833 'link' => true,
7834 '__experimentalDefaultControls' => array(
7835 'background' => true,
7836 'text' => true,
7837 'link' => true
7838 )
7839 ),
7840 'spacing' => array(
7841 'padding' => true,
7842 'margin' => true,
7843 '__experimentalDefaultControls' => array(
7844 'margin' => false,
7845 'padding' => false
7846 )
7847 ),
7848 'typography' => array(
7849 'fontSize' => true,
7850 'lineHeight' => true,
7851 'textAlign' => true,
7852 '__experimentalFontFamily' => true,
7853 '__experimentalTextTransform' => true,
7854 '__experimentalTextDecoration' => true,
7855 '__experimentalFontStyle' => true,
7856 '__experimentalFontWeight' => true,
7857 '__experimentalLetterSpacing' => true,
7858 '__experimentalWritingMode' => true,
7859 '__experimentalDefaultControls' => array(
7860 'fontSize' => true
7861 )
7862 ),
7863 'interactivity' => array(
7864 'clientNavigation' => true
7865 ),
7866 '__experimentalBorder' => array(
7867 'radius' => true,
7868 'color' => true,
7869 'width' => true,
7870 'style' => true
7871 )
7872 ),
7873 'editorStyle' => 'wp-block-site-title-editor',
7874 'style' => 'wp-block-site-title'
7875 ),
7876 'social-link' => array(
7877 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7878 'apiVersion' => 3,
7879 'name' => 'core/social-link',
7880 'title' => 'Social Icon',
7881 'category' => 'widgets',
7882 'parent' => array(
7883 'core/social-links'
7884 ),
7885 'description' => 'Display an icon linking to a social profile or site.',
7886 'textdomain' => 'default',
7887 'attributes' => array(
7888 'url' => array(
7889 'type' => 'string',
7890 'role' => 'content'
7891 ),
7892 'service' => array(
7893 'type' => 'string'
7894 ),
7895 'label' => array(
7896 'type' => 'string',
7897 'role' => 'content'
7898 ),
7899 'rel' => array(
7900 'type' => 'string'
7901 )
7902 ),
7903 'usesContext' => array(
7904 'openInNewTab',
7905 'showLabels',
7906 'iconColor',
7907 'iconColorValue',
7908 'iconBackgroundColor',
7909 'iconBackgroundColorValue'
7910 ),
7911 'supports' => array(
7912 'anchor' => true,
7913 'reusable' => false,
7914 'html' => false,
7915 'interactivity' => array(
7916 'clientNavigation' => true
7917 )
7918 ),
7919 'editorStyle' => 'wp-block-social-link-editor'
7920 ),
7921 'social-links' => array(
7922 '$schema' => 'https://schemas.wp.org/trunk/block.json',
7923 'apiVersion' => 3,
7924 'name' => 'core/social-links',
7925 'title' => 'Social Icons',
7926 'category' => 'widgets',
7927 'allowedBlocks' => array(
7928 'core/social-link'
7929 ),
7930 'description' => 'Display icons linking to your social profiles or sites.',
7931 'keywords' => array(
7932 'links'
7933 ),
7934 'textdomain' => 'default',
7935 'attributes' => array(
7936 'iconColor' => array(
7937 'type' => 'string'
7938 ),
7939 'customIconColor' => array(
7940 'type' => 'string'
7941 ),
7942 'iconColorValue' => array(
7943 'type' => 'string'
7944 ),
7945 'iconBackgroundColor' => array(
7946 'type' => 'string'
7947 ),
7948 'customIconBackgroundColor' => array(
7949 'type' => 'string'
7950 ),
7951 'iconBackgroundColorValue' => array(
7952 'type' => 'string'
7953 ),
7954 'openInNewTab' => array(
7955 'type' => 'boolean',
7956 'default' => false
7957 ),
7958 'showLabels' => array(
7959 'type' => 'boolean',
7960 'default' => false
7961 ),
7962 'size' => array(
7963 'type' => 'string'
7964 )
7965 ),
7966 'providesContext' => array(
7967 'openInNewTab' => 'openInNewTab',
7968 'showLabels' => 'showLabels',
7969 'iconColor' => 'iconColor',
7970 'iconColorValue' => 'iconColorValue',
7971 'iconBackgroundColor' => 'iconBackgroundColor',
7972 'iconBackgroundColorValue' => 'iconBackgroundColorValue'
7973 ),
7974 'supports' => array(
7975 'align' => array(
7976 'left',
7977 'center',
7978 'right'
7979 ),
7980 'anchor' => true,
7981 'html' => false,
7982 '__experimentalExposeControlsToChildren' => true,
7983 'layout' => array(
7984 'allowSwitching' => false,
7985 'allowInheriting' => false,
7986 'allowVerticalAlignment' => false,
7987 'default' => array(
7988 'type' => 'flex'
7989 )
7990 ),
7991 'color' => array(
7992 'enableContrastChecker' => false,
7993 'background' => true,
7994 'gradients' => true,
7995 'text' => false,
7996 '__experimentalDefaultControls' => array(
7997 'background' => false
7998 )
7999 ),
8000 'spacing' => array(
8001 'blockGap' => array(
8002 'horizontal',
8003 'vertical'
8004 ),
8005 'margin' => true,
8006 'padding' => true,
8007 'units' => array(
8008 'px',
8009 'em',
8010 'rem',
8011 'vh',
8012 'vw'
8013 ),
8014 '__experimentalDefaultControls' => array(
8015 'blockGap' => true,
8016 'margin' => true,
8017 'padding' => false
8018 )
8019 ),
8020 'interactivity' => array(
8021 'clientNavigation' => true
8022 ),
8023 '__experimentalBorder' => array(
8024 'radius' => true,
8025 'color' => true,
8026 'width' => true,
8027 'style' => true,
8028 '__experimentalDefaultControls' => array(
8029 'radius' => true,
8030 'color' => true,
8031 'width' => true,
8032 'style' => true
8033 )
8034 ),
8035 'contentRole' => true,
8036 'listView' => true
8037 ),
8038 'styles' => array(
8039 array(
8040 'name' => 'default',
8041 'label' => 'Default',
8042 'isDefault' => true
8043 ),
8044 array(
8045 'name' => 'logos-only',
8046 'label' => 'Logos Only'
8047 ),
8048 array(
8049 'name' => 'pill-shape',
8050 'label' => 'Pill Shape'
8051 )
8052 ),
8053 'editorStyle' => 'wp-block-social-links-editor',
8054 'style' => 'wp-block-social-links'
8055 ),
8056 'spacer' => array(
8057 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8058 'apiVersion' => 3,
8059 'name' => 'core/spacer',
8060 'title' => 'Spacer',
8061 'category' => 'design',
8062 'description' => 'Add white space between blocks and customize its height.',
8063 'textdomain' => 'default',
8064 'attributes' => array(
8065 'height' => array(
8066 'type' => 'string',
8067 'default' => '100px'
8068 ),
8069 'width' => array(
8070 'type' => 'string'
8071 )
8072 ),
8073 'usesContext' => array(
8074 'orientation'
8075 ),
8076 'supports' => array(
8077 'anchor' => true,
8078 'spacing' => array(
8079 'margin' => array(
8080 'top',
8081 'bottom'
8082 ),
8083 '__experimentalDefaultControls' => array(
8084 'margin' => true
8085 )
8086 ),
8087 'interactivity' => array(
8088 'clientNavigation' => true
8089 )
8090 ),
8091 'editorStyle' => 'wp-block-spacer-editor',
8092 'style' => 'wp-block-spacer'
8093 ),
8094 'tab-list' => array(
8095 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8096 '__experimental' => true,
8097 'apiVersion' => 3,
8098 'name' => 'core/tab-list',
8099 'title' => 'Tab List',
8100 'description' => 'Display the tab buttons for a tabbed interface.',
8101 'category' => 'design',
8102 'textdomain' => 'default',
8103 'parent' => array(
8104 'core/tabs'
8105 ),
8106 'usesContext' => array(
8107 'core/tabs-list'
8108 ),
8109 'attributes' => array(
8110 'tabs' => array(
8111 'type' => 'array',
8112 'source' => 'query',
8113 'selector' => 'button',
8114 'query' => array(
8115 'label' => array(
8116 'type' => 'string',
8117 'source' => 'html'
8118 )
8119 ),
8120 'default' => array(
8121
8122 )
8123 )
8124 ),
8125 'supports' => array(
8126 'html' => false,
8127 'visibility' => false,
8128 'lock' => false,
8129 'color' => array(
8130 'background' => true,
8131 'text' => true,
8132 '__experimentalSkipSerialization' => true,
8133 '__experimentalDefaultControls' => array(
8134 'background' => true,
8135 'text' => true
8136 )
8137 ),
8138 'typography' => array(
8139 'fontSize' => true,
8140 '__experimentalFontFamily' => true
8141 ),
8142 '__experimentalBorder' => array(
8143 'color' => true,
8144 'radius' => true,
8145 'style' => true,
8146 'width' => true,
8147 '__experimentalSkipSerialization' => true
8148 ),
8149 'layout' => array(
8150 'default' => array(
8151 'type' => 'flex',
8152 'flexWrap' => 'nowrap'
8153 ),
8154 'allowVerticalAlignment' => false,
8155 'allowOrientation' => false,
8156 'allowWrap' => false
8157 ),
8158 'spacing' => array(
8159 'padding' => true,
8160 'blockGap' => true,
8161 '__experimentalSkipSerialization' => array(
8162 'padding'
8163 ),
8164 '__experimentalDefaultControls' => array(
8165 'padding' => true,
8166 'blockGap' => true
8167 )
8168 )
8169 ),
8170 'selectors' => array(
8171 'border' => '.wp-block-tab-list button',
8172 'color' => array(
8173 'background' => '.wp-block-tab-list button',
8174 'text' => '.wp-block-tab-list button'
8175 ),
8176 'spacing' => array(
8177 'padding' => '.wp-block-tab-list button'
8178 )
8179 ),
8180 'style' => 'wp-block-tab-list'
8181 ),
8182 'tab-panel' => array(
8183 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8184 '__experimental' => true,
8185 'apiVersion' => 3,
8186 'name' => 'core/tab-panel',
8187 'title' => 'Tab Panel',
8188 'description' => 'Content for a tab in a tabbed interface.',
8189 'category' => 'design',
8190 'textdomain' => 'default',
8191 'attributes' => array(
8192 'label' => array(
8193 'type' => 'string',
8194 'default' => ''
8195 )
8196 ),
8197 'parent' => array(
8198 'core/tab-panels'
8199 ),
8200 'usesContext' => array(
8201 'core/tabs-activeTabIndex',
8202 'core/tabs-editorActiveTabIndex',
8203 'core/tabs-id'
8204 ),
8205 'supports' => array(
8206 'anchor' => true,
8207 'html' => false,
8208 'color' => array(
8209 'background' => true,
8210 'text' => true,
8211 '__experimentalDefaultControls' => array(
8212 'background' => true,
8213 'text' => true
8214 )
8215 ),
8216 'layout' => true,
8217 'spacing' => array(
8218 'blockGap' => true,
8219 'padding' => true
8220 ),
8221 'typography' => array(
8222 'fontSize' => true,
8223 '__experimentalFontFamily' => true,
8224 '__experimentalDefaultControls' => array(
8225 'fontSize' => true,
8226 '__experimentalFontFamily' => true
8227 )
8228 ),
8229 'visibility' => false
8230 ),
8231 'providesContext' => array(
8232 'core/tab-label' => 'label'
8233 ),
8234 'style' => 'wp-block-tab-panel'
8235 ),
8236 'tab-panels' => array(
8237 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8238 '__experimental' => true,
8239 'apiVersion' => 3,
8240 'name' => 'core/tab-panels',
8241 'title' => 'Tab Panels',
8242 'description' => 'Container for tab panel content in a tabbed interface.',
8243 'category' => 'design',
8244 'textdomain' => 'default',
8245 'parent' => array(
8246 'core/tabs'
8247 ),
8248 'allowedBlocks' => array(
8249 'core/tab-panel'
8250 ),
8251 'supports' => array(
8252 'html' => false,
8253 'visibility' => false,
8254 'lock' => false,
8255 'color' => array(
8256 'background' => true,
8257 'text' => true,
8258 'heading' => true,
8259 'link' => true,
8260 '__experimentalDefaultControls' => array(
8261 'background' => true,
8262 'text' => true
8263 )
8264 ),
8265 'spacing' => array(
8266 'padding' => true
8267 ),
8268 'typography' => array(
8269 'fontSize' => true,
8270 '__experimentalFontFamily' => true
8271 ),
8272 '__experimentalBorder' => array(
8273 'radius' => true,
8274 'color' => true,
8275 'width' => true,
8276 'style' => true
8277 )
8278 )
8279 ),
8280 'table' => array(
8281 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8282 'apiVersion' => 3,
8283 'name' => 'core/table',
8284 'title' => 'Table',
8285 'category' => 'text',
8286 'description' => 'Create structured content in rows and columns to display information.',
8287 'textdomain' => 'default',
8288 'attributes' => array(
8289 'hasFixedLayout' => array(
8290 'type' => 'boolean',
8291 'default' => true
8292 ),
8293 'caption' => array(
8294 'type' => 'rich-text',
8295 'source' => 'rich-text',
8296 'selector' => 'figcaption',
8297 'role' => 'content'
8298 ),
8299 'head' => array(
8300 'type' => 'array',
8301 'default' => array(
8302
8303 ),
8304 'source' => 'query',
8305 'selector' => 'thead tr',
8306 'query' => array(
8307 'cells' => array(
8308 'type' => 'array',
8309 'default' => array(
8310
8311 ),
8312 'source' => 'query',
8313 'selector' => 'td,th',
8314 'query' => array(
8315 'content' => array(
8316 'type' => 'rich-text',
8317 'source' => 'rich-text',
8318 'role' => 'content'
8319 ),
8320 'tag' => array(
8321 'type' => 'string',
8322 'default' => 'td',
8323 'source' => 'tag'
8324 ),
8325 'scope' => array(
8326 'type' => 'string',
8327 'source' => 'attribute',
8328 'attribute' => 'scope'
8329 ),
8330 'align' => array(
8331 'type' => 'string',
8332 'source' => 'attribute',
8333 'attribute' => 'data-align'
8334 ),
8335 'colspan' => array(
8336 'type' => 'string',
8337 'source' => 'attribute',
8338 'attribute' => 'colspan'
8339 ),
8340 'rowspan' => array(
8341 'type' => 'string',
8342 'source' => 'attribute',
8343 'attribute' => 'rowspan'
8344 )
8345 )
8346 )
8347 )
8348 ),
8349 'body' => array(
8350 'type' => 'array',
8351 'default' => array(
8352
8353 ),
8354 'source' => 'query',
8355 'selector' => 'tbody tr',
8356 'query' => array(
8357 'cells' => array(
8358 'type' => 'array',
8359 'default' => array(
8360
8361 ),
8362 'source' => 'query',
8363 'selector' => 'td,th',
8364 'query' => array(
8365 'content' => array(
8366 'type' => 'rich-text',
8367 'source' => 'rich-text',
8368 'role' => 'content'
8369 ),
8370 'tag' => array(
8371 'type' => 'string',
8372 'default' => 'td',
8373 'source' => 'tag'
8374 ),
8375 'scope' => array(
8376 'type' => 'string',
8377 'source' => 'attribute',
8378 'attribute' => 'scope'
8379 ),
8380 'align' => array(
8381 'type' => 'string',
8382 'source' => 'attribute',
8383 'attribute' => 'data-align'
8384 ),
8385 'colspan' => array(
8386 'type' => 'string',
8387 'source' => 'attribute',
8388 'attribute' => 'colspan'
8389 ),
8390 'rowspan' => array(
8391 'type' => 'string',
8392 'source' => 'attribute',
8393 'attribute' => 'rowspan'
8394 )
8395 )
8396 )
8397 )
8398 ),
8399 'foot' => array(
8400 'type' => 'array',
8401 'default' => array(
8402
8403 ),
8404 'source' => 'query',
8405 'selector' => 'tfoot tr',
8406 'query' => array(
8407 'cells' => array(
8408 'type' => 'array',
8409 'default' => array(
8410
8411 ),
8412 'source' => 'query',
8413 'selector' => 'td,th',
8414 'query' => array(
8415 'content' => array(
8416 'type' => 'rich-text',
8417 'source' => 'rich-text',
8418 'role' => 'content'
8419 ),
8420 'tag' => array(
8421 'type' => 'string',
8422 'default' => 'td',
8423 'source' => 'tag'
8424 ),
8425 'scope' => array(
8426 'type' => 'string',
8427 'source' => 'attribute',
8428 'attribute' => 'scope'
8429 ),
8430 'align' => array(
8431 'type' => 'string',
8432 'source' => 'attribute',
8433 'attribute' => 'data-align'
8434 ),
8435 'colspan' => array(
8436 'type' => 'string',
8437 'source' => 'attribute',
8438 'attribute' => 'colspan'
8439 ),
8440 'rowspan' => array(
8441 'type' => 'string',
8442 'source' => 'attribute',
8443 'attribute' => 'rowspan'
8444 )
8445 )
8446 )
8447 )
8448 )
8449 ),
8450 'supports' => array(
8451 'anchor' => true,
8452 'align' => true,
8453 'color' => array(
8454 '__experimentalSkipSerialization' => true,
8455 'gradients' => true,
8456 '__experimentalDefaultControls' => array(
8457 'background' => true,
8458 'text' => true
8459 )
8460 ),
8461 'spacing' => array(
8462 'margin' => true,
8463 'padding' => true,
8464 '__experimentalDefaultControls' => array(
8465 'margin' => false,
8466 'padding' => false
8467 )
8468 ),
8469 'typography' => array(
8470 'fontSize' => true,
8471 'lineHeight' => true,
8472 '__experimentalFontFamily' => true,
8473 '__experimentalFontStyle' => true,
8474 '__experimentalFontWeight' => true,
8475 '__experimentalLetterSpacing' => true,
8476 '__experimentalTextTransform' => true,
8477 '__experimentalTextDecoration' => true,
8478 '__experimentalDefaultControls' => array(
8479 'fontSize' => true
8480 )
8481 ),
8482 '__experimentalBorder' => array(
8483 '__experimentalSkipSerialization' => true,
8484 'color' => true,
8485 'style' => true,
8486 'width' => true,
8487 '__experimentalDefaultControls' => array(
8488 'color' => true,
8489 'style' => true,
8490 'width' => true
8491 )
8492 ),
8493 'interactivity' => array(
8494 'clientNavigation' => true
8495 )
8496 ),
8497 'selectors' => array(
8498 'root' => '.wp-block-table > table',
8499 'spacing' => '.wp-block-table'
8500 ),
8501 'styles' => array(
8502 array(
8503 'name' => 'regular',
8504 'label' => 'Default',
8505 'isDefault' => true
8506 ),
8507 array(
8508 'name' => 'stripes',
8509 'label' => 'Stripes'
8510 )
8511 ),
8512 'editorStyle' => 'wp-block-table-editor',
8513 'style' => 'wp-block-table'
8514 ),
8515 'table-of-contents' => array(
8516 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8517 'apiVersion' => 3,
8518 '__experimental' => true,
8519 'name' => 'core/table-of-contents',
8520 'title' => 'Table of Contents',
8521 'category' => 'design',
8522 'description' => 'Summarize your post with a list of headings. Add HTML anchors to Heading blocks to link them here.',
8523 'keywords' => array(
8524 'document outline',
8525 'summary'
8526 ),
8527 'textdomain' => 'default',
8528 'attributes' => array(
8529 'headings' => array(
8530 'type' => 'array',
8531 'items' => array(
8532 'type' => 'object'
8533 ),
8534 'default' => array(
8535
8536 )
8537 ),
8538 'onlyIncludeCurrentPage' => array(
8539 'type' => 'boolean',
8540 'default' => false
8541 ),
8542 'maxLevel' => array(
8543 'type' => 'number'
8544 ),
8545 'ordered' => array(
8546 'type' => 'boolean',
8547 'default' => true
8548 )
8549 ),
8550 'supports' => array(
8551 'anchor' => true,
8552 'ariaLabel' => true,
8553 'html' => false,
8554 'color' => array(
8555 'text' => true,
8556 'background' => true,
8557 'gradients' => true,
8558 'link' => true
8559 ),
8560 'spacing' => array(
8561 'margin' => true,
8562 'padding' => true
8563 ),
8564 'typography' => array(
8565 'fontSize' => true,
8566 'lineHeight' => true,
8567 '__experimentalFontFamily' => true,
8568 '__experimentalFontWeight' => true,
8569 '__experimentalFontStyle' => true,
8570 '__experimentalTextTransform' => true,
8571 '__experimentalTextDecoration' => true,
8572 '__experimentalLetterSpacing' => true,
8573 '__experimentalDefaultControls' => array(
8574 'fontSize' => true
8575 )
8576 ),
8577 'interactivity' => array(
8578 'clientNavigation' => true
8579 ),
8580 '__experimentalBorder' => array(
8581 'radius' => true,
8582 'color' => true,
8583 'width' => true,
8584 'style' => true,
8585 '__experimentalDefaultControls' => array(
8586 'radius' => true,
8587 'color' => true,
8588 'width' => true,
8589 'style' => true
8590 )
8591 )
8592 ),
8593 'style' => 'wp-block-table-of-contents'
8594 ),
8595 'tabs' => array(
8596 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8597 '__experimental' => true,
8598 'apiVersion' => 3,
8599 'name' => 'core/tabs',
8600 'title' => 'Tabs',
8601 'description' => 'Display content in a tabbed interface to help users navigate detailed content with ease.',
8602 'category' => 'design',
8603 'textdomain' => 'default',
8604 'allowedBlocks' => array(
8605 'core/tab-list',
8606 'core/tab-panels'
8607 ),
8608 'attributes' => array(
8609 'activeTabIndex' => array(
8610 'type' => 'number',
8611 'default' => 0
8612 ),
8613 'editorActiveTabIndex' => array(
8614 'type' => 'number',
8615 'role' => 'local'
8616 )
8617 ),
8618 'supports' => array(
8619 'align' => true,
8620 'anchor' => true,
8621 'color' => array(
8622 'text' => true,
8623 'background' => true,
8624 '__experimentalDefaultControls' => array(
8625 'text' => true,
8626 'background' => true
8627 )
8628 ),
8629 'layout' => array(
8630 'allowEditing' => false
8631 ),
8632 'html' => false,
8633 'interactivity' => true,
8634 'spacing' => array(
8635 'blockGap' => true,
8636 'margin' => true,
8637 'padding' => true
8638 ),
8639 'typography' => array(
8640 'fontSize' => true,
8641 '__experimentalFontFamily' => true
8642 )
8643 ),
8644 'providesContext' => array(
8645 'core/tabs-activeTabIndex' => 'activeTabIndex',
8646 'core/tabs-editorActiveTabIndex' => 'editorActiveTabIndex'
8647 ),
8648 'usesContext' => array(
8649 'core/tabs-list',
8650 'core/tabs-id'
8651 ),
8652 'style' => 'wp-block-tabs',
8653 'viewScriptModule' => '@wordpress/block-library/tabs/view'
8654 ),
8655 'tag-cloud' => array(
8656 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8657 'apiVersion' => 3,
8658 'name' => 'core/tag-cloud',
8659 'title' => 'Tag Cloud',
8660 'category' => 'widgets',
8661 'description' => 'A cloud of popular keywords, each sized by how often it appears.',
8662 'textdomain' => 'default',
8663 'attributes' => array(
8664 'numberOfTags' => array(
8665 'type' => 'number',
8666 'default' => 45,
8667 'minimum' => 1,
8668 'maximum' => 100
8669 ),
8670 'taxonomy' => array(
8671 'type' => 'string',
8672 'default' => 'post_tag'
8673 ),
8674 'showTagCounts' => array(
8675 'type' => 'boolean',
8676 'default' => false
8677 ),
8678 'smallestFontSize' => array(
8679 'type' => 'string',
8680 'default' => '8pt'
8681 ),
8682 'largestFontSize' => array(
8683 'type' => 'string',
8684 'default' => '22pt'
8685 )
8686 ),
8687 'styles' => array(
8688 array(
8689 'name' => 'default',
8690 'label' => 'Default',
8691 'isDefault' => true
8692 ),
8693 array(
8694 'name' => 'outline',
8695 'label' => 'Outline'
8696 )
8697 ),
8698 'supports' => array(
8699 'anchor' => true,
8700 'html' => false,
8701 'align' => true,
8702 'spacing' => array(
8703 'margin' => true,
8704 'padding' => true
8705 ),
8706 'typography' => array(
8707 'lineHeight' => true,
8708 '__experimentalFontFamily' => true,
8709 '__experimentalFontWeight' => true,
8710 '__experimentalFontStyle' => true,
8711 '__experimentalTextTransform' => true,
8712 '__experimentalLetterSpacing' => true
8713 ),
8714 'interactivity' => array(
8715 'clientNavigation' => true
8716 ),
8717 '__experimentalBorder' => array(
8718 'radius' => true,
8719 'color' => true,
8720 'width' => true,
8721 'style' => true,
8722 '__experimentalDefaultControls' => array(
8723 'radius' => true,
8724 'color' => true,
8725 'width' => true,
8726 'style' => true
8727 )
8728 )
8729 )
8730 ),
8731 'template-part' => array(
8732 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8733 'apiVersion' => 3,
8734 'name' => 'core/template-part',
8735 'title' => 'Template Part',
8736 'category' => 'theme',
8737 'description' => 'Edit the different global regions of your site, like the header, footer, sidebar, or create your own.',
8738 'textdomain' => 'default',
8739 'attributes' => array(
8740 'slug' => array(
8741 'type' => 'string'
8742 ),
8743 'theme' => array(
8744 'type' => 'string'
8745 ),
8746 'tagName' => array(
8747 'type' => 'string'
8748 ),
8749 'area' => array(
8750 'type' => 'string'
8751 )
8752 ),
8753 'supports' => array(
8754 'align' => true,
8755 'html' => false,
8756 'reusable' => false,
8757 'renaming' => false,
8758 'interactivity' => array(
8759 'clientNavigation' => true
8760 )
8761 ),
8762 'editorStyle' => 'wp-block-template-part-editor'
8763 ),
8764 'term-count' => array(
8765 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8766 'apiVersion' => 3,
8767 'name' => 'core/term-count',
8768 'title' => 'Term Count',
8769 'category' => 'theme',
8770 'description' => 'Displays the post count of a taxonomy term.',
8771 'textdomain' => 'default',
8772 'usesContext' => array(
8773 'termId',
8774 'taxonomy'
8775 ),
8776 'attributes' => array(
8777 'bracketType' => array(
8778 'type' => 'string',
8779 'enum' => array(
8780 'none',
8781 'round',
8782 'square',
8783 'curly',
8784 'angle'
8785 ),
8786 'default' => 'round'
8787 )
8788 ),
8789 'supports' => array(
8790 'anchor' => true,
8791 'html' => false,
8792 'color' => array(
8793 'gradients' => true,
8794 '__experimentalDefaultControls' => array(
8795 'background' => true,
8796 'text' => true
8797 )
8798 ),
8799 'spacing' => array(
8800 'padding' => true
8801 ),
8802 'typography' => array(
8803 'fontSize' => true,
8804 'lineHeight' => true,
8805 '__experimentalFontFamily' => true,
8806 '__experimentalFontWeight' => true,
8807 '__experimentalFontStyle' => true,
8808 '__experimentalTextTransform' => true,
8809 '__experimentalTextDecoration' => true,
8810 '__experimentalLetterSpacing' => true,
8811 '__experimentalDefaultControls' => array(
8812 'fontSize' => true
8813 )
8814 ),
8815 'interactivity' => array(
8816 'clientNavigation' => true
8817 ),
8818 '__experimentalBorder' => array(
8819 'radius' => true,
8820 'color' => true,
8821 'width' => true,
8822 'style' => true,
8823 '__experimentalDefaultControls' => array(
8824 'color' => true,
8825 'width' => true,
8826 'style' => true
8827 )
8828 )
8829 ),
8830 'style' => 'wp-block-term-count'
8831 ),
8832 'term-description' => array(
8833 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8834 'apiVersion' => 3,
8835 'name' => 'core/term-description',
8836 'title' => 'Term Description',
8837 'category' => 'theme',
8838 'description' => 'Display the description of categories, tags and custom taxonomies when viewing an archive.',
8839 'textdomain' => 'default',
8840 'usesContext' => array(
8841 'termId',
8842 'taxonomy'
8843 ),
8844 'supports' => array(
8845 'anchor' => true,
8846 'align' => array(
8847 'wide',
8848 'full'
8849 ),
8850 'html' => false,
8851 'color' => array(
8852 'link' => true,
8853 '__experimentalDefaultControls' => array(
8854 'background' => true,
8855 'text' => true
8856 )
8857 ),
8858 'spacing' => array(
8859 'padding' => true,
8860 'margin' => true
8861 ),
8862 'typography' => array(
8863 'fontSize' => true,
8864 'lineHeight' => true,
8865 'textAlign' => true,
8866 '__experimentalFontFamily' => true,
8867 '__experimentalFontWeight' => true,
8868 '__experimentalFontStyle' => true,
8869 '__experimentalTextTransform' => true,
8870 '__experimentalTextDecoration' => true,
8871 '__experimentalLetterSpacing' => true,
8872 '__experimentalDefaultControls' => array(
8873 'fontSize' => true
8874 )
8875 ),
8876 'interactivity' => array(
8877 'clientNavigation' => true
8878 ),
8879 '__experimentalBorder' => array(
8880 'radius' => true,
8881 'color' => true,
8882 'width' => true,
8883 'style' => true,
8884 '__experimentalDefaultControls' => array(
8885 'radius' => true,
8886 'color' => true,
8887 'width' => true,
8888 'style' => true
8889 )
8890 )
8891 )
8892 ),
8893 'term-name' => array(
8894 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8895 'apiVersion' => 3,
8896 'name' => 'core/term-name',
8897 'title' => 'Term Name',
8898 'category' => 'theme',
8899 'description' => 'Displays the name of a taxonomy term.',
8900 'keywords' => array(
8901 'term title'
8902 ),
8903 'textdomain' => 'default',
8904 'usesContext' => array(
8905 'termId',
8906 'taxonomy'
8907 ),
8908 'attributes' => array(
8909 'textAlign' => array(
8910 'type' => 'string'
8911 ),
8912 'level' => array(
8913 'type' => 'number',
8914 'default' => 0
8915 ),
8916 'isLink' => array(
8917 'type' => 'boolean',
8918 'default' => false
8919 ),
8920 'levelOptions' => array(
8921 'type' => 'array'
8922 )
8923 ),
8924 'supports' => array(
8925 'anchor' => true,
8926 'align' => array(
8927 'wide',
8928 'full'
8929 ),
8930 'html' => false,
8931 'color' => array(
8932 'gradients' => true,
8933 'link' => true,
8934 '__experimentalDefaultControls' => array(
8935 'background' => true,
8936 'text' => true,
8937 'link' => true
8938 )
8939 ),
8940 'spacing' => array(
8941 'padding' => true
8942 ),
8943 'typography' => array(
8944 'fontSize' => true,
8945 'lineHeight' => true,
8946 '__experimentalFontFamily' => true,
8947 '__experimentalFontWeight' => true,
8948 '__experimentalFontStyle' => true,
8949 '__experimentalTextTransform' => true,
8950 '__experimentalTextDecoration' => true,
8951 '__experimentalLetterSpacing' => true,
8952 '__experimentalDefaultControls' => array(
8953 'fontSize' => true
8954 )
8955 ),
8956 'interactivity' => array(
8957 'clientNavigation' => true
8958 ),
8959 '__experimentalBorder' => array(
8960 'radius' => true,
8961 'color' => true,
8962 'width' => true,
8963 'style' => true,
8964 '__experimentalDefaultControls' => array(
8965 'color' => true,
8966 'width' => true,
8967 'style' => true
8968 )
8969 )
8970 ),
8971 'style' => 'wp-block-term-name'
8972 ),
8973 'term-template' => array(
8974 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8975 'apiVersion' => 3,
8976 'name' => 'core/term-template',
8977 'title' => 'Term Template',
8978 'category' => 'theme',
8979 'ancestor' => array(
8980 'core/terms-query'
8981 ),
8982 'description' => 'Contains the block elements used to render a taxonomy term, like the name, description, and more.',
8983 'textdomain' => 'default',
8984 'usesContext' => array(
8985 'termQuery'
8986 ),
8987 'supports' => array(
8988 'anchor' => true,
8989 'reusable' => false,
8990 'html' => false,
8991 'align' => array(
8992 'wide',
8993 'full'
8994 ),
8995 'layout' => true,
8996 'color' => array(
8997 'gradients' => true,
8998 'link' => true,
8999 '__experimentalDefaultControls' => array(
9000 'background' => true,
9001 'text' => true
9002 )
9003 ),
9004 'typography' => array(
9005 'fontSize' => true,
9006 'lineHeight' => true,
9007 '__experimentalFontFamily' => true,
9008 '__experimentalFontWeight' => true,
9009 '__experimentalFontStyle' => true,
9010 '__experimentalTextTransform' => true,
9011 '__experimentalTextDecoration' => true,
9012 '__experimentalLetterSpacing' => true,
9013 '__experimentalDefaultControls' => array(
9014 'fontSize' => true
9015 )
9016 ),
9017 'spacing' => array(
9018 'margin' => true,
9019 'padding' => true,
9020 'blockGap' => array(
9021 '__experimentalDefault' => '1.25em'
9022 ),
9023 '__experimentalDefaultControls' => array(
9024 'blockGap' => true,
9025 'padding' => false,
9026 'margin' => false
9027 )
9028 ),
9029 'interactivity' => array(
9030 'clientNavigation' => true
9031 ),
9032 '__experimentalBorder' => array(
9033 'radius' => true,
9034 'color' => true,
9035 'width' => true,
9036 'style' => true
9037 )
9038 ),
9039 'style' => 'wp-block-term-template',
9040 'editorStyle' => 'wp-block-term-template-editor'
9041 ),
9042 'terms-query' => array(
9043 '$schema' => 'https://schemas.wp.org/trunk/block.json',
9044 'apiVersion' => 3,
9045 'name' => 'core/terms-query',
9046 'title' => 'Terms Query',
9047 'category' => 'theme',
9048 'description' => 'An advanced block that allows displaying taxonomy terms based on different query parameters and visual configurations.',
9049 'keywords' => array(
9050 'terms',
9051 'taxonomy',
9052 'categories',
9053 'tags',
9054 'list'
9055 ),
9056 'textdomain' => 'default',
9057 'attributes' => array(
9058 'termQuery' => array(
9059 'type' => 'object',
9060 'default' => array(
9061 'perPage' => 10,
9062 'taxonomy' => 'category',
9063 'order' => 'asc',
9064 'orderBy' => 'name',
9065 'include' => array(
9066
9067 ),
9068 'hideEmpty' => true,
9069 'showNested' => false,
9070 'inherit' => false
9071 )
9072 ),
9073 'tagName' => array(
9074 'type' => 'string',
9075 'default' => 'div'
9076 )
9077 ),
9078 'usesContext' => array(
9079 'templateSlug'
9080 ),
9081 'providesContext' => array(
9082 'termQuery' => 'termQuery'
9083 ),
9084 'supports' => array(
9085 'anchor' => true,
9086 'align' => array(
9087 'wide',
9088 'full'
9089 ),
9090 'html' => false,
9091 'layout' => true,
9092 'interactivity' => true
9093 )
9094 ),
9095 'text-columns' => array(
9096 '$schema' => 'https://schemas.wp.org/trunk/block.json',
9097 'apiVersion' => 3,
9098 'name' => 'core/text-columns',
9099 'title' => 'Text Columns (deprecated)',
9100 'icon' => 'columns',
9101 'category' => 'design',
9102 'description' => 'This block is deprecated. Please use the Columns block instead.',
9103 'textdomain' => 'default',
9104 'attributes' => array(
9105 'content' => array(
9106 'type' => 'array',
9107 'source' => 'query',
9108 'selector' => 'p',
9109 'query' => array(
9110 'children' => array(
9111 'type' => 'string',
9112 'source' => 'html'
9113 )
9114 ),
9115 'default' => array(
9116 array(
9117
9118 ),
9119 array(
9120
9121 )
9122 )
9123 ),
9124 'columns' => array(
9125 'type' => 'number',
9126 'default' => 2
9127 ),
9128 'width' => array(
9129 'type' => 'string'
9130 )
9131 ),
9132 'supports' => array(
9133 'inserter' => false,
9134 'interactivity' => array(
9135 'clientNavigation' => true
9136 )
9137 ),
9138 'editorStyle' => 'wp-block-text-columns-editor',
9139 'style' => 'wp-block-text-columns'
9140 ),
9141 'verse' => array(
9142 '$schema' => 'https://schemas.wp.org/trunk/block.json',
9143 'apiVersion' => 3,
9144 'name' => 'core/verse',
9145 'title' => 'Poetry',
9146 'category' => 'text',
9147 'description' => 'Insert poetry. Use special spacing formats. Or quote song lyrics.',
9148 'keywords' => array(
9149 'poetry',
9150 'poem',
9151 'verse',
9152 'stanza',
9153 'song',
9154 'lyrics'
9155 ),
9156 'textdomain' => 'default',
9157 'attributes' => array(
9158 'content' => array(
9159 'type' => 'rich-text',
9160 'source' => 'rich-text',
9161 'selector' => 'pre',
9162 '__unstablePreserveWhiteSpace' => true,
9163 'role' => 'content'
9164 )
9165 ),
9166 'supports' => array(
9167 'anchor' => true,
9168 'background' => array(
9169 'backgroundImage' => true,
9170 'backgroundSize' => true,
9171 '__experimentalDefaultControls' => array(
9172 'backgroundImage' => true
9173 )
9174 ),
9175 'color' => array(
9176 'gradients' => true,
9177 'link' => true,
9178 '__experimentalDefaultControls' => array(
9179 'background' => true,
9180 'text' => true
9181 )
9182 ),
9183 'dimensions' => array(
9184 'minHeight' => true,
9185 '__experimentalDefaultControls' => array(
9186 'minHeight' => false
9187 )
9188 ),
9189 'typography' => array(
9190 'fontSize' => true,
9191 '__experimentalFontFamily' => true,
9192 'lineHeight' => true,
9193 'textAlign' => true,
9194 '__experimentalFontStyle' => true,
9195 '__experimentalFontWeight' => true,
9196 '__experimentalLetterSpacing' => true,
9197 '__experimentalTextTransform' => true,
9198 '__experimentalTextDecoration' => true,
9199 '__experimentalWritingMode' => true,
9200 '__experimentalDefaultControls' => array(
9201 'fontSize' => true
9202 )
9203 ),
9204 'spacing' => array(
9205 'margin' => true,
9206 'padding' => true,
9207 '__experimentalDefaultControls' => array(
9208 'margin' => false,
9209 'padding' => false
9210 )
9211 ),
9212 '__experimentalBorder' => array(
9213 'radius' => true,
9214 'width' => true,
9215 'color' => true,
9216 'style' => true
9217 ),
9218 'interactivity' => array(
9219 'clientNavigation' => true
9220 )
9221 ),
9222 'style' => 'wp-block-verse',
9223 'editorStyle' => 'wp-block-verse-editor'
9224 ),
9225 'video' => array(
9226 '$schema' => 'https://schemas.wp.org/trunk/block.json',
9227 'apiVersion' => 3,
9228 'name' => 'core/video',
9229 'title' => 'Video',
9230 'category' => 'media',
9231 'description' => 'Embed a video from your media library or upload a new one.',
9232 'keywords' => array(
9233 'movie'
9234 ),
9235 'textdomain' => 'default',
9236 'attributes' => array(
9237 'autoplay' => array(
9238 'type' => 'boolean',
9239 'source' => 'attribute',
9240 'selector' => 'video',
9241 'attribute' => 'autoplay'
9242 ),
9243 'caption' => array(
9244 'type' => 'rich-text',
9245 'source' => 'rich-text',
9246 'selector' => 'figcaption',
9247 'role' => 'content'
9248 ),
9249 'controls' => array(
9250 'type' => 'boolean',
9251 'source' => 'attribute',
9252 'selector' => 'video',
9253 'attribute' => 'controls',
9254 'default' => true
9255 ),
9256 'id' => array(
9257 'type' => 'number',
9258 'role' => 'content'
9259 ),
9260 'loop' => array(
9261 'type' => 'boolean',
9262 'source' => 'attribute',
9263 'selector' => 'video',
9264 'attribute' => 'loop'
9265 ),
9266 'muted' => array(
9267 'type' => 'boolean',
9268 'source' => 'attribute',
9269 'selector' => 'video',
9270 'attribute' => 'muted'
9271 ),
9272 'poster' => array(
9273 'type' => 'string',
9274 'source' => 'attribute',
9275 'selector' => 'video',
9276 'attribute' => 'poster'
9277 ),
9278 'preload' => array(
9279 'type' => 'string',
9280 'source' => 'attribute',
9281 'selector' => 'video',
9282 'attribute' => 'preload',
9283 'default' => 'metadata'
9284 ),
9285 'blob' => array(
9286 'type' => 'string',
9287 'role' => 'local'
9288 ),
9289 'src' => array(
9290 'type' => 'string',
9291 'source' => 'attribute',
9292 'selector' => 'video',
9293 'attribute' => 'src',
9294 'role' => 'content'
9295 ),
9296 'playsInline' => array(
9297 'type' => 'boolean',
9298 'source' => 'attribute',
9299 'selector' => 'video',
9300 'attribute' => 'playsinline'
9301 ),
9302 'tracks' => array(
9303 'role' => 'content',
9304 'type' => 'array',
9305 'items' => array(
9306 'type' => 'object'
9307 ),
9308 'default' => array(
9309
9310 )
9311 )
9312 ),
9313 'supports' => array(
9314 'anchor' => true,
9315 'align' => true,
9316 'spacing' => array(
9317 'margin' => true,
9318 'padding' => true,
9319 '__experimentalDefaultControls' => array(
9320 'margin' => false,
9321 'padding' => false
9322 )
9323 ),
9324 'interactivity' => array(
9325 'clientNavigation' => true
9326 )
9327 ),
9328 'editorStyle' => 'wp-block-video-editor',
9329 'style' => 'wp-block-video'
9330 )
9331 );
9332