PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/scripts/block-library/blocks-manifest.php +827 -424 23.1.1 → 24.1.0 View file →
@@ -20,8 +20,9 @@
20 20 ),
21 21 'background' => array(
22 22 'backgroundImage' => true,
23 23 'backgroundSize' => true,
24 + 'gradient' => true,
24 25 '__experimentalDefaultControls' => array(
25 26 'backgroundImage' => true
26 27 )
27 28 ),
@@ -26,9 +27,12 @@
26 27 )
27 28 ),
28 29 'color' => array(
29 30 'background' => true,
30 - 'gradients' => true
31 + 'gradients' => true,
32 + 'link' => true,
33 + 'heading' => true,
34 + 'button' => true
31 35 ),
32 36 '__experimentalBorder' => array(
33 37 'color' => true,
34 38 'radius' => true,
@@ -165,8 +169,9 @@
165 169 'visibility' => false,
166 170 'lock' => false
167 171 ),
168 172 'selectors' => array(
173 + 'spacing' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle',
169 174 'typography' => array(
170 175 'letterSpacing' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title',
171 176 'textDecoration' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title'
172 177 )
@@ -215,11 +220,17 @@
215 220 'core/accordion-panel'
216 221 ),
217 222 'supports' => array(
218 223 'html' => false,
224 + 'background' => array(
225 + 'gradient' => true
226 + ),
219 227 'color' => array(
220 228 'background' => true,
221 - 'gradients' => true
229 + 'gradients' => true,
230 + 'link' => true,
231 + 'heading' => true,
232 + 'button' => true
222 233 ),
223 234 'interactivity' => true,
224 235 'spacing' => array(
225 236 'margin' => array(
@@ -285,12 +296,21 @@
285 296 'usesContext' => array(
286 297 'core/accordion-open-by-default'
287 298 ),
288 299 'supports' => array(
300 + '__experimentalOnEnter' => true,
289 301 'html' => false,
302 + 'background' => array(
303 + 'backgroundImage' => true,
304 + 'backgroundSize' => true,
305 + 'gradient' => true
306 + ),
290 307 'color' => array(
291 308 'background' => true,
292 - 'gradients' => true
309 + 'gradients' => true,
310 + 'link' => true,
311 + 'heading' => true,
312 + 'button' => true
293 313 ),
294 314 'interactivity' => true,
295 315 'spacing' => array(
296 316 'padding' => true,
@@ -386,8 +406,17 @@
386 406 'color' => true,
387 407 'width' => true,
388 408 'style' => true
389 409 ),
410 + 'background' => array(
411 + 'backgroundImage' => true,
412 + 'backgroundSize' => true,
413 + 'gradient' => true,
414 + '__experimentalDefaultControls' => array(
415 + 'backgroundImage' => true,
416 + 'gradient' => true
417 + )
418 + ),
390 419 'html' => false,
391 420 'spacing' => array(
392 421 'margin' => true,
393 422 'padding' => true,
@@ -480,8 +509,16 @@
480 509 ),
481 510 'supports' => array(
482 511 'anchor' => true,
483 512 'align' => true,
513 + 'color' => array(
514 + 'background' => false,
515 + 'link' => true,
516 + 'text' => false,
517 + '__experimentalDefaultControls' => array(
518 + 'link' => true
519 + )
520 + ),
484 521 'spacing' => array(
485 522 'margin' => true,
486 523 'padding' => true,
487 524 '__experimentalDefaultControls' => array(
@@ -601,9 +638,10 @@
601 638 'renaming' => false,
602 639 'interactivity' => array(
603 640 'clientNavigation' => true
604 641 ),
605 - 'customCSS' => false
642 + 'customCSS' => false,
643 + 'visibility' => false
606 644 )
607 645 ),
608 646 'breadcrumbs' => array(
609 647 '$schema' => 'https://schemas.wp.org/trunk/block.json',
@@ -650,8 +688,11 @@
650 688 'spacing' => array(
651 689 'margin' => true,
652 690 'padding' => true
653 691 ),
692 + 'background' => array(
693 + 'gradient' => true
694 + ),
654 695 'color' => array(
655 696 'gradients' => true,
656 697 'link' => true,
657 698 '__experimentalDefaultControls' => array(
@@ -888,8 +929,17 @@
888 929 'full'
889 930 ),
890 931 'html' => false,
891 932 '__experimentalExposeControlsToChildren' => true,
933 + 'background' => array(
934 + 'backgroundImage' => true,
935 + 'backgroundSize' => true,
936 + 'gradient' => true,
937 + '__experimentalDefaultControls' => array(
938 + 'backgroundImage' => true,
939 + 'gradient' => true
940 + )
941 + ),
892 942 'color' => array(
893 943 'gradients' => true,
894 944 'text' => false,
895 945 '__experimentalDefaultControls' => array(
@@ -1055,8 +1105,17 @@
1055 1105 ),
1056 1106 'supports' => array(
1057 1107 'anchor' => true,
1058 1108 'align' => true,
1109 + 'background' => array(
1110 + 'backgroundImage' => true,
1111 + 'backgroundSize' => true,
1112 + 'gradient' => true,
1113 + '__experimentalDefaultControls' => array(
1114 + 'backgroundImage' => true,
1115 + 'gradient' => true
1116 + )
1117 + ),
1059 1118 'html' => false,
1060 1119 'spacing' => array(
1061 1120 'margin' => true,
1062 1121 'padding' => true,
@@ -1067,8 +1126,9 @@
1067 1126 ),
1068 1127 'typography' => array(
1069 1128 'fontSize' => true,
1070 1129 'lineHeight' => true,
1130 + 'textColumns' => true,
1071 1131 '__experimentalFontFamily' => true,
1072 1132 '__experimentalFontWeight' => true,
1073 1133 '__experimentalFontStyle' => true,
1074 1134 '__experimentalTextTransform' => true,
@@ -1100,9 +1160,10 @@
1100 1160 'color' => true,
1101 1161 'width' => true,
1102 1162 'style' => true
1103 1163 )
1104 - )
1164 + ),
1165 + 'shadow' => true
1105 1166 ),
1106 1167 'editorStyle' => 'wp-block-categories-editor',
1107 1168 'style' => 'wp-block-categories'
1108 1169 ),
@@ -1127,8 +1188,17 @@
1127 1188 'align' => array(
1128 1189 'wide'
1129 1190 ),
1130 1191 'anchor' => true,
1192 + 'background' => array(
1193 + 'backgroundImage' => true,
1194 + 'backgroundSize' => true,
1195 + 'gradient' => true,
1196 + '__experimentalDefaultControls' => array(
1197 + 'backgroundImage' => true,
1198 + 'gradient' => true
1199 + )
1200 + ),
1131 1201 'typography' => array(
1132 1202 'fontSize' => true,
1133 1203 'lineHeight' => true,
1134 1204 '__experimentalFontFamily' => true,
@@ -1170,8 +1240,9 @@
1170 1240 'background' => true,
1171 1241 'text' => true
1172 1242 )
1173 1243 ),
1244 + 'shadow' => true,
1174 1245 'interactivity' => array(
1175 1246 'clientNavigation' => true
1176 1247 )
1177 1248 ),
@@ -1212,8 +1283,17 @@
1212 1283 '__experimentalOnEnter' => true,
1213 1284 'anchor' => true,
1214 1285 'reusable' => false,
1215 1286 'html' => false,
1287 + 'background' => array(
1288 + 'backgroundImage' => true,
1289 + 'backgroundSize' => true,
1290 + 'gradient' => true,
1291 + '__experimentalDefaultControls' => array(
1292 + 'backgroundImage' => true,
1293 + 'gradient' => true
1294 + )
1295 + ),
1216 1296 'color' => array(
1217 1297 'gradients' => true,
1218 1298 'heading' => true,
1219 1299 'button' => true,
@@ -1312,8 +1392,17 @@
1312 1392 'background' => true,
1313 1393 'text' => true
1314 1394 )
1315 1395 ),
1396 + 'background' => array(
1397 + 'backgroundImage' => true,
1398 + 'backgroundSize' => true,
1399 + 'gradient' => true,
1400 + '__experimentalDefaultControls' => array(
1401 + 'backgroundImage' => true,
1402 + 'gradient' => true
1403 + )
1404 + ),
1316 1405 'spacing' => array(
1317 1406 'blockGap' => array(
1318 1407 '__experimentalDefault' => '2em',
1319 1408 'sides' => array(
@@ -1450,8 +1539,11 @@
1450 1539 ),
1451 1540 'supports' => array(
1452 1541 'anchor' => true,
1453 1542 'html' => false,
1543 + 'background' => array(
1544 + 'gradient' => true
1545 + ),
1454 1546 'spacing' => array(
1455 1547 'margin' => true,
1456 1548 'padding' => true
1457 1549 ),
@@ -1511,10 +1603,15 @@
1511 1603 'commentId'
1512 1604 ),
1513 1605 'supports' => array(
1514 1606 'anchor' => true,
1607 + 'background' => array(
1608 + 'gradient' => true
1609 + ),
1515 1610 'color' => array(
1516 1611 'gradients' => true,
1612 + 'heading' => true,
1613 + 'button' => true,
1517 1614 'link' => true,
1518 1615 '__experimentalDefaultControls' => array(
1519 1616 'background' => true,
1520 1617 'text' => true
@@ -1584,8 +1681,11 @@
1584 1681 ),
1585 1682 'supports' => array(
1586 1683 'anchor' => true,
1587 1684 'html' => false,
1685 + 'background' => array(
1686 + 'gradient' => true
1687 + ),
1588 1688 'color' => array(
1589 1689 'gradients' => true,
1590 1690 'link' => true,
1591 1691 '__experimentalDefaultControls' => array(
@@ -1652,8 +1752,11 @@
1652 1752 ),
1653 1753 'supports' => array(
1654 1754 'anchor' => true,
1655 1755 'html' => false,
1756 + 'background' => array(
1757 + 'gradient' => true
1758 + ),
1656 1759 'color' => array(
1657 1760 'link' => true,
1658 1761 'gradients' => true,
1659 1762 'text' => false,
@@ -1711,8 +1814,11 @@
1711 1814 'commentId'
1712 1815 ),
1713 1816 'supports' => array(
1714 1817 'anchor' => true,
1818 + 'background' => array(
1819 + 'gradient' => true
1820 + ),
1715 1821 'color' => array(
1716 1822 'gradients' => true,
1717 1823 'link' => true,
1718 1824 'text' => false,
@@ -1831,10 +1937,20 @@
1831 1937 'wide',
1832 1938 'full'
1833 1939 ),
1834 1940 'html' => false,
1941 + 'background' => array(
1942 + 'backgroundImage' => true,
1943 + 'backgroundSize' => true,
1944 + 'gradient' => true,
1945 + '__experimentalDefaultControls' => array(
1946 + 'backgroundImage' => true,
1947 + 'gradient' => true
1948 + )
1949 + ),
1835 1950 'color' => array(
1836 1951 'gradients' => true,
1952 + 'button' => true,
1837 1953 'heading' => true,
1838 1954 'link' => true,
1839 1955 '__experimentalDefaultControls' => array(
1840 1956 'background' => true,
@@ -1912,8 +2028,11 @@
1912 2028 'anchor' => true,
1913 2029 'align' => true,
1914 2030 'reusable' => false,
1915 2031 'html' => false,
2032 + 'background' => array(
2033 + 'gradient' => true
2034 + ),
1916 2035 'color' => array(
1917 2036 'gradients' => true,
1918 2037 'link' => true,
1919 2038 '__experimentalDefaultControls' => array(
@@ -1972,8 +2091,11 @@
1972 2091 'supports' => array(
1973 2092 'anchor' => true,
1974 2093 'reusable' => false,
1975 2094 'html' => false,
2095 + 'background' => array(
2096 + 'gradient' => true
2097 + ),
1976 2098 'color' => array(
1977 2099 'gradients' => true,
1978 2100 'text' => false,
1979 2101 '__experimentalDefaultControls' => array(
@@ -2015,8 +2137,11 @@
2015 2137 'supports' => array(
2016 2138 'anchor' => true,
2017 2139 'reusable' => false,
2018 2140 'html' => false,
2141 + 'background' => array(
2142 + 'gradient' => true
2143 + ),
2019 2144 'color' => array(
2020 2145 'gradients' => true,
2021 2146 'text' => false,
2022 2147 '__experimentalDefaultControls' => array(
@@ -2071,8 +2196,14 @@
2071 2196 'supports' => array(
2072 2197 'anchor' => true,
2073 2198 'reusable' => false,
2074 2199 'html' => false,
2200 + 'background' => array(
2201 + 'gradient' => true,
2202 + '__experimentalDefaultControls' => array(
2203 + 'gradient' => true
2204 + )
2205 + ),
2075 2206 'color' => array(
2076 2207 'gradients' => true,
2077 2208 'text' => false,
2078 2209 '__experimentalDefaultControls' => array(
@@ -2132,8 +2263,11 @@
2132 2263 'supports' => array(
2133 2264 'anchor' => true,
2134 2265 'align' => true,
2135 2266 'html' => false,
2267 + 'background' => array(
2268 + 'gradient' => true
2269 + ),
2136 2270 '__experimentalBorder' => array(
2137 2271 'radius' => true,
2138 2272 'color' => true,
2139 2273 'width' => true,
@@ -2266,8 +2400,19 @@
2266 2400 'type' => 'string',
2267 2401 'source' => 'attribute',
2268 2402 'selector' => 'video',
2269 2403 'attribute' => 'poster'
2404 + ),
2405 + 'allowedVideoProviders' => array(
2406 + 'type' => 'array',
2407 + 'default' => array(
2408 + 'youtube',
2409 + 'vimeo',
2410 + 'videopress',
2411 + 'animoto',
2412 + 'tiktok',
2413 + 'wordpress-tv'
2414 + )
2270 2415 )
2271 2416 ),
2272 2417 'usesContext' => array(
2273 2418 'postId',
@@ -2273,8 +2418,9 @@
2273 2418 'postId',
2274 2419 'postType'
2275 2420 ),
2276 2421 'supports' => array(
2422 + '__experimentalOnEnter' => true,
2277 2423 'anchor' => true,
2278 2424 'align' => true,
2279 2425 'html' => false,
2280 2426 'shadow' => true,
@@ -2386,11 +2532,22 @@
2386 2532 'wide',
2387 2533 'full'
2388 2534 ),
2389 2535 'anchor' => true,
2536 + 'background' => array(
2537 + 'backgroundImage' => true,
2538 + 'backgroundSize' => true,
2539 + 'gradient' => true,
2540 + '__experimentalDefaultControls' => array(
2541 + 'backgroundImage' => true,
2542 + 'gradient' => true
2543 + )
2544 + ),
2390 2545 'color' => array(
2391 2546 'gradients' => true,
2392 2547 'link' => true,
2548 + 'heading' => true,
2549 + 'button' => true,
2393 2550 '__experimentalDefaultControls' => array(
2394 2551 'background' => true,
2395 2552 'text' => true
2396 2553 )
@@ -2400,8 +2557,9 @@
2400 2557 'width' => true,
2401 2558 'style' => true
2402 2559 ),
2403 2560 'html' => false,
2561 + 'shadow' => true,
2404 2562 'spacing' => array(
2405 2563 'margin' => true,
2406 2564 'padding' => true,
2407 2565 'blockGap' => true,
@@ -2559,8 +2717,17 @@
2559 2717 ),
2560 2718 'supports' => array(
2561 2719 'anchor' => true,
2562 2720 'align' => true,
2721 + 'background' => array(
2722 + 'backgroundImage' => true,
2723 + 'backgroundSize' => true,
2724 + 'gradient' => true,
2725 + '__experimentalDefaultControls' => array(
2726 + 'backgroundImage' => true,
2727 + 'gradient' => true
2728 + )
2729 + ),
2563 2730 'spacing' => array(
2564 2731 'margin' => true,
2565 2732 'padding' => true
2566 2733 ),
@@ -2606,8 +2773,17 @@
2606 2773 'postType'
2607 2774 ),
2608 2775 'supports' => array(
2609 2776 'anchor' => true,
2777 + 'background' => array(
2778 + 'backgroundImage' => true,
2779 + 'backgroundSize' => true,
2780 + 'gradient' => true,
2781 + '__experimentalDefaultControls' => array(
2782 + 'backgroundImage' => true,
2783 + 'gradient' => true
2784 + )
2785 + ),
2610 2786 '__experimentalBorder' => array(
2611 2787 'radius' => true,
2612 2788 'color' => true,
2613 2789 'width' => true,
@@ -2631,8 +2807,9 @@
2631 2807 'html' => false,
2632 2808 'multiple' => false,
2633 2809 'reusable' => false,
2634 2810 'inserter' => false,
2811 + 'shadow' => true,
2635 2812 'spacing' => array(
2636 2813 'margin' => true,
2637 2814 'padding' => true,
2638 2815 '__experimentalDefaultControls' => array(
@@ -2659,212 +2836,8 @@
2659 2836 )
2660 2837 ),
2661 2838 'style' => 'wp-block-footnotes'
2662 2839 ),
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 2840 'freeform' => array(
2868 2841 '$schema' => 'https://schemas.wp.org/trunk/block.json',
2869 2842 'apiVersion' => 3,
2870 2843 'name' => 'core/freeform',
@@ -2895,9 +2868,11 @@
2895 2868 'name' => 'core/gallery',
2896 2869 'title' => 'Gallery',
2897 2870 'category' => 'media',
2898 2871 'usesContext' => array(
2899 - 'galleryId'
2872 + 'galleryId',
2873 + 'postId',
2874 + 'postType'
2900 2875 ),
2901 2876 'allowedBlocks' => array(
2902 2877 'core/image'
2903 2878 ),
@@ -2962,8 +2937,11 @@
2962 2937 'default' => array(
2963 2938
2964 2939 )
2965 2940 ),
2941 + 'dynamicContent' => array(
2942 + 'type' => 'object'
2943 + ),
2966 2944 'navigationButtonType' => array(
2967 2945 'type' => 'string',
2968 2946 'default' => 'icon',
2969 2947 'enum' => array(
@@ -3031,8 +3009,17 @@
3031 3009 ),
3032 3010 'supports' => array(
3033 3011 'anchor' => true,
3034 3012 'align' => true,
3013 + 'background' => array(
3014 + 'backgroundImage' => true,
3015 + 'backgroundSize' => true,
3016 + 'gradient' => true,
3017 + '__experimentalDefaultControls' => array(
3018 + 'backgroundImage' => true,
3019 + 'gradient' => true
3020 + )
3021 + ),
3035 3022 '__experimentalBorder' => array(
3036 3023 'radius' => true,
3037 3024 'color' => true,
3038 3025 'width' => true,
@@ -3053,14 +3040,14 @@
3053 3040 'spacing' => array(
3054 3041 'margin' => true,
3055 3042 'padding' => true,
3056 3043 'blockGap' => array(
3057 - 'horizontal',
3058 - 'vertical'
3044 + 'sides' => array(
3045 + 'horizontal',
3046 + 'vertical'
3047 + ),
3048 + '__experimentalDefault' => 'var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) )'
3059 3049 ),
3060 - '__experimentalSkipSerialization' => array(
3061 - 'blockGap'
3062 - ),
3063 3050 '__experimentalDefaultControls' => array(
3064 3051 'blockGap' => true,
3065 3052 'margin' => false,
3066 3053 'padding' => false
@@ -3073,9 +3060,14 @@
3073 3060 ),
3074 3061 'layout' => array(
3075 3062 'allowSwitching' => false,
3076 3063 'allowInheriting' => false,
3077 - 'allowEditing' => false,
3064 + 'allowEditing' => true,
3065 + 'allowOrientation' => false,
3066 + 'allowJustification' => false,
3067 + 'allowVerticalAlignment' => false,
3068 + 'allowWrap' => false,
3069 + 'allowSizingOnChildren' => true,
3078 3070 'default' => array(
3079 3071 'type' => 'flex'
3080 3072 )
3081 3073 ),
@@ -3120,9 +3112,8 @@
3120 3112 )
3121 3113 ),
3122 3114 'supports' => array(
3123 3115 '__experimentalOnEnter' => true,
3124 - '__experimentalOnMerge' => true,
3125 3116 '__experimentalSettings' => true,
3126 3117 'align' => array(
3127 3118 'wide',
3128 3119 'full'
@@ -3155,9 +3146,12 @@
3155 3146 'top',
3156 3147 'bottom'
3157 3148 ),
3158 3149 'padding' => true,
3159 - 'blockGap' => true,
3150 + 'blockGap' => array(
3151 + 'horizontal',
3152 + 'vertical'
3153 + ),
3160 3154 '__experimentalDefaultControls' => array(
3161 3155 'padding' => true,
3162 3156 'blockGap' => true
3163 3157 )
@@ -3183,8 +3177,9 @@
3183 3177 ),
3184 3178 'typography' => array(
3185 3179 'fontSize' => true,
3186 3180 'lineHeight' => true,
3181 + 'textColumns' => true,
3187 3182 '__experimentalFontFamily' => true,
3188 3183 '__experimentalFontWeight' => true,
3189 3184 '__experimentalFontStyle' => true,
3190 3185 '__experimentalTextTransform' => true,
@@ -3242,8 +3237,17 @@
3242 3237 ),
3243 3238 'anchor' => true,
3244 3239 'className' => true,
3245 3240 'splitting' => true,
3241 + 'background' => array(
3242 + 'backgroundImage' => true,
3243 + 'backgroundSize' => true,
3244 + 'gradient' => true,
3245 + '__experimentalDefaultControls' => array(
3246 + 'backgroundImage' => true,
3247 + 'gradient' => true
3248 + )
3249 + ),
3246 3250 '__experimentalBorder' => array(
3247 3251 'color' => true,
3248 3252 'radius' => true,
3249 3253 'style' => true,
@@ -3256,8 +3260,9 @@
3256 3260 'background' => true,
3257 3261 'text' => true
3258 3262 )
3259 3263 ),
3264 + 'shadow' => true,
3260 3265 'spacing' => array(
3261 3266 'margin' => true,
3262 3267 'padding' => true,
3263 3268 '__experimentalDefaultControls' => array(
@@ -3275,8 +3280,9 @@
3275 3280 '__experimentalLetterSpacing' => true,
3276 3281 '__experimentalTextTransform' => true,
3277 3282 '__experimentalTextDecoration' => true,
3278 3283 '__experimentalWritingMode' => true,
3284 + 'textShadow' => true,
3279 3285 'fitText' => true,
3280 3286 '__experimentalDefaultControls' => array(
3281 3287 'fontSize' => true
3282 3288 )
@@ -3304,8 +3310,15 @@
3304 3310 'attributes' => array(
3305 3311 'label' => array(
3306 3312 'type' => 'string',
3307 3313 'role' => 'content'
3314 + ),
3315 + 'opensInNewTab' => array(
3316 + 'type' => 'boolean',
3317 + 'default' => false
3318 + ),
3319 + 'description' => array(
3320 + 'type' => 'string'
3308 3321 )
3309 3322 ),
3310 3323 'usesContext' => array(
3311 3324 'textColor',
@@ -3319,8 +3332,13 @@
3319 3332 'supports' => array(
3320 3333 'anchor' => true,
3321 3334 'reusable' => false,
3322 3335 'html' => false,
3336 + 'background' => array(
3337 + 'backgroundImage' => true,
3338 + 'backgroundSize' => true,
3339 + 'gradient' => true
3340 + ),
3323 3341 'typography' => array(
3324 3342 'fontSize' => true,
3325 3343 'lineHeight' => true,
3326 3344 '__experimentalFontFamily' => true,
@@ -3332,8 +3350,21 @@
3332 3350 '__experimentalDefaultControls' => array(
3333 3351 'fontSize' => true
3334 3352 )
3335 3353 ),
3354 + 'shadow' => true,
3355 + '__experimentalBorder' => array(
3356 + 'color' => true,
3357 + 'radius' => true,
3358 + 'style' => true,
3359 + 'width' => true,
3360 + '__experimentalDefaultControls' => array(
3361 + 'color' => false,
3362 + 'radius' => false,
3363 + 'style' => false,
3364 + 'width' => false
3365 + )
3366 + ),
3336 3367 'interactivity' => array(
3337 3368 'clientNavigation' => true
3338 3369 )
3339 3370 ),
@@ -3353,10 +3384,9 @@
3353 3384 'textdomain' => 'default',
3354 3385 'attributes' => array(
3355 3386 'content' => array(
3356 3387 'type' => 'string',
3357 - 'source' => 'raw',
3358 - 'role' => 'content'
3388 + 'role' => 'local'
3359 3389 )
3360 3390 ),
3361 3391 'supports' => array(
3362 3392 'customClassName' => false,
@@ -3364,8 +3394,9 @@
3364 3394 'html' => false,
3365 3395 'interactivity' => array(
3366 3396 'clientNavigation' => true
3367 3397 ),
3398 + 'listView' => true,
3368 3399 'customCSS' => false,
3369 3400 'visibility' => false
3370 3401 ),
3371 3402 'editorStyle' => 'wp-block-html-editor'
@@ -3385,8 +3416,20 @@
3385 3416 'attributes' => array(
3386 3417 'icon' => array(
3387 3418 'type' => 'string',
3388 3419 'role' => 'content'
3420 + ),
3421 + 'flipHorizontal' => array(
3422 + 'type' => 'boolean',
3423 + 'default' => false
3424 + ),
3425 + 'flipVertical' => array(
3426 + 'type' => 'boolean',
3427 + 'default' => false
3428 + ),
3429 + 'rotation' => array(
3430 + 'type' => 'number',
3431 + 'default' => 0
3389 3432 )
3390 3433 ),
3391 3434 'supports' => array(
3392 3435 'anchor' => true,
@@ -3399,11 +3442,13 @@
3399 3442 'right'
3400 3443 ),
3401 3444 'html' => false,
3402 3445 'color' => array(
3403 - 'background' => true,
3404 - 'text' => true,
3405 - '__experimentalSkipSerialization' => true
3446 + '__experimentalSkipSerialization' => true,
3447 + '__experimentalDefaultControls' => array(
3448 + 'background' => true,
3449 + 'text' => true
3450 + )
3406 3451 ),
3407 3452 'interactivity' => array(
3408 3453 'clientNavigation' => true
3409 3454 ),
@@ -3561,8 +3606,12 @@
3561 3606 'type' => 'string',
3562 3607 'source' => 'attribute',
3563 3608 'selector' => 'figure > a',
3564 3609 'attribute' => 'target'
3610 + ),
3611 + 'isDecorative' => array(
3612 + 'type' => 'boolean',
3613 + 'default' => false
3565 3614 )
3566 3615 ),
3567 3616 'supports' => array(
3568 3617 'interactivity' => true,
@@ -3599,8 +3648,9 @@
3599 3648 '__experimentalSkipSerialization' => true
3600 3649 )
3601 3650 ),
3602 3651 'selectors' => array(
3652 + 'dimensions' => '.wp-block-image img, .wp-block-image .components-placeholder',
3603 3653 'border' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder',
3604 3654 'shadow' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder',
3605 3655 'filter' => array(
3606 3656 'duotone' => '.wp-block-image img, .wp-block-image .components-placeholder'
@@ -3658,8 +3708,17 @@
3658 3708 ),
3659 3709 'supports' => array(
3660 3710 'anchor' => true,
3661 3711 'align' => true,
3712 + 'background' => array(
3713 + 'backgroundImage' => true,
3714 + 'backgroundSize' => true,
3715 + 'gradient' => true,
3716 + '__experimentalDefaultControls' => array(
3717 + 'backgroundImage' => true,
3718 + 'gradient' => true
3719 + )
3720 + ),
3662 3721 'color' => array(
3663 3722 'gradients' => true,
3664 3723 'link' => true,
3665 3724 '__experimentalDefaultControls' => array(
@@ -3672,8 +3731,9 @@
3672 3731 'spacing' => array(
3673 3732 'margin' => true,
3674 3733 'padding' => true
3675 3734 ),
3735 + 'shadow' => true,
3676 3736 'typography' => array(
3677 3737 'fontSize' => true,
3678 3738 'lineHeight' => true,
3679 3739 '__experimentalFontFamily' => true,
@@ -3736,16 +3796,8 @@
3736 3796 'displayPostDate' => array(
3737 3797 'type' => 'boolean',
3738 3798 'default' => false
3739 3799 ),
3740 - 'postLayout' => array(
3741 - 'type' => 'string',
3742 - 'default' => 'list'
3743 - ),
3744 - 'columns' => array(
3745 - 'type' => 'number',
3746 - 'default' => 3
3747 - ),
3748 3800 'order' => array(
3749 3801 'type' => 'string',
3750 3802 'default' => 'desc'
3751 3803 ),
@@ -3785,8 +3837,18 @@
3785 3837 'supports' => array(
3786 3838 'anchor' => true,
3787 3839 'align' => true,
3788 3840 'html' => false,
3841 + 'layout' => true,
3842 + 'background' => array(
3843 + 'backgroundImage' => true,
3844 + 'backgroundSize' => true,
3845 + 'gradient' => true,
3846 + '__experimentalDefaultControls' => array(
3847 + 'backgroundImage' => true,
3848 + 'gradient' => true
3849 + )
3850 + ),
3789 3851 'color' => array(
3790 3852 'gradients' => true,
3791 3853 'link' => true,
3792 3854 '__experimentalDefaultControls' => array(
@@ -3796,9 +3858,15 @@
3796 3858 )
3797 3859 ),
3798 3860 'spacing' => array(
3799 3861 'margin' => true,
3800 - 'padding' => true
3862 + 'padding' => true,
3863 + 'blockGap' => array(
3864 + '__experimentalDefault' => '1.25em'
3865 + ),
3866 + '__experimentalDefaultControls' => array(
3867 + 'blockGap' => true
3868 + )
3801 3869 ),
3802 3870 'typography' => array(
3803 3871 'fontSize' => true,
3804 3872 'lineHeight' => true,
@@ -3823,8 +3891,9 @@
3823 3891 'width' => true,
3824 3892 'style' => true
3825 3893 )
3826 3894 ),
3895 + 'shadow' => true,
3827 3896 'interactivity' => array(
3828 3897 'clientNavigation' => true
3829 3898 )
3830 3899 ),
@@ -3875,8 +3944,12 @@
3875 3944 )
3876 3945 ),
3877 3946 'supports' => array(
3878 3947 'anchor' => true,
3948 + 'align' => array(
3949 + 'wide',
3950 + 'full'
3951 + ),
3879 3952 'html' => false,
3880 3953 '__experimentalBorder' => array(
3881 3954 'color' => true,
3882 3955 'radius' => true,
@@ -4028,8 +4101,17 @@
4028 4101 ),
4029 4102 'supports' => array(
4030 4103 'anchor' => true,
4031 4104 'className' => true,
4105 + 'background' => array(
4106 + 'backgroundImage' => true,
4107 + 'backgroundSize' => true,
4108 + 'gradient' => true,
4109 + '__experimentalDefaultControls' => array(
4110 + 'backgroundImage' => true,
4111 + 'gradient' => true
4112 + )
4113 + ),
4032 4114 'color' => array(
4033 4115 'background' => true,
4034 4116 'text' => false,
4035 4117 'gradients' => true,
@@ -4061,8 +4143,9 @@
4061 4143 'color' => true,
4062 4144 'width' => true,
4063 4145 'style' => true
4064 4146 ),
4147 + 'shadow' => true,
4065 4148 'interactivity' => array(
4066 4149 'clientNavigation' => true
4067 4150 )
4068 4151 ),
@@ -4090,8 +4173,17 @@
4090 4173 'radius' => true,
4091 4174 'style' => true,
4092 4175 'width' => true
4093 4176 ),
4177 + 'background' => array(
4178 + 'backgroundImage' => true,
4179 + 'backgroundSize' => true,
4180 + 'gradient' => true,
4181 + '__experimentalDefaultControls' => array(
4182 + 'backgroundImage' => true,
4183 + 'gradient' => true
4184 + )
4185 + ),
4094 4186 'color' => array(
4095 4187 'gradients' => true,
4096 4188 '__experimentalDefaultControls' => array(
4097 4189 'background' => true,
@@ -4097,8 +4189,9 @@
4097 4189 'background' => true,
4098 4190 'text' => true
4099 4191 )
4100 4192 ),
4193 + 'shadow' => true,
4101 4194 'spacing' => array(
4102 4195 'margin' => true,
4103 4196 'padding' => true,
4104 4197 '__experimentalDefaultControls' => array(
@@ -4110,13 +4203,18 @@
4110 4203 'fontSize' => true,
4111 4204 '__experimentalDefaultControls' => array(
4112 4205 'fontSize' => true
4113 4206 )
4207 + ),
4208 + 'interactivity' => array(
4209 + 'clientNavigation' => true
4114 4210 )
4115 4211 ),
4116 4212 'attributes' => array(
4117 4213 'latex' => array(
4118 4214 'type' => 'string',
4215 + 'source' => 'text',
4216 + 'selector' => 'math annotation[encoding="application/x-tex"]',
4119 4217 'role' => 'content'
4120 4218 ),
4121 4219 'mathML' => array(
4122 4220 'type' => 'string',
@@ -4251,8 +4349,9 @@
4251 4349 'color' => array(
4252 4350 'gradients' => true,
4253 4351 'heading' => true,
4254 4352 'link' => true,
4353 + 'button' => true,
4255 4354 '__experimentalDefaultControls' => array(
4256 4355 'background' => true,
4257 4356 'text' => true
4258 4357 )
@@ -4322,9 +4421,9 @@
4322 4421 'apiVersion' => 3,
4323 4422 'name' => 'core/more',
4324 4423 'title' => 'More',
4325 4424 'category' => 'design',
4326 - 'description' => 'Content before this block will be shown in the excerpt on your archives page.',
4425 + 'description' => 'Content before this block is shown in the excerpt on blog and archive pages. Where a theme shows the full content instead, visitors get a “Read more” link to the rest of the post.',
4327 4426 'keywords' => array(
4328 4427 'read more'
4329 4428 ),
4330 4429 'textdomain' => 'default',
@@ -4535,9 +4634,9 @@
4535 4634 'navigation-link' => array(
4536 4635 '$schema' => 'https://schemas.wp.org/trunk/block.json',
4537 4636 'apiVersion' => 3,
4538 4637 'name' => 'core/navigation-link',
4539 - 'title' => 'Custom Link',
4638 + 'title' => 'Navigation Link',
4540 4639 'category' => 'design',
4541 4640 'parent' => array(
4542 4641 'core/navigation'
4543 4642 ),
@@ -4622,9 +4721,9 @@
4622 4721 )
4623 4722 ),
4624 4723 'selectors' => array(
4625 4724 'states' => array(
4626 - '@current' => '.wp-block-navigation .current-menu-item'
4725 + '-current' => '.wp-block-navigation .current-menu-item'
4627 4726 )
4628 4727 ),
4629 4728 'editorStyle' => 'wp-block-navigation-link-editor',
4630 4729 'style' => 'wp-block-navigation-link'
@@ -4664,8 +4763,15 @@
4664 4763 'background' => true,
4665 4764 'text' => true
4666 4765 )
4667 4766 ),
4767 + 'shadow' => true,
4768 + '__experimentalBorder' => array(
4769 + 'color' => true,
4770 + 'radius' => true,
4771 + 'style' => true,
4772 + 'width' => true
4773 + ),
4668 4774 'spacing' => array(
4669 4775 'padding' => true,
4670 4776 '__experimentalDefaultControls' => array(
4671 4777 'padding' => true
@@ -4730,10 +4836,17 @@
4730 4836 'type' => 'string'
4731 4837 ),
4732 4838 'isTopLevelItem' => array(
4733 4839 'type' => 'boolean'
4840 + ),
4841 + 'isParentSubmenu' => array(
4842 + 'type' => 'boolean',
4843 + 'default' => true
4734 4844 )
4735 4845 ),
4846 + 'providesContext' => array(
4847 + 'core/isInsideSubmenu' => 'isParentSubmenu'
4848 + ),
4736 4849 'usesContext' => array(
4737 4850 'textColor',
4738 4851 'customTextColor',
4739 4852 'backgroundColor',
@@ -4766,12 +4879,18 @@
4766 4879 '__experimentalDefaultControls' => array(
4767 4880 'fontSize' => true
4768 4881 )
4769 4882 ),
4883 + 'shadow' => array(
4884 + '__experimentalSkipSerialization' => true
4885 + ),
4770 4886 'interactivity' => array(
4771 4887 'clientNavigation' => true
4772 4888 )
4773 4889 ),
4890 + 'selectors' => array(
4891 + 'shadow' => '.wp-block-navigation-submenu > .wp-block-navigation__submenu-container'
4892 + ),
4774 4893 'editorStyle' => 'wp-block-navigation-submenu-editor',
4775 4894 'style' => 'wp-block-navigation-submenu'
4776 4895 ),
4777 4896 'nextpage' => array(
@@ -4819,12 +4938,8 @@
4819 4938 'attributes' => array(
4820 4939 'parentPageID' => array(
4821 4940 'type' => 'integer',
4822 4941 'default' => 0
4823 - ),
4824 - 'isNested' => array(
4825 - 'type' => 'boolean',
4826 - 'default' => false
4827 4942 )
4828 4943 ),
4829 4944 'usesContext' => array(
4830 4945 'textColor',
@@ -4839,9 +4954,10 @@
4839 4954 'customFontSize',
4840 4955 'showSubmenuIcon',
4841 4956 'style',
4842 4957 'openSubmenusOnClick',
4843 - 'submenuVisibility'
4958 + 'submenuVisibility',
4959 + 'core/isInsideSubmenu'
4844 4960 ),
4845 4961 'supports' => array(
4846 4962 'anchor' => true,
4847 4963 'reusable' => false,
@@ -4861,8 +4977,17 @@
4861 4977 ),
4862 4978 'interactivity' => array(
4863 4979 'clientNavigation' => true
4864 4980 ),
4981 + 'background' => array(
4982 + 'backgroundImage' => true,
4983 + 'backgroundSize' => true,
4984 + 'gradient' => true,
4985 + '__experimentalDefaultControls' => array(
4986 + 'backgroundImage' => true,
4987 + 'gradient' => true
4988 + )
4989 + ),
4865 4990 'color' => array(
4866 4991 'text' => true,
4867 4992 'background' => true,
4868 4993 'link' => true,
@@ -4886,8 +5011,9 @@
4886 5011 'padding' => false,
4887 5012 'margin' => false
4888 5013 )
4889 5014 ),
5015 + 'shadow' => true,
4890 5016 'contentRole' => true
4891 5017 ),
4892 5018 'editorStyle' => 'wp-block-page-list-editor',
4893 5019 'style' => 'wp-block-page-list'
@@ -5030,8 +5156,9 @@
5030 5156 '__experimentalFontWeight' => true,
5031 5157 '__experimentalLetterSpacing' => true,
5032 5158 '__experimentalTextTransform' => true,
5033 5159 '__experimentalWritingMode' => true,
5160 + 'textShadow' => true,
5034 5161 'fitText' => true,
5035 5162 '__experimentalDefaultControls' => array(
5036 5163 'fontSize' => true
5037 5164 )
@@ -5076,9 +5203,8 @@
5076 5203 ),
5077 5204 'playlist' => array(
5078 5205 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5079 5206 'apiVersion' => 3,
5080 - '__experimental' => true,
5081 5207 'name' => 'core/playlist',
5082 5208 'title' => 'Playlist',
5083 5209 'category' => 'media',
5084 5210 'description' => 'Embed a simple playlist.',
@@ -5090,11 +5216,8 @@
5090 5216 'allowedBlocks' => array(
5091 5217 'core/playlist-track'
5092 5218 ),
5093 5219 'attributes' => array(
5094 - 'currentTrack' => array(
5095 - 'type' => 'string'
5096 - ),
5097 5220 'type' => array(
5098 5221 'type' => 'string',
5099 5222 'default' => 'audio'
5100 5223 ),
@@ -5109,8 +5232,12 @@
5109 5232 'showImages' => array(
5110 5233 'type' => 'boolean',
5111 5234 'default' => true
5112 5235 ),
5236 + 'showPlayButtonArtwork' => array(
5237 + 'type' => 'boolean',
5238 + 'default' => false
5239 + ),
5113 5240 'showArtists' => array(
5114 5241 'type' => 'boolean',
5115 5242 'default' => true
5116 5243 ),
@@ -5117,8 +5244,36 @@
5117 5244 'showNumbers' => array(
5118 5245 'type' => 'boolean',
5119 5246 'default' => true
5120 5247 ),
5248 + 'showTrackLength' => array(
5249 + 'type' => 'boolean',
5250 + 'default' => true
5251 + ),
5252 + 'waveformStyle' => array(
5253 + 'type' => 'string',
5254 + 'enum' => array(
5255 + 'bars',
5256 + 'mirror',
5257 + 'line',
5258 + 'blocks',
5259 + 'dots',
5260 + 'seekbar'
5261 + ),
5262 + 'default' => 'bars'
5263 + ),
5264 + 'waveformColor' => array(
5265 + 'type' => 'string'
5266 + ),
5267 + 'waveformGradient' => array(
5268 + 'type' => 'string'
5269 + ),
5270 + 'waveformBackgroundColor' => array(
5271 + 'type' => 'string'
5272 + ),
5273 + 'waveformBackgroundGradient' => array(
5274 + 'type' => 'string'
5275 + ),
5121 5276 'caption' => array(
5122 5277 'type' => 'string'
5123 5278 )
5124 5279 ),
@@ -5123,9 +5278,9 @@
5123 5278 )
5124 5279 ),
5125 5280 'providesContext' => array(
5126 5281 'showArtists' => 'showArtists',
5127 - 'currentTrack' => 'currentTrack'
5282 + 'showImages' => 'showImages'
5128 5283 ),
5129 5284 'supports' => array(
5130 5285 'anchor' => true,
5131 5286 'align' => true,
@@ -5138,22 +5293,27 @@
5138 5293 )
5139 5294 ),
5140 5295 '__experimentalBorder' => array(
5141 5296 'color' => true,
5142 - 'radius' => true,
5143 5297 'style' => true,
5144 5298 'width' => true,
5145 5299 '__experimentalDefaultControls' => array(
5146 5300 'color' => true,
5147 - 'radius' => true,
5148 5301 'style' => true,
5149 5302 'width' => true
5150 5303 )
5151 5304 ),
5152 5305 'interactivity' => true,
5306 + 'shadow' => true,
5153 5307 'spacing' => array(
5154 5308 'margin' => true,
5155 5309 'padding' => true
5310 + ),
5311 + 'typography' => array(
5312 + 'fontSize' => true,
5313 + '__experimentalDefaultControls' => array(
5314 + 'fontSize' => true
5315 + )
5156 5316 )
5157 5317 ),
5158 5318 'editorStyle' => 'wp-block-playlist-editor',
5159 5319 'style' => 'wp-block-playlist'
@@ -5160,9 +5320,8 @@
5160 5320 ),
5161 5321 'playlist-track' => array(
5162 5322 '$schema' => 'https://schemas.wp.org/trunk/block.json',
5163 5323 'apiVersion' => 3,
5164 - '__experimental' => true,
5165 5324 'name' => 'core/playlist-track',
5166 5325 'title' => 'Playlist track',
5167 5326 'category' => 'media',
5168 5327 'parent' => array(
@@ -5175,9 +5334,9 @@
5175 5334 ),
5176 5335 'textdomain' => 'default',
5177 5336 'usesContext' => array(
5178 5337 'showArtists',
5179 - 'currentTrack'
5338 + 'showImages'
5180 5339 ),
5181 5340 'attributes' => array(
5182 5341 'blob' => array(
5183 5342 'type' => 'string',
@@ -5183,15 +5342,14 @@
5183 5342 'type' => 'string',
5184 5343 'role' => 'local'
5185 5344 ),
5186 5345 'id' => array(
5187 - 'type' => 'number'
5346 + 'type' => 'number',
5347 + 'role' => 'content'
5188 5348 ),
5189 - 'uniqueId' => array(
5190 - 'type' => 'string'
5191 - ),
5192 5349 'src' => array(
5193 - 'type' => 'string'
5350 + 'type' => 'string',
5351 + 'role' => 'content'
5194 5352 ),
5195 5353 'type' => array(
5196 5354 'type' => 'string',
5197 5355 'default' => 'audio'
@@ -5196,21 +5354,30 @@
5196 5354 'type' => 'string',
5197 5355 'default' => 'audio'
5198 5356 ),
5199 5357 'album' => array(
5200 - 'type' => 'string'
5358 + 'type' => 'string',
5359 + 'role' => 'content'
5201 5360 ),
5202 5361 'artist' => array(
5203 - 'type' => 'string'
5362 + 'type' => 'string',
5363 + 'role' => 'content'
5204 5364 ),
5205 5365 'image' => array(
5206 - 'type' => 'string'
5366 + 'type' => 'string',
5367 + 'role' => 'content'
5207 5368 ),
5369 + 'imageAlt' => array(
5370 + 'type' => 'string',
5371 + 'role' => 'content'
5372 + ),
5208 5373 'length' => array(
5209 - 'type' => 'string'
5374 + 'type' => 'string',
5375 + 'role' => 'content'
5210 5376 ),
5211 5377 'title' => array(
5212 - 'type' => 'string'
5378 + 'type' => 'string',
5379 + 'role' => 'content'
5213 5380 )
5214 5381 ),
5215 5382 'supports' => array(
5216 5383 'html' => false,
@@ -5339,8 +5506,11 @@
5339 5506 'spacing' => array(
5340 5507 'margin' => true,
5341 5508 'padding' => true
5342 5509 ),
5510 + 'background' => array(
5511 + 'gradient' => true
5512 + ),
5343 5513 'color' => array(
5344 5514 'gradients' => true,
5345 5515 'link' => true,
5346 5516 '__experimentalDefaultControls' => array(
@@ -5351,8 +5521,9 @@
5351 5521 'typography' => array(
5352 5522 'fontSize' => true,
5353 5523 'lineHeight' => true,
5354 5524 'textAlign' => true,
5525 + 'textColumns' => true,
5355 5526 '__experimentalFontFamily' => true,
5356 5527 '__experimentalFontWeight' => true,
5357 5528 '__experimentalFontStyle' => true,
5358 5529 '__experimentalTextTransform' => true,
@@ -5409,8 +5580,13 @@
5409 5580 ),
5410 5581 'supports' => array(
5411 5582 'anchor' => true,
5412 5583 'html' => false,
5584 + 'background' => array(
5585 + 'backgroundImage' => true,
5586 + 'backgroundSize' => true,
5587 + 'gradient' => true
5588 + ),
5413 5589 'spacing' => array(
5414 5590 'margin' => true,
5415 5591 'padding' => true
5416 5592 ),
@@ -5504,8 +5680,11 @@
5504 5680 ),
5505 5681 'supports' => array(
5506 5682 'anchor' => true,
5507 5683 'html' => false,
5684 + 'background' => array(
5685 + 'gradient' => true
5686 + ),
5508 5687 'color' => array(
5509 5688 'gradients' => true,
5510 5689 '__experimentalDefaultControls' => array(
5511 5690 'background' => true,
@@ -5556,9 +5735,19 @@
5556 5735 ),
5557 5736 'supports' => array(
5558 5737 'anchor' => true,
5559 5738 'html' => false,
5739 + 'background' => array(
5740 + 'backgroundImage' => true,
5741 + 'backgroundSize' => true,
5742 + 'gradient' => true,
5743 + '__experimentalDefaultControls' => array(
5744 + 'backgroundImage' => true,
5745 + 'gradient' => true
5746 + )
5747 + ),
5560 5748 'color' => array(
5749 + 'button' => true,
5561 5750 'gradients' => true,
5562 5751 'heading' => true,
5563 5752 'link' => true,
5564 5753 '__experimentalDefaultControls' => array(
@@ -5705,8 +5894,9 @@
5705 5894 'layout' => true,
5706 5895 'background' => array(
5707 5896 'backgroundImage' => true,
5708 5897 'backgroundSize' => true,
5898 + 'gradient' => true,
5709 5899 '__experimentalDefaultControls' => array(
5710 5900 'backgroundImage' => true
5711 5901 )
5712 5902 ),
@@ -5712,8 +5902,9 @@
5712 5902 ),
5713 5903 'dimensions' => array(
5714 5904 'minHeight' => true
5715 5905 ),
5906 + 'shadow' => true,
5716 5907 'spacing' => array(
5717 5908 'blockGap' => true,
5718 5909 'padding' => true,
5719 5910 'margin' => true,
@@ -5723,8 +5914,9 @@
5723 5914 )
5724 5915 ),
5725 5916 'color' => array(
5726 5917 'gradients' => true,
5918 + 'button' => true,
5727 5919 'heading' => true,
5728 5920 'link' => true,
5729 5921 '__experimentalDefaultControls' => array(
5730 5922 'background' => false,
@@ -5733,8 +5925,9 @@
5733 5925 ),
5734 5926 'typography' => array(
5735 5927 'fontSize' => true,
5736 5928 'lineHeight' => true,
5929 + 'textAlign' => true,
5737 5930 '__experimentalFontFamily' => true,
5738 5931 '__experimentalFontWeight' => true,
5739 5932 '__experimentalFontStyle' => true,
5740 5933 '__experimentalTextTransform' => true,
@@ -5795,8 +5988,11 @@
5795 5988 ),
5796 5989 'supports' => array(
5797 5990 'anchor' => true,
5798 5991 'html' => false,
5992 + 'background' => array(
5993 + 'gradient' => true
5994 + ),
5799 5995 'color' => array(
5800 5996 'gradients' => true,
5801 5997 'link' => true,
5802 5998 '__experimentalDefaultControls' => array(
@@ -5872,8 +6068,13 @@
5872 6068 ),
5873 6069 'supports' => array(
5874 6070 'anchor' => true,
5875 6071 'html' => false,
6072 + 'background' => array(
6073 + 'backgroundImage' => true,
6074 + 'backgroundSize' => true,
6075 + 'gradient' => true
6076 + ),
5876 6077 'color' => array(
5877 6078 'gradients' => true,
5878 6079 'link' => true,
5879 6080 '__experimentalDefaultControls' => array(
@@ -5881,8 +6082,9 @@
5881 6082 'text' => true,
5882 6083 'link' => true
5883 6084 )
5884 6085 ),
6086 + 'shadow' => true,
5885 6087 'spacing' => array(
5886 6088 'margin' => true,
5887 6089 'padding' => true
5888 6090 ),
@@ -6029,8 +6231,9 @@
6029 6231 'clientNavigation' => true
6030 6232 )
6031 6233 ),
6032 6234 'selectors' => array(
6235 + 'dimensions' => '.wp-block-post-featured-image img',
6033 6236 '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',
6034 6237 'shadow' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .components-placeholder',
6035 6238 'filter' => array(
6036 6239 '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,12 +6300,42 @@
6097 6300 '__experimentalDefaultControls' => array(
6098 6301 'fontSize' => true
6099 6302 )
6100 6303 ),
6304 + 'shadow' => array(
6305 + '__experimentalSkipSerialization' => true
6306 + ),
6101 6307 'interactivity' => array(
6102 6308 'clientNavigation' => true
6309 + ),
6310 + 'spacing' => array(
6311 + '__experimentalSkipSerialization' => true,
6312 + 'margin' => true,
6313 + 'padding' => true,
6314 + '__experimentalDefaultControls' => array(
6315 + 'margin' => false,
6316 + 'padding' => false
6317 + )
6318 + ),
6319 + '__experimentalBorder' => array(
6320 + '__experimentalSkipSerialization' => true,
6321 + 'color' => true,
6322 + 'radius' => true,
6323 + 'style' => true,
6324 + 'width' => true,
6325 + '__experimentalDefaultControls' => array(
6326 + 'color' => false,
6327 + 'radius' => false,
6328 + 'style' => false,
6329 + 'width' => false
6330 + )
6103 6331 )
6104 6332 ),
6333 + 'selectors' => array(
6334 + 'border' => '.wp-block-post-navigation-link:not(:empty)',
6335 + 'shadow' => '.wp-block-post-navigation-link:not(:empty)',
6336 + 'spacing' => '.wp-block-post-navigation-link:not(:empty)'
6337 + ),
6105 6338 'style' => 'wp-block-post-navigation-link'
6106 6339 ),
6107 6340 'post-template' => array(
6108 6341 '$schema' => 'https://schemas.wp.org/trunk/block.json',
@@ -6121,9 +6354,10 @@
6121 6354 'displayLayout',
6122 6355 'templateSlug',
6123 6356 'previewPostType',
6124 6357 'enhancedPagination',
6125 - 'postType'
6358 + 'postType',
6359 + 'postId'
6126 6360 ),
6127 6361 'supports' => array(
6128 6362 'anchor' => true,
6129 6363 'reusable' => false,
@@ -6132,11 +6366,22 @@
6132 6366 'wide',
6133 6367 'full'
6134 6368 ),
6135 6369 'layout' => true,
6370 + 'background' => array(
6371 + 'backgroundImage' => true,
6372 + 'backgroundSize' => true,
6373 + 'gradient' => true,
6374 + '__experimentalDefaultControls' => array(
6375 + 'backgroundImage' => true,
6376 + 'gradient' => true
6377 + )
6378 + ),
6136 6379 'color' => array(
6137 6380 'gradients' => true,
6138 6381 'link' => true,
6382 + 'heading' => true,
6383 + 'button' => true,
6139 6384 '__experimentalDefaultControls' => array(
6140 6385 'background' => true,
6141 6386 'text' => true
6142 6387 )
@@ -6173,9 +6418,10 @@
6173 6418 'radius' => true,
6174 6419 'color' => true,
6175 6420 'width' => true,
6176 6421 'style' => true
6177 - )
6422 + ),
6423 + 'shadow' => true
6178 6424 ),
6179 6425 'style' => 'wp-block-post-template',
6180 6426 'editorStyle' => 'wp-block-post-template-editor'
6181 6427 ),
@@ -6215,8 +6461,13 @@
6215 6461 ),
6216 6462 'supports' => array(
6217 6463 'anchor' => true,
6218 6464 'html' => false,
6465 + 'background' => array(
6466 + 'backgroundImage' => true,
6467 + 'backgroundSize' => true,
6468 + 'gradient' => true
6469 + ),
6219 6470 'color' => array(
6220 6471 'gradients' => true,
6221 6472 'link' => true,
6222 6473 '__experimentalDefaultControls' => array(
@@ -6224,8 +6475,9 @@
6224 6475 'text' => true,
6225 6476 'link' => true
6226 6477 )
6227 6478 ),
6479 + 'shadow' => true,
6228 6480 'spacing' => array(
6229 6481 'margin' => true,
6230 6482 'padding' => true
6231 6483 ),
@@ -6288,8 +6540,13 @@
6288 6540 )
6289 6541 ),
6290 6542 'supports' => array(
6291 6543 'anchor' => true,
6544 + 'background' => array(
6545 + 'backgroundImage' => true,
6546 + 'backgroundSize' => true,
6547 + 'gradient' => true
6548 + ),
6292 6549 'color' => array(
6293 6550 'gradients' => true,
6294 6551 '__experimentalDefaultControls' => array(
6295 6552 'background' => true,
@@ -6296,8 +6553,9 @@
6296 6553 'text' => true
6297 6554 )
6298 6555 ),
6299 6556 'html' => false,
6557 + 'shadow' => true,
6300 6558 'spacing' => array(
6301 6559 'margin' => true,
6302 6560 'padding' => true,
6303 6561 '__experimentalDefaultControls' => array(
@@ -6380,8 +6638,17 @@
6380 6638 'wide',
6381 6639 'full'
6382 6640 ),
6383 6641 'html' => false,
6642 + 'background' => array(
6643 + 'backgroundImage' => true,
6644 + 'backgroundSize' => true,
6645 + 'gradient' => true,
6646 + '__experimentalDefaultControls' => array(
6647 + 'backgroundImage' => true,
6648 + 'gradient' => true
6649 + )
6650 + ),
6384 6651 'color' => array(
6385 6652 'gradients' => true,
6386 6653 'link' => true,
6387 6654 '__experimentalDefaultControls' => array(
@@ -6389,8 +6656,9 @@
6389 6656 'text' => true,
6390 6657 'link' => true
6391 6658 )
6392 6659 ),
6660 + 'shadow' => true,
6393 6661 'spacing' => array(
6394 6662 'margin' => true,
6395 6663 'padding' => true
6396 6664 ),
@@ -6444,15 +6712,22 @@
6444 6712 )
6445 6713 ),
6446 6714 'supports' => array(
6447 6715 'anchor' => true,
6716 + 'background' => array(
6717 + 'backgroundImage' => true,
6718 + 'backgroundSize' => true,
6719 + 'gradient' => true
6720 + ),
6448 6721 'color' => array(
6449 6722 'gradients' => true,
6723 + 'link' => true,
6450 6724 '__experimentalDefaultControls' => array(
6451 6725 'background' => true,
6452 6726 'text' => true
6453 6727 )
6454 6728 ),
6729 + 'shadow' => true,
6455 6730 'spacing' => array(
6456 6731 'padding' => true,
6457 6732 'margin' => true
6458 6733 ),
@@ -6506,11 +6781,8 @@
6506 6781 'type' => 'rich-text',
6507 6782 'source' => 'rich-text',
6508 6783 'selector' => 'cite',
6509 6784 'role' => 'content'
6510 - ),
6511 - 'textAlign' => array(
6512 - 'type' => 'string'
6513 6785 )
6514 6786 ),
6515 6787 'supports' => array(
6516 6788 'anchor' => true,
@@ -6522,10 +6794,12 @@
6522 6794 ),
6523 6795 'background' => array(
6524 6796 'backgroundImage' => true,
6525 6797 'backgroundSize' => true,
6798 + 'gradient' => true,
6526 6799 '__experimentalDefaultControls' => array(
6527 - 'backgroundImage' => true
6800 + 'backgroundImage' => true,
6801 + 'gradient' => true
6528 6802 )
6529 6803 ),
6530 6804 'color' => array(
6531 6805 'gradients' => true,
@@ -6538,8 +6812,9 @@
6538 6812 ),
6539 6813 'dimensions' => array(
6540 6814 'minHeight' => true
6541 6815 ),
6816 + 'shadow' => true,
6542 6817 'spacing' => array(
6543 6818 'margin' => true,
6544 6819 'padding' => true
6545 6820 ),
@@ -6545,8 +6820,9 @@
6545 6820 ),
6546 6821 'typography' => array(
6547 6822 'fontSize' => true,
6548 6823 'lineHeight' => true,
6824 + 'textAlign' => true,
6549 6825 '__experimentalFontFamily' => true,
6550 6826 '__experimentalFontWeight' => true,
6551 6827 '__experimentalFontStyle' => true,
6552 6828 '__experimentalTextTransform' => true,
@@ -6621,9 +6897,10 @@
6621 6897
6622 6898 ),
6623 6899 'format' => array(
6624 6900
6625 - )
6901 + ),
6902 + 'excludeCurrent' => null
6626 6903 )
6627 6904 ),
6628 6905 'tagName' => array(
6629 6906 'type' => 'string',
@@ -6637,9 +6914,10 @@
6637 6914 'default' => false
6638 6915 )
6639 6916 ),
6640 6917 'usesContext' => array(
6641 - 'templateSlug'
6918 + 'templateSlug',
6919 + 'postType'
6642 6920 ),
6643 6921 'providesContext' => array(
6644 6922 'queryId' => 'queryId',
6645 6923 'query' => 'query',
@@ -6653,8 +6931,11 @@
6653 6931 'full'
6654 6932 ),
6655 6933 'html' => false,
6656 6934 'layout' => true,
6935 + 'spacing' => array(
6936 + 'blockGap' => true
6937 + ),
6657 6938 'interactivity' => true
6658 6939 ),
6659 6940 'editorStyle' => 'wp-block-query-editor'
6660 6941 ),
@@ -6677,12 +6958,27 @@
6677 6958 'anchor' => true,
6678 6959 'align' => true,
6679 6960 'reusable' => false,
6680 6961 'html' => false,
6962 + 'background' => array(
6963 + 'backgroundImage' => true,
6964 + 'backgroundSize' => true,
6965 + 'gradient' => true
6966 + ),
6681 6967 'color' => array(
6682 6968 'gradients' => true,
6683 - 'link' => true
6969 + 'link' => true,
6970 + 'heading' => true,
6971 + 'button' => true
6684 6972 ),
6973 + 'spacing' => array(
6974 + 'padding' => true,
6975 + 'margin' => true,
6976 + '__experimentalDefaultControls' => array(
6977 + 'margin' => false,
6978 + 'padding' => false
6979 + )
6980 + ),
6685 6981 'typography' => array(
6686 6982 'fontSize' => true,
6687 6983 'lineHeight' => true,
6688 6984 '__experimentalFontFamily' => true,
@@ -6696,10 +6992,18 @@
6696 6992 )
6697 6993 ),
6698 6994 'interactivity' => array(
6699 6995 'clientNavigation' => true
6700 - )
6701 - )
6996 + ),
6997 + '__experimentalBorder' => array(
6998 + 'radius' => true,
6999 + 'color' => true,
7000 + 'width' => true,
7001 + 'style' => true
7002 + ),
7003 + 'shadow' => true
7004 + ),
7005 + 'style' => 'wp-block-query-no-results'
6702 7006 ),
6703 7007 'query-pagination' => array(
6704 7008 '$schema' => 'https://schemas.wp.org/trunk/block.json',
6705 7009 'apiVersion' => 3,
@@ -6738,8 +7042,11 @@
6738 7042 'anchor' => true,
6739 7043 'align' => true,
6740 7044 'reusable' => false,
6741 7045 'html' => false,
7046 + 'background' => array(
7047 + 'gradient' => true
7048 + ),
6742 7049 'color' => array(
6743 7050 'gradients' => true,
6744 7051 'link' => true,
6745 7052 '__experimentalDefaultControls' => array(
@@ -6801,8 +7108,11 @@
6801 7108 'supports' => array(
6802 7109 'anchor' => true,
6803 7110 'reusable' => false,
6804 7111 'html' => false,
7112 + 'background' => array(
7113 + 'gradient' => true
7114 + ),
6805 7115 'color' => array(
6806 7116 'gradients' => true,
6807 7117 'text' => false,
6808 7118 '__experimentalDefaultControls' => array(
@@ -6852,8 +7162,11 @@
6852 7162 'supports' => array(
6853 7163 'anchor' => true,
6854 7164 'reusable' => false,
6855 7165 'html' => false,
7166 + 'background' => array(
7167 + 'gradient' => true
7168 + ),
6856 7169 'color' => array(
6857 7170 'gradients' => true,
6858 7171 'text' => false,
6859 7172 '__experimentalDefaultControls' => array(
@@ -6905,8 +7218,11 @@
6905 7218 'supports' => array(
6906 7219 'anchor' => true,
6907 7220 'reusable' => false,
6908 7221 'html' => false,
7222 + 'background' => array(
7223 + 'gradient' => true
7224 + ),
6909 7225 'color' => array(
6910 7226 'gradients' => true,
6911 7227 'text' => false,
6912 7228 '__experimentalDefaultControls' => array(
@@ -6973,8 +7289,11 @@
6973 7289 'wide',
6974 7290 'full'
6975 7291 ),
6976 7292 'html' => false,
7293 + 'background' => array(
7294 + 'gradient' => true
7295 + ),
6977 7296 'color' => array(
6978 7297 'gradients' => true,
6979 7298 '__experimentalDefaultControls' => array(
6980 7299 'background' => true,
@@ -7044,8 +7363,13 @@
7044 7363 'wide',
7045 7364 'full'
7046 7365 ),
7047 7366 'html' => false,
7367 + 'background' => array(
7368 + 'backgroundImage' => true,
7369 + 'backgroundSize' => true,
7370 + 'gradient' => true
7371 + ),
7048 7372 'spacing' => array(
7049 7373 'margin' => true,
7050 7374 'padding' => true
7051 7375 ),
@@ -7080,8 +7404,9 @@
7080 7404 'width' => true,
7081 7405 'style' => true
7082 7406 )
7083 7407 ),
7408 + 'shadow' => true,
7084 7409 'interactivity' => array(
7085 7410 'clientNavigation' => true
7086 7411 )
7087 7412 ),
@@ -7129,10 +7454,12 @@
7129 7454 'html' => false,
7130 7455 'background' => array(
7131 7456 'backgroundImage' => true,
7132 7457 'backgroundSize' => true,
7458 + 'gradient' => true,
7133 7459 '__experimentalDefaultControls' => array(
7134 - 'backgroundImage' => true
7460 + 'backgroundImage' => true,
7461 + 'gradient' => true
7135 7462 )
7136 7463 ),
7137 7464 '__experimentalBorder' => array(
7138 7465 'color' => true,
@@ -7175,8 +7502,9 @@
7175 7502 'background' => true,
7176 7503 'text' => true
7177 7504 )
7178 7505 ),
7506 + 'shadow' => true,
7179 7507 'layout' => array(
7180 7508 'allowEditing' => false
7181 7509 ),
7182 7510 'spacing' => array(
@@ -7226,8 +7554,13 @@
7226 7554 ),
7227 7555 'supports' => array(
7228 7556 'anchor' => true,
7229 7557 'html' => false,
7558 + 'background' => array(
7559 + 'backgroundImage' => true,
7560 + 'backgroundSize' => true,
7561 + 'gradient' => true
7562 + ),
7230 7563 'color' => array(
7231 7564 'gradients' => true,
7232 7565 'text' => true
7233 7566 ),
@@ -7262,8 +7595,9 @@
7262 7595 '__experimentalDefaultControls' => array(
7263 7596 'width' => true
7264 7597 )
7265 7598 ),
7599 + 'shadow' => true,
7266 7600 'interactivity' => array(
7267 7601 'clientNavigation' => true
7268 7602 )
7269 7603 ),
@@ -7343,8 +7677,14 @@
7343 7677 'padding' => false,
7344 7678 'margin' => false
7345 7679 )
7346 7680 ),
7681 + 'shadow' => true,
7682 + 'background' => array(
7683 + 'backgroundImage' => true,
7684 + 'backgroundSize' => true,
7685 + 'gradient' => true
7686 + ),
7347 7687 'color' => array(
7348 7688 'background' => true,
7349 7689 'text' => true,
7350 7690 'gradients' => true,
@@ -7401,8 +7741,12 @@
7401 7741 'type' => 'object',
7402 7742 'default' => array(
7403 7743
7404 7744 )
7745 + ),
7746 + 'tagName' => array(
7747 + 'type' => 'string',
7748 + 'default' => ''
7405 7749 )
7406 7750 ),
7407 7751 'supports' => array(
7408 7752 'anchor' => true,
@@ -7675,8 +8019,13 @@
7675 8019 'wide',
7676 8020 'full'
7677 8021 ),
7678 8022 'html' => false,
8023 + 'background' => array(
8024 + 'backgroundImage' => true,
8025 + 'backgroundSize' => true,
8026 + 'gradient' => true
8027 + ),
7679 8028 'color' => array(
7680 8029 'gradients' => true,
7681 8030 '__experimentalDefaultControls' => array(
7682 8031 'background' => true,
@@ -7702,8 +8051,9 @@
7702 8051 '__experimentalFontStyle' => true,
7703 8052 '__experimentalFontWeight' => true,
7704 8053 '__experimentalLetterSpacing' => true,
7705 8054 '__experimentalWritingMode' => true,
8055 + 'fitText' => true,
7706 8056 '__experimentalDefaultControls' => array(
7707 8057 'fontSize' => true
7708 8058 )
7709 8059 ),
@@ -7714,9 +8064,10 @@
7714 8064 'radius' => true,
7715 8065 'color' => true,
7716 8066 'width' => true,
7717 8067 'style' => true
7718 - )
8068 + ),
8069 + 'shadow' => true
7719 8070 ),
7720 8071 'editorStyle' => 'wp-block-site-tagline-editor',
7721 8072 'style' => 'wp-block-site-tagline'
7722 8073 ),
@@ -7765,8 +8116,13 @@
7765 8116 'wide',
7766 8117 'full'
7767 8118 ),
7768 8119 'html' => false,
8120 + 'background' => array(
8121 + 'backgroundImage' => true,
8122 + 'backgroundSize' => true,
8123 + 'gradient' => true
8124 + ),
7769 8125 'color' => array(
7770 8126 'gradients' => true,
7771 8127 'link' => true,
7772 8128 '__experimentalDefaultControls' => array(
@@ -7793,8 +8149,9 @@
7793 8149 '__experimentalFontStyle' => true,
7794 8150 '__experimentalFontWeight' => true,
7795 8151 '__experimentalLetterSpacing' => true,
7796 8152 '__experimentalWritingMode' => true,
8153 + 'fitText' => true,
7797 8154 '__experimentalDefaultControls' => array(
7798 8155 'fontSize' => true
7799 8156 )
7800 8157 ),
@@ -7805,9 +8162,10 @@
7805 8162 'radius' => true,
7806 8163 'color' => true,
7807 8164 'width' => true,
7808 8165 'style' => true
7809 - )
8166 + ),
8167 + 'shadow' => true
7810 8168 ),
7811 8169 'editorStyle' => 'wp-block-site-title-editor',
7812 8170 'style' => 'wp-block-site-title'
7813 8171 ),
@@ -7925,8 +8283,11 @@
7925 8283 'default' => array(
7926 8284 'type' => 'flex'
7927 8285 )
7928 8286 ),
8287 + 'background' => array(
8288 + 'gradient' => true
8289 + ),
7929 8290 'color' => array(
7930 8291 'enableContrastChecker' => false,
7931 8292 'background' => true,
7932 8293 'gradients' => true,
@@ -8028,69 +8389,10 @@
8028 8389 ),
8029 8390 'editorStyle' => 'wp-block-spacer-editor',
8030 8391 'style' => 'wp-block-spacer'
8031 8392 ),
8032 - 'tab' => array(
8033 - '$schema' => 'https://schemas.wp.org/trunk/block.json',
8034 - '__experimental' => true,
8035 - 'apiVersion' => 3,
8036 - 'name' => 'core/tab',
8037 - 'title' => 'Tab',
8038 - 'description' => 'A single tab button in the tab list.',
8039 - 'category' => 'design',
8040 - 'textdomain' => 'default',
8041 - 'parent' => array(
8042 - 'core/tab-list'
8043 - ),
8044 - 'usesContext' => array(
8045 - 'core/tabs-list',
8046 - 'core/tabs-activeTabIndex',
8047 - 'core/tabs-editorActiveTabIndex',
8048 - 'core/tab-index',
8049 - 'core/tab-id',
8050 - 'core/tab-label'
8051 - ),
8052 - 'supports' => array(
8053 - 'html' => false,
8054 - 'reusable' => false,
8055 - 'visibility' => false,
8056 - 'lock' => false,
8057 - 'color' => array(
8058 - 'background' => true,
8059 - 'text' => true,
8060 - '__experimentalDefaultControls' => array(
8061 - 'background' => true,
8062 - 'text' => true
8063 - )
8064 - ),
8065 - 'typography' => array(
8066 - 'fontSize' => true,
8067 - '__experimentalFontFamily' => true,
8068 - 'textAlign' => true,
8069 - '__experimentalDefaultControls' => array(
8070 - 'fontSize' => true
8071 - )
8072 - ),
8073 - 'spacing' => array(
8074 - 'padding' => true,
8075 - '__experimentalDefaultControls' => array(
8076 - 'padding' => true
8077 - )
8078 - ),
8079 - '__experimentalBorder' => array(
8080 - 'radius' => true,
8081 - 'color' => true,
8082 - 'width' => true,
8083 - 'style' => true
8084 - )
8085 - ),
8086 - 'editorScript' => 'file:./index.js',
8087 - 'editorStyle' => 'file:./editor.css',
8088 - 'style' => 'file:./style-index.css'
8089 - ),
8090 8393 'tab-list' => array(
8091 8394 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8092 - '__experimental' => true,
8093 8395 'apiVersion' => 3,
8094 8396 'name' => 'core/tab-list',
8095 8397 'title' => 'Tab List',
8096 8398 'description' => 'Display the tab buttons for a tabbed interface.',
@@ -8098,31 +8400,37 @@
8098 8400 'textdomain' => 'default',
8099 8401 'parent' => array(
8100 8402 'core/tabs'
8101 8403 ),
8102 - 'allowedBlocks' => array(
8103 - 'core/tab'
8104 - ),
8105 8404 'usesContext' => array(
8106 8405 'core/tabs-list'
8107 8406 ),
8108 8407 'attributes' => array(
8109 -
8408 + 'tabs' => array(
8409 + 'type' => 'array',
8410 + 'source' => 'query',
8411 + 'selector' => 'button',
8412 + 'query' => array(
8413 + 'label' => array(
8414 + 'type' => 'rich-text',
8415 + 'source' => 'rich-text',
8416 + 'role' => 'content'
8417 + )
8418 + ),
8419 + 'default' => array(
8420 +
8421 + )
8422 + )
8110 8423 ),
8111 8424 'supports' => array(
8112 8425 'html' => false,
8113 - 'reusable' => false,
8426 + 'ariaLabel' => true,
8114 8427 'visibility' => false,
8115 8428 'lock' => false,
8116 - 'dimensions' => array(
8117 - 'aspectRatio' => false,
8118 - 'height' => false,
8119 - 'minHeight' => false,
8120 - 'width' => false
8121 - ),
8122 8429 'color' => array(
8123 8430 'background' => true,
8124 8431 'text' => true,
8432 + '__experimentalSkipSerialization' => true,
8125 8433 '__experimentalDefaultControls' => array(
8126 8434 'background' => true,
8127 8435 'text' => true
8128 8436 )
@@ -8134,38 +8442,47 @@
8134 8442 '__experimentalBorder' => array(
8135 8443 'color' => true,
8136 8444 'radius' => true,
8137 8445 'style' => true,
8138 - 'width' => true
8446 + 'width' => true,
8447 + '__experimentalSkipSerialization' => true
8139 8448 ),
8140 8449 'layout' => array(
8141 8450 'default' => array(
8142 8451 'type' => 'flex',
8143 - 'flexWrap' => 'nowrap',
8144 - 'orientation' => 'horizontal'
8452 + 'flexWrap' => 'wrap'
8145 8453 ),
8146 - 'allowSwitching' => false,
8147 - 'allowVerticalAlignment' => true,
8148 - 'allowJustification' => true,
8149 - 'allowOrientation' => true
8454 + 'allowVerticalAlignment' => false,
8455 + 'allowOrientation' => false,
8456 + 'allowWrap' => false
8150 8457 ),
8151 8458 'spacing' => array(
8152 8459 'padding' => true,
8153 - 'margin' => true,
8154 8460 'blockGap' => true,
8461 + '__experimentalSkipSerialization' => array(
8462 + 'padding'
8463 + ),
8155 8464 '__experimentalDefaultControls' => array(
8156 8465 'padding' => true,
8157 - 'margin' => true,
8158 8466 'blockGap' => true
8159 8467 )
8160 8468 )
8161 8469 ),
8162 - 'editorScript' => 'file:./index.js',
8163 - 'editorStyle' => 'file:./editor.css'
8470 + 'selectors' => array(
8471 + 'border' => '.wp-block-tab-list button',
8472 + 'color' => array(
8473 + 'background' => '.wp-block-tab-list button',
8474 + 'text' => '.wp-block-tab-list button'
8475 + ),
8476 + 'spacing' => array(
8477 + 'padding' => '.wp-block-tab-list button'
8478 + )
8479 + ),
8480 + 'style' => 'wp-block-tab-list',
8481 + 'editorStyle' => 'wp-block-tab-list-editor'
8164 8482 ),
8165 8483 'tab-panel' => array(
8166 8484 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8167 - '__experimental' => true,
8168 8485 'apiVersion' => 3,
8169 8486 'name' => 'core/tab-panel',
8170 8487 'title' => 'Tab Panel',
8171 8488 'description' => 'Content for a tab in a tabbed interface.',
@@ -8180,18 +8497,27 @@
8180 8497 'parent' => array(
8181 8498 'core/tab-panels'
8182 8499 ),
8183 8500 'usesContext' => array(
8184 - 'core/tabs-activeTabIndex',
8185 - 'core/tabs-editorActiveTabIndex',
8186 8501 'core/tabs-id'
8187 8502 ),
8188 8503 'supports' => array(
8189 8504 'anchor' => true,
8505 + 'background' => array(
8506 + 'backgroundImage' => true,
8507 + 'backgroundSize' => true,
8508 + 'gradient' => true,
8509 + '__experimentalDefaultControls' => array(
8510 + 'backgroundImage' => true,
8511 + 'gradient' => true
8512 + )
8513 + ),
8190 8514 'html' => false,
8191 - 'reusable' => false,
8192 8515 'color' => array(
8193 8516 'background' => true,
8517 + 'button' => true,
8518 + 'heading' => true,
8519 + 'link' => true,
8194 8520 'text' => true,
8195 8521 '__experimentalDefaultControls' => array(
8196 8522 'background' => true,
8197 8523 'text' => true
@@ -8197,33 +8523,42 @@
8197 8523 'text' => true
8198 8524 )
8199 8525 ),
8200 8526 'layout' => true,
8527 + 'shadow' => true,
8201 8528 'spacing' => array(
8202 8529 'blockGap' => true,
8203 - 'padding' => true,
8204 - 'margin' => false
8530 + 'padding' => true
8205 8531 ),
8206 8532 'typography' => array(
8207 8533 'fontSize' => true,
8534 + 'lineHeight' => true,
8208 8535 '__experimentalFontFamily' => true,
8536 + '__experimentalFontWeight' => true,
8537 + '__experimentalFontStyle' => true,
8538 + '__experimentalTextTransform' => true,
8539 + '__experimentalTextDecoration' => true,
8540 + '__experimentalLetterSpacing' => true,
8209 8541 '__experimentalDefaultControls' => array(
8210 8542 'fontSize' => true,
8211 8543 '__experimentalFontFamily' => true
8212 8544 )
8213 8545 ),
8214 - 'renaming' => true,
8546 + '__experimentalBorder' => array(
8547 + 'color' => true,
8548 + 'radius' => true,
8549 + 'style' => true,
8550 + 'width' => true
8551 + ),
8215 8552 'visibility' => false
8216 8553 ),
8217 8554 'providesContext' => array(
8218 8555 'core/tab-label' => 'label'
8219 8556 ),
8220 - 'editorScript' => 'file:./index.js',
8221 - 'style' => 'file:./style-index.css'
8557 + 'style' => 'wp-block-tab-panel'
8222 8558 ),
8223 8559 'tab-panels' => array(
8224 8560 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8225 - '__experimental' => true,
8226 8561 'apiVersion' => 3,
8227 8562 'name' => 'core/tab-panels',
8228 8563 'title' => 'Tab Panels',
8229 8564 'description' => 'Container for tab panel content in a tabbed interface.',
@@ -8234,27 +8569,17 @@
8234 8569 ),
8235 8570 'allowedBlocks' => array(
8236 8571 'core/tab-panel'
8237 8572 ),
8238 - 'attributes' => array(
8239 -
8240 - ),
8241 8573 'supports' => array(
8242 - 'anchor' => false,
8243 8574 'html' => false,
8244 - 'reusable' => false,
8245 8575 'visibility' => false,
8246 8576 'lock' => false,
8247 - 'dimensions' => array(
8248 - 'aspectRatio' => false,
8249 - 'height' => false,
8250 - 'minHeight' => false,
8251 - 'width' => false
8252 - ),
8253 8577 'color' => array(
8254 8578 'background' => true,
8255 8579 'text' => true,
8256 8580 'heading' => true,
8581 + 'button' => true,
8257 8582 'link' => true,
8258 8583 '__experimentalDefaultControls' => array(
8259 8584 'background' => true,
8260 8585 'text' => true
@@ -8259,30 +8584,31 @@
8259 8584 'background' => true,
8260 8585 'text' => true
8261 8586 )
8262 8587 ),
8588 + 'background' => array(
8589 + 'backgroundImage' => true,
8590 + 'backgroundSize' => true,
8591 + 'gradient' => true,
8592 + '__experimentalDefaultControls' => array(
8593 + 'backgroundImage' => true,
8594 + 'gradient' => true
8595 + )
8596 + ),
8597 + 'shadow' => true,
8263 8598 'spacing' => array(
8264 - 'blockGap' => false,
8265 - 'padding' => true,
8266 - 'margin' => true
8599 + 'padding' => true
8267 8600 ),
8268 8601 'typography' => array(
8269 8602 'fontSize' => true,
8270 - '__experimentalFontFamily' => true
8603 + 'lineHeight' => true,
8604 + '__experimentalFontFamily' => true,
8605 + '__experimentalFontWeight' => true,
8606 + '__experimentalFontStyle' => true,
8607 + '__experimentalTextTransform' => true,
8608 + '__experimentalTextDecoration' => true,
8609 + '__experimentalLetterSpacing' => true
8271 8610 ),
8272 - 'layout' => array(
8273 - 'default' => array(
8274 - 'type' => 'flex',
8275 - 'flexWrap' => 'nowrap',
8276 - 'justifyContent' => 'stretch',
8277 - 'orientation' => 'vertical'
8278 - ),
8279 - 'allowSwitching' => false,
8280 - 'allowVerticalAlignment' => false,
8281 - 'allowOrientation' => false,
8282 - 'allowJustification' => true,
8283 - 'allowSizingOnChildren' => false
8284 - ),
8285 8611 '__experimentalBorder' => array(
8286 8612 'radius' => true,
8287 8613 'color' => true,
8288 8614 'width' => true,
@@ -8287,11 +8613,9 @@
8287 8613 'color' => true,
8288 8614 'width' => true,
8289 8615 'style' => true
8290 8616 )
8291 - ),
8292 - 'editorScript' => 'file:./index.js',
8293 - 'style' => 'file:./style-index.css'
8617 + )
8294 8618 ),
8295 8619 'table' => array(
8296 8620 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8297 8621 'apiVersion' => 3,
@@ -8547,9 +8871,10 @@
8547 8871 'type' => 'object'
8548 8872 ),
8549 8873 'default' => array(
8550 8874
8551 - )
8875 + ),
8876 + 'role' => 'local'
8552 8877 ),
8553 8878 'onlyIncludeCurrentPage' => array(
8554 8879 'type' => 'boolean',
8555 8880 'default' => false
@@ -8565,8 +8890,13 @@
8565 8890 'supports' => array(
8566 8891 'anchor' => true,
8567 8892 'ariaLabel' => true,
8568 8893 'html' => false,
8894 + 'background' => array(
8895 + 'backgroundImage' => true,
8896 + 'backgroundSize' => true,
8897 + 'gradient' => true
8898 + ),
8569 8899 'color' => array(
8570 8900 'text' => true,
8571 8901 'background' => true,
8572 8902 'gradients' => true,
@@ -8571,8 +8901,9 @@
8571 8901 'background' => true,
8572 8902 'gradients' => true,
8573 8903 'link' => true
8574 8904 ),
8905 + 'shadow' => true,
8575 8906 'spacing' => array(
8576 8907 'margin' => true,
8577 8908 'padding' => true
8578 8909 ),
@@ -8578,8 +8909,9 @@
8578 8909 ),
8579 8910 'typography' => array(
8580 8911 'fontSize' => true,
8581 8912 'lineHeight' => true,
8913 + 'textAlign' => true,
8582 8914 '__experimentalFontFamily' => true,
8583 8915 '__experimentalFontWeight' => true,
8584 8916 '__experimentalFontStyle' => true,
8585 8917 '__experimentalTextTransform' => true,
@@ -8608,9 +8940,8 @@
8608 8940 'style' => 'wp-block-table-of-contents'
8609 8941 ),
8610 8942 'tabs' => array(
8611 8943 '$schema' => 'https://schemas.wp.org/trunk/block.json',
8612 - '__experimental' => true,
8613 8944 'apiVersion' => 3,
8614 8945 'name' => 'core/tabs',
8615 8946 'title' => 'Tabs',
8616 8947 'description' => 'Display content in a tabbed interface to help users navigate detailed content with ease.',
@@ -8632,29 +8963,35 @@
8632 8963 ),
8633 8964 'supports' => array(
8634 8965 'align' => true,
8635 8966 'anchor' => true,
8967 + 'background' => array(
8968 + 'backgroundImage' => true,
8969 + 'backgroundSize' => true,
8970 + 'gradient' => true,
8971 + '__experimentalDefaultControls' => array(
8972 + 'backgroundImage' => true
8973 + )
8974 + ),
8636 8975 'color' => array(
8637 8976 'text' => true,
8638 8977 'background' => true,
8978 + 'heading' => true,
8979 + 'button' => true,
8980 + 'link' => true,
8639 8981 '__experimentalDefaultControls' => array(
8640 8982 'text' => true,
8641 8983 'background' => true
8642 8984 )
8643 8985 ),
8986 + '__experimentalBorder' => array(
8987 + 'color' => true,
8988 + 'radius' => true,
8989 + 'style' => true,
8990 + 'width' => true
8991 + ),
8644 8992 'layout' => array(
8645 - 'default' => array(
8646 - 'type' => 'flex',
8647 - 'flexWrap' => 'nowrap',
8648 - 'justifyContent' => 'stretch',
8649 - 'verticalAlignment' => 'stretch',
8650 - 'orientation' => 'vertical'
8651 - ),
8652 - 'allowSwitching' => false,
8653 - 'allowVerticalAlignment' => true,
8654 - 'allowJustification' => true,
8655 - 'allowOrientation' => true,
8656 - 'allowSizingOnChildren' => true
8993 + 'allowEditing' => false
8657 8994 ),
8658 8995 'html' => false,
8659 8996 'interactivity' => true,
8660 8997 'spacing' => array(
@@ -8661,25 +8998,24 @@
8661 8998 'blockGap' => true,
8662 8999 'margin' => true,
8663 9000 'padding' => true
8664 9001 ),
9002 + 'shadow' => true,
8665 9003 'typography' => array(
8666 9004 'fontSize' => true,
8667 - '__experimentalFontFamily' => true
8668 - ),
8669 - 'renaming' => true
9005 + 'lineHeight' => true,
9006 + '__experimentalFontFamily' => true,
9007 + '__experimentalFontWeight' => true,
9008 + '__experimentalFontStyle' => true,
9009 + '__experimentalTextTransform' => true,
9010 + '__experimentalLetterSpacing' => true
9011 + )
8670 9012 ),
8671 - 'providesContext' => array(
8672 - 'core/tabs-activeTabIndex' => 'activeTabIndex',
8673 - 'core/tabs-editorActiveTabIndex' => 'editorActiveTabIndex'
8674 - ),
8675 9013 'usesContext' => array(
8676 9014 'core/tabs-list',
8677 9015 'core/tabs-id'
8678 9016 ),
8679 - 'editorScript' => 'file:./index.js',
8680 - 'editorStyle' => 'file:./index.css',
8681 - 'style' => 'file:./style-index.css',
9017 + 'style' => 'wp-block-tabs',
8682 9018 'viewScriptModule' => '@wordpress/block-library/tabs/view'
8683 9019 ),
8684 9020 'tag-cloud' => array(
8685 9021 '$schema' => 'https://schemas.wp.org/trunk/block.json',
@@ -8725,10 +9061,29 @@
8725 9061 )
8726 9062 ),
8727 9063 'supports' => array(
8728 9064 'anchor' => true,
9065 + 'background' => array(
9066 + 'backgroundImage' => true,
9067 + 'backgroundSize' => true,
9068 + 'gradient' => true,
9069 + '__experimentalDefaultControls' => array(
9070 + 'backgroundImage' => true,
9071 + 'gradient' => true
9072 + )
9073 + ),
8729 9074 'html' => false,
8730 9075 'align' => true,
9076 + 'color' => array(
9077 + 'background' => true,
9078 + 'link' => true,
9079 + 'text' => false,
9080 + '__experimentalDefaultControls' => array(
9081 + 'background' => true,
9082 + 'link' => true
9083 + )
9084 + ),
9085 + 'shadow' => true,
8731 9086 'spacing' => array(
8732 9087 'margin' => true,
8733 9088 'padding' => true
8734 9089 ),
@@ -8817,8 +9172,13 @@
8817 9172 ),
8818 9173 'supports' => array(
8819 9174 'anchor' => true,
8820 9175 'html' => false,
9176 + 'background' => array(
9177 + 'backgroundImage' => true,
9178 + 'backgroundSize' => true,
9179 + 'gradient' => true
9180 + ),
8821 9181 'color' => array(
8822 9182 'gradients' => true,
8823 9183 '__experimentalDefaultControls' => array(
8824 9184 'background' => true,
@@ -8824,8 +9184,9 @@
8824 9184 'background' => true,
8825 9185 'text' => true
8826 9186 )
8827 9187 ),
9188 + 'shadow' => true,
8828 9189 'spacing' => array(
8829 9190 'padding' => true
8830 9191 ),
8831 9192 'typography' => array(
@@ -8830,8 +9191,9 @@
8830 9191 ),
8831 9192 'typography' => array(
8832 9193 'fontSize' => true,
8833 9194 'lineHeight' => true,
9195 + 'textAlign' => true,
8834 9196 '__experimentalFontFamily' => true,
8835 9197 '__experimentalFontWeight' => true,
8836 9198 '__experimentalFontStyle' => true,
8837 9199 '__experimentalTextTransform' => true,
@@ -8876,8 +9238,16 @@
8876 9238 'wide',
8877 9239 'full'
8878 9240 ),
8879 9241 'html' => false,
9242 + 'background' => array(
9243 + 'backgroundImage' => true,
9244 + 'backgroundSize' => true,
9245 + 'gradient' => true,
9246 + '__experimentalDefaultControls' => array(
9247 + 'backgroundImage' => true
9248 + )
9249 + ),
8880 9250 'color' => array(
8881 9251 'link' => true,
8882 9252 '__experimentalDefaultControls' => array(
8883 9253 'background' => true,
@@ -8904,8 +9274,9 @@
8904 9274 ),
8905 9275 'interactivity' => array(
8906 9276 'clientNavigation' => true
8907 9277 ),
9278 + 'shadow' => true,
8908 9279 '__experimentalBorder' => array(
8909 9280 'radius' => true,
8910 9281 'color' => true,
8911 9282 'width' => true,
@@ -8934,11 +9305,8 @@
8934 9305 'termId',
8935 9306 'taxonomy'
8936 9307 ),
8937 9308 'attributes' => array(
8938 - 'textAlign' => array(
8939 - 'type' => 'string'
8940 - ),
8941 9309 'level' => array(
8942 9310 'type' => 'number',
8943 9311 'default' => 0
8944 9312 ),
@@ -8956,8 +9324,17 @@
8956 9324 'wide',
8957 9325 'full'
8958 9326 ),
8959 9327 'html' => false,
9328 + 'background' => array(
9329 + 'backgroundImage' => true,
9330 + 'backgroundSize' => true,
9331 + 'gradient' => true,
9332 + '__experimentalDefaultControls' => array(
9333 + 'backgroundImage' => true,
9334 + 'gradient' => true
9335 + )
9336 + ),
8960 9337 'color' => array(
8961 9338 'gradients' => true,
8962 9339 'link' => true,
8963 9340 '__experimentalDefaultControls' => array(
@@ -8965,8 +9342,9 @@
8965 9342 'text' => true,
8966 9343 'link' => true
8967 9344 )
8968 9345 ),
9346 + 'shadow' => true,
8969 9347 'spacing' => array(
8970 9348 'padding' => true
8971 9349 ),
8972 9350 'typography' => array(
@@ -8971,8 +9349,9 @@
8971 9349 ),
8972 9350 'typography' => array(
8973 9351 'fontSize' => true,
8974 9352 'lineHeight' => true,
9353 + 'textAlign' => true,
8975 9354 '__experimentalFontFamily' => true,
8976 9355 '__experimentalFontWeight' => true,
8977 9356 '__experimentalFontStyle' => true,
8978 9357 '__experimentalTextTransform' => true,
@@ -9021,8 +9400,16 @@
9021 9400 'wide',
9022 9401 'full'
9023 9402 ),
9024 9403 'layout' => true,
9404 + 'background' => array(
9405 + 'backgroundImage' => true,
9406 + 'backgroundSize' => true,
9407 + 'gradient' => true,
9408 + '__experimentalDefaultControls' => array(
9409 + 'backgroundImage' => true
9410 + )
9411 + ),
9025 9412 'color' => array(
9026 9413 'gradients' => true,
9027 9414 'link' => true,
9028 9415 '__experimentalDefaultControls' => array(
@@ -9062,9 +9449,10 @@
9062 9449 'radius' => true,
9063 9450 'color' => true,
9064 9451 'width' => true,
9065 9452 'style' => true
9066 - )
9453 + ),
9454 + 'shadow' => true
9067 9455 ),
9068 9456 'style' => 'wp-block-term-template',
9069 9457 'editorStyle' => 'wp-block-term-template-editor'
9070 9458 ),
@@ -9196,10 +9584,12 @@
9196 9584 'anchor' => true,
9197 9585 'background' => array(
9198 9586 'backgroundImage' => true,
9199 9587 'backgroundSize' => true,
9588 + 'gradient' => true,
9200 9589 '__experimentalDefaultControls' => array(
9201 - 'backgroundImage' => true
9590 + 'backgroundImage' => true,
9591 + 'gradient' => true
9202 9592 )
9203 9593 ),
9204 9594 'color' => array(
9205 9595 'gradients' => true,
@@ -9229,8 +9619,9 @@
9229 9619 '__experimentalDefaultControls' => array(
9230 9620 'fontSize' => true
9231 9621 )
9232 9622 ),
9623 + 'shadow' => true,
9233 9624 'spacing' => array(
9234 9625 'margin' => true,
9235 9626 'padding' => true,
9236 9627 '__experimentalDefaultControls' => array(
@@ -9321,8 +9712,14 @@
9321 9712 'selector' => 'video',
9322 9713 'attribute' => 'src',
9323 9714 'role' => 'content'
9324 9715 ),
9716 + 'width' => array(
9717 + 'type' => 'number'
9718 + ),
9719 + 'height' => array(
9720 + 'type' => 'number'
9721 + ),
9325 9722 'playsInline' => array(
9326 9723 'type' => 'boolean',
9327 9724 'source' => 'attribute',
9328 9725 'selector' => 'video',
@@ -9351,9 +9748,15 @@
9351 9748 )
9352 9749 ),
9353 9750 'interactivity' => array(
9354 9751 'clientNavigation' => true
9752 + ),
9753 + 'shadow' => array(
9754 + '__experimentalSkipSerialization' => true
9355 9755 )
9756 + ),
9757 + 'selectors' => array(
9758 + 'shadow' => '.wp-block-video video'
9356 9759 ),
9357 9760 'editorStyle' => 'wp-block-video-editor',
9358 9761 'style' => 'wp-block-video'
9359 9762 )