Changeset 61009 for trunk/src/wp-includes/blocks/blocks-json.php
- Timestamp:
- 10/21/2025 07:11:53 AM (7 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks/blocks-json.php (modified) (72 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/blocks-json.php
r60078 r61009 1 1 <?php return array( 2 'a rchives' => array(3 '$schema' => 'https://schemas.wp.org/trunk/block.json', 4 'apiVersion' => 3, 5 'name' => 'core/a rchives',6 'title' => 'A rchives',7 'category' => ' widgets',8 'description' => 'Display a date archive of your posts.',9 ' textdomain' => 'default',10 'attributes' => array(11 'displayAsDropdown' => array(12 'type' => 'boolean',13 'default' => false14 ),15 ' showLabel' => array(16 ' type' => 'boolean',17 ' default' => true18 ), 19 ' showPostCounts' => array(20 ' type' => 'boolean',21 ' default' => false22 ),23 'type' => array(24 'type' => 'string',25 'default' => 'monthly'26 )27 ),28 'supports' => array(29 'align' => true,2 'accordion' => array( 3 '$schema' => 'https://schemas.wp.org/trunk/block.json', 4 'apiVersion' => 3, 5 'name' => 'core/accordion', 6 'title' => 'Accordion', 7 'category' => 'design', 8 'description' => 'Displays a group of accordion headings and associated expandable content.', 9 'example' => array( 10 11 ), 12 'supports' => array( 13 'anchor' => true, 14 'html' => false, 15 'align' => array( 16 'wide', 17 'full' 18 ), 19 'background' => array( 20 'backgroundImage' => true, 21 'backgroundSize' => true, 22 '__experimentalDefaultControls' => array( 23 'backgroundImage' => true 24 ) 25 ), 26 'color' => array( 27 'background' => true, 28 'gradients' => true 29 ), 30 30 '__experimentalBorder' => array( 31 'color' => true, 31 32 'radius' => true, 32 ' color' => true,33 'style' => true, 33 34 'width' => true, 34 'style' => true 35 ), 36 'html' => false, 35 '__experimentalDefaultControls' => array( 36 'color' => true, 37 'radius' => true, 38 'style' => true, 39 'width' => true 40 ) 41 ), 37 42 'spacing' => array( 38 'margin' => true,39 43 'padding' => true, 40 '__experimentalDefaultControls' => array( 41 'margin' => false, 42 'padding' => false 43 ) 44 ), 44 'margin' => array( 45 'top', 46 'bottom' 47 ), 48 'blockGap' => true 49 ), 50 'shadow' => true, 51 'layout' => true, 52 'ariaLabel' => true, 53 'interactivity' => true, 45 54 'typography' => array( 46 55 'fontSize' => true, … … 56 65 ) 57 66 ), 67 'contentRole' => true 68 ), 69 'attributes' => array( 70 'iconPosition' => array( 71 'type' => 'string', 72 'default' => 'right' 73 ), 74 'showIcon' => array( 75 'type' => 'boolean', 76 'default' => true 77 ), 78 'autoclose' => array( 79 'type' => 'boolean', 80 'default' => false 81 ), 82 'headingLevel' => array( 83 'type' => 'number', 84 'default' => 3 85 ), 86 'levelOptions' => array( 87 'type' => 'array' 88 ) 89 ), 90 'providesContext' => array( 91 'core/accordion-icon-position' => 'iconPosition', 92 'core/accordion-show-icon' => 'showIcon', 93 'core/accordion-heading-level' => 'headingLevel' 94 ), 95 'allowedBlocks' => array( 96 'core/accordion-item' 97 ), 98 'textdomain' => 'default', 99 'viewScriptModule' => '@wordpress/block-library/accordion/view' 100 ), 101 'accordion-heading' => array( 102 '$schema' => 'https://schemas.wp.org/trunk/block.json', 103 'apiVersion' => 3, 104 'name' => 'core/accordion-heading', 105 'title' => 'Accordion Heading', 106 'category' => 'design', 107 'description' => 'Displays an accordion heading.', 108 'parent' => array( 109 'core/accordion-item' 110 ), 111 'usesContext' => array( 112 'core/accordion-icon-position', 113 'core/accordion-show-icon', 114 'core/accordion-heading-level' 115 ), 116 'supports' => array( 117 'anchor' => true, 118 'color' => array( 119 'background' => true, 120 'gradients' => true 121 ), 122 'align' => false, 123 'interactivity' => true, 124 'spacing' => array( 125 'padding' => true, 126 '__experimentalDefaultControls' => array( 127 'padding' => true 128 ), 129 '__experimentalSkipSerialization' => true, 130 '__experimentalSelector' => '.wp-block-accordion-heading__toggle' 131 ), 132 '__experimentalBorder' => array( 133 'color' => true, 134 'radius' => true, 135 'style' => true, 136 'width' => true, 137 '__experimentalDefaultControls' => array( 138 'color' => true, 139 'radius' => true, 140 'style' => true, 141 'width' => true 142 ) 143 ), 144 'typography' => array( 145 '__experimentalSkipSerialization' => array( 146 'textDecoration', 147 'letterSpacing' 148 ), 149 'fontSize' => true, 150 '__experimentalFontFamily' => true, 151 '__experimentalFontWeight' => true, 152 '__experimentalFontStyle' => true, 153 '__experimentalTextTransform' => true, 154 '__experimentalTextDecoration' => true, 155 '__experimentalLetterSpacing' => true, 156 '__experimentalDefaultControls' => array( 157 'fontSize' => true, 158 'fontFamily' => true 159 ) 160 ), 161 'shadow' => true, 162 'blockVisibility' => false, 163 'lock' => false 164 ), 165 'selectors' => array( 166 'typography' => array( 167 'letterSpacing' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title', 168 'textDecoration' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title' 169 ) 170 ), 171 'attributes' => array( 172 'openByDefault' => array( 173 'type' => 'boolean', 174 'default' => false 175 ), 176 'title' => array( 177 'type' => 'rich-text', 178 'source' => 'rich-text', 179 'selector' => '.wp-block-accordion-heading__toggle-title', 180 'role' => 'content' 181 ), 182 'level' => array( 183 'type' => 'number' 184 ), 185 'iconPosition' => array( 186 'type' => 'string', 187 'enum' => array( 188 'left', 189 'right' 190 ), 191 'default' => 'right' 192 ), 193 'showIcon' => array( 194 'type' => 'boolean', 195 'default' => true 196 ) 197 ), 198 'textdomain' => 'default' 199 ), 200 'accordion-item' => array( 201 '$schema' => 'https://schemas.wp.org/trunk/block.json', 202 'apiVersion' => 3, 203 'name' => 'core/accordion-item', 204 'title' => 'Accordion Item', 205 'category' => 'design', 206 'description' => 'Displays a section of content in an accordion, including a heading and expandable content.', 207 'parent' => array( 208 'core/accordion' 209 ), 210 'allowedBlocks' => array( 211 'core/accordion-heading', 212 'core/accordion-panel' 213 ), 214 'supports' => array( 215 'html' => false, 216 'color' => array( 217 'background' => true, 218 'gradients' => true 219 ), 220 'interactivity' => true, 221 'spacing' => array( 222 'margin' => array( 223 'top', 224 'bottom' 225 ), 226 'blockGap' => true 227 ), 228 '__experimentalBorder' => array( 229 'color' => true, 230 'radius' => true, 231 'style' => true, 232 'width' => true, 233 '__experimentalDefaultControls' => array( 234 'color' => true, 235 'radius' => true, 236 'style' => true, 237 'width' => true 238 ) 239 ), 240 'shadow' => true, 241 'layout' => array( 242 'allowEditing' => false 243 ), 244 'typography' => array( 245 'fontSize' => true, 246 'lineHeight' => true, 247 '__experimentalFontFamily' => true, 248 '__experimentalFontWeight' => true, 249 '__experimentalFontStyle' => true, 250 '__experimentalTextTransform' => true, 251 '__experimentalTextDecoration' => true, 252 '__experimentalLetterSpacing' => true, 253 '__experimentalDefaultControls' => array( 254 'fontSize' => true 255 ) 256 ), 257 'contentRole' => true 258 ), 259 'attributes' => array( 260 'openByDefault' => array( 261 'type' => 'boolean', 262 'default' => false 263 ) 264 ), 265 'textdomain' => 'default', 266 'style' => 'wp-block-accordion-item' 267 ), 268 'accordion-panel' => array( 269 '$schema' => 'https://schemas.wp.org/trunk/block.json', 270 'apiVersion' => 3, 271 'name' => 'core/accordion-panel', 272 'title' => 'Accordion Panel', 273 'category' => 'design', 274 'description' => 'Displays an accordion panel.', 275 'parent' => array( 276 'core/accordion-item' 277 ), 278 'supports' => array( 279 'html' => false, 280 'color' => array( 281 'background' => true, 282 'gradients' => true 283 ), 284 'interactivity' => true, 285 'spacing' => array( 286 'padding' => true, 287 'blockGap' => true, 288 '__experimentalDefaultControls' => array( 289 'padding' => true, 290 'blockGap' => true 291 ) 292 ), 293 '__experimentalBorder' => array( 294 'color' => true, 295 'radius' => true, 296 'style' => true, 297 'width' => true, 298 '__experimentalDefaultControls' => array( 299 'color' => true, 300 'radius' => true, 301 'style' => true, 302 'width' => true 303 ) 304 ), 305 'typography' => array( 306 'fontSize' => true, 307 'lineHeight' => true, 308 '__experimentalFontFamily' => true, 309 '__experimentalFontWeight' => true, 310 '__experimentalFontStyle' => true, 311 '__experimentalTextTransform' => true, 312 '__experimentalTextDecoration' => true, 313 '__experimentalLetterSpacing' => true, 314 '__experimentalDefaultControls' => array( 315 'fontSize' => true 316 ) 317 ), 318 'shadow' => true, 319 'layout' => array( 320 'allowEditing' => false 321 ), 322 'blockVisibility' => false, 323 'contentRole' => true, 324 'allowedBlocks' => true, 325 'lock' => false 326 ), 327 'attributes' => array( 328 'templateLock' => array( 329 'type' => array( 330 'string', 331 'boolean' 332 ), 333 'enum' => array( 334 'all', 335 'insert', 336 'contentOnly', 337 false 338 ), 339 'default' => false 340 ), 341 'openByDefault' => array( 342 'type' => 'boolean', 343 'default' => false 344 ), 345 'isSelected' => array( 346 'type' => 'boolean', 347 'default' => false 348 ) 349 ), 350 'textdomain' => 'default', 351 'style' => 'wp-block-accordion-panel' 352 ), 353 'archives' => array( 354 '$schema' => 'https://schemas.wp.org/trunk/block.json', 355 'apiVersion' => 3, 356 'name' => 'core/archives', 357 'title' => 'Archives', 358 'category' => 'widgets', 359 'description' => 'Display a date archive of your posts.', 360 'textdomain' => 'default', 361 'attributes' => array( 362 'displayAsDropdown' => array( 363 'type' => 'boolean', 364 'default' => false 365 ), 366 'showLabel' => array( 367 'type' => 'boolean', 368 'default' => true 369 ), 370 'showPostCounts' => array( 371 'type' => 'boolean', 372 'default' => false 373 ), 374 'type' => array( 375 'type' => 'string', 376 'default' => 'monthly' 377 ) 378 ), 379 'supports' => array( 380 'align' => true, 381 '__experimentalBorder' => array( 382 'radius' => true, 383 'color' => true, 384 'width' => true, 385 'style' => true 386 ), 387 'html' => false, 388 'spacing' => array( 389 'margin' => true, 390 'padding' => true, 391 '__experimentalDefaultControls' => array( 392 'margin' => false, 393 'padding' => false 394 ) 395 ), 396 'typography' => array( 397 'fontSize' => true, 398 'lineHeight' => true, 399 '__experimentalFontFamily' => true, 400 '__experimentalFontWeight' => true, 401 '__experimentalFontStyle' => true, 402 '__experimentalTextTransform' => true, 403 '__experimentalTextDecoration' => true, 404 '__experimentalLetterSpacing' => true, 405 '__experimentalDefaultControls' => array( 406 'fontSize' => true 407 ) 408 ), 58 409 'color' => array( 59 410 'gradients' => true, … … 198 549 'color' => array( 199 550 'text' => false, 200 'background' => false, 201 '__experimentalDuotone' => 'img' 551 'background' => false 552 ), 553 'filter' => array( 554 'duotone' => true 202 555 ), 203 556 'interactivity' => array( … … 206 559 ), 207 560 'selectors' => array( 208 'border' => '.wp-block-avatar img' 561 'border' => '.wp-block-avatar img', 562 'filter' => array( 563 'duotone' => '.wp-block-avatar img' 564 ) 209 565 ), 210 566 'editorStyle' => 'wp-block-avatar-editor', … … 491 847 'interactivity' => array( 492 848 'clientNavigation' => true 493 ) 849 ), 850 'contentRole' => true 494 851 ), 495 852 'editorStyle' => 'wp-block-buttons-editor', … … 518 875 'supports' => array( 519 876 'align' => true, 877 'html' => false, 520 878 'color' => array( 521 879 'link' => true, … … 661 1019 'source' => 'rich-text', 662 1020 'selector' => 'code', 663 '__unstablePreserveWhiteSpace' => true 1021 '__unstablePreserveWhiteSpace' => true, 1022 'role' => 'content' 664 1023 ) 665 1024 ), … … 736 1095 'type' => 'string' 737 1096 ), 738 'allowedBlocks' => array(739 'type' => 'array'740 ),741 1097 'templateLock' => array( 742 1098 'type' => array( … … 804 1160 'interactivity' => array( 805 1161 'clientNavigation' => true 806 ) 1162 ), 1163 'allowedBlocks' => true 807 1164 ) 808 1165 ), … … 1669 2026 'attributes' => array( 1670 2027 'url' => array( 1671 'type' => 'string' 2028 'type' => 'string', 2029 'role' => 'content' 1672 2030 ), 1673 2031 'useFeaturedImage' => array( … … 1728 2086 'type' => 'boolean', 1729 2087 'default' => true 1730 ),1731 'allowedBlocks' => array(1732 'type' => 'array'1733 2088 ), 1734 2089 'templateLock' => array( … … 1750 2105 'sizeSlug' => array( 1751 2106 'type' => 'string' 2107 ), 2108 'poster' => array( 2109 'type' => 'string', 2110 'source' => 'attribute', 2111 'selector' => 'video', 2112 'attribute' => 'poster' 1752 2113 ) 1753 2114 ), … … 1786 2147 ), 1787 2148 'color' => array( 1788 '__experimentalDuotone' => '> .wp-block-cover__image-background, > .wp-block-cover__video-background',1789 2149 'heading' => true, 1790 2150 'text' => true, … … 1816 2176 'interactivity' => array( 1817 2177 'clientNavigation' => true 2178 ), 2179 'filter' => array( 2180 'duotone' => true 2181 ), 2182 'allowedBlocks' => true 2183 ), 2184 'selectors' => array( 2185 'filter' => array( 2186 'duotone' => '.wp-block-cover > .wp-block-cover__image-background, .wp-block-cover > .wp-block-cover__video-background' 1818 2187 ) 1819 2188 ), … … 1829 2198 'description' => 'Hide and show additional content.', 1830 2199 'keywords' => array( 1831 'accordion',1832 2200 'summary', 1833 2201 'toggle', … … 1843 2211 'type' => 'rich-text', 1844 2212 'source' => 'rich-text', 1845 'selector' => 'summary' 2213 'selector' => 'summary', 2214 'role' => 'content' 1846 2215 ), 1847 2216 'name' => array( … … 1850 2219 'attribute' => 'name', 1851 2220 'selector' => '.wp-block-details' 1852 ),1853 'allowedBlocks' => array(1854 'type' => 'array'1855 2221 ), 1856 2222 'placeholder' => array( … … 1906 2272 'interactivity' => array( 1907 2273 'clientNavigation' => true 1908 ) 2274 ), 2275 'allowedBlocks' => true 1909 2276 ), 1910 2277 'editorStyle' => 'wp-block-details-editor', … … 2244 2611 'type' => 'rich-text', 2245 2612 'source' => 'rich-text', 2246 'selector' => '.blocks-gallery-caption' 2613 'selector' => '.blocks-gallery-caption', 2614 'role' => 'content' 2247 2615 ), 2248 2616 'imageCrop' => array( … … 2271 2639 'type' => 'boolean', 2272 2640 'default' => false 2641 ), 2642 'aspectRatio' => array( 2643 'type' => 'string', 2644 'default' => 'auto' 2273 2645 ) 2274 2646 ), … … 2365 2737 false 2366 2738 ) 2367 ),2368 'allowedBlocks' => array(2369 'type' => 'array'2370 2739 ) 2371 2740 ), … … 2447 2816 'interactivity' => array( 2448 2817 'clientNavigation' => true 2449 ) 2818 ), 2819 'allowedBlocks' => true 2450 2820 ), 2451 2821 'editorStyle' => 'wp-block-group-editor', … … 2525 2895 '__experimentalTextDecoration' => true, 2526 2896 '__experimentalWritingMode' => true, 2897 'fitText' => true, 2527 2898 '__experimentalDefaultControls' => array( 2528 2899 'fontSize' => true … … 2600 2971 'content' => array( 2601 2972 'type' => 'string', 2602 'source' => 'raw' 2973 'source' => 'raw', 2974 'role' => 'content' 2603 2975 ) 2604 2976 ), … … 3038 3410 'selector' => 'ol,ul', 3039 3411 'multiline' => 'li', 3040 '__unstableMultilineWrapperTags' => array(3041 'ol',3042 'ul'3043 ),3044 3412 'default' => '', 3045 3413 'role' => 'content' … … 3249 3617 'style' => 'wp-block-loginout' 3250 3618 ), 3619 'math' => array( 3620 '$schema' => 'https://schemas.wp.org/trunk/block.json', 3621 'apiVersion' => 3, 3622 'name' => 'core/math', 3623 'title' => 'Math', 3624 'category' => 'text', 3625 'description' => 'Display mathematical notation using LaTeX.', 3626 'keywords' => array( 3627 'equation', 3628 'formula', 3629 'latex', 3630 'mathematics' 3631 ), 3632 'textdomain' => 'default', 3633 'attributes' => array( 3634 'latex' => array( 3635 'type' => 'string', 3636 'role' => 'content' 3637 ), 3638 'mathML' => array( 3639 'type' => 'string', 3640 'source' => 'html', 3641 'selector' => 'math' 3642 ) 3643 ) 3644 ), 3251 3645 'media-text' => array( 3252 3646 '$schema' => 'https://schemas.wp.org/trunk/block.json', … … 3343 3737 'focalPoint' => array( 3344 3738 'type' => 'object' 3345 ),3346 'allowedBlocks' => array(3347 'type' => 'array'3348 3739 ), 3349 3740 'useFeaturedImage' => array( … … 3403 3794 'interactivity' => array( 3404 3795 'clientNavigation' => true 3405 ) 3796 ), 3797 'allowedBlocks' => true 3406 3798 ), 3407 3799 'editorStyle' => 'wp-block-media-text-editor', … … 3453 3845 'customText' => array( 3454 3846 'type' => 'string', 3455 'default' => '' 3847 'default' => '', 3848 'role' => 'content' 3456 3849 ), 3457 3850 'noTeaser' => array( … … 3634 4027 ), 3635 4028 'interactivity' => true, 3636 'renaming' => false 4029 'renaming' => false, 4030 'contentRole' => true 3637 4031 ), 3638 4032 'editorStyle' => 'wp-block-navigation-editor', … … 3657 4051 'attributes' => array( 3658 4052 'label' => array( 3659 'type' => 'string' 4053 'type' => 'string', 4054 'role' => 'content' 3660 4055 ), 3661 4056 'type' => array( … … 3741 4136 'attributes' => array( 3742 4137 'label' => array( 3743 'type' => 'string' 4138 'type' => 'string', 4139 'role' => 'content' 3744 4140 ), 3745 4141 'type' => array( … … 3919 4315 'margin' => false 3920 4316 ) 3921 ) 4317 ), 4318 'contentRole' => true 3922 4319 ), 3923 4320 'editorStyle' => 'wp-block-page-list-editor', … … 4057 4454 '__experimentalTextTransform' => true, 4058 4455 '__experimentalWritingMode' => true, 4456 'fitText' => true, 4059 4457 '__experimentalDefaultControls' => array( 4060 4458 'fontSize' => true … … 4081 4479 'inserter' => false, 4082 4480 'renaming' => false, 4481 'blockVisibility' => false, 4083 4482 'interactivity' => array( 4084 4483 'clientNavigation' => true … … 4156 4555 'gradients' => true, 4157 4556 'link' => true, 4158 '__experimentalDuotone' => '.wp-block-post-author__avatar img',4159 4557 '__experimentalDefaultControls' => array( 4160 4558 'background' => true, … … 4176 4574 'style' => true 4177 4575 ) 4576 ), 4577 'filter' => array( 4578 'duotone' => true 4579 ) 4580 ), 4581 'selectors' => array( 4582 'filter' => array( 4583 'duotone' => '.wp-block-post-author .wp-block-post-author__avatar img' 4178 4584 ) 4179 4585 ), … … 4321 4727 'style' => 'wp-block-post-author-name' 4322 4728 ), 4323 'post-comments- form' => array(4324 '$schema' => 'https://schemas.wp.org/trunk/block.json', 4325 'apiVersion' => 3, 4326 'name' => 'core/post-comments- form',4327 'title' => 'Comments Form',4729 'post-comments-count' => array( 4730 '$schema' => 'https://schemas.wp.org/trunk/block.json', 4731 'apiVersion' => 3, 4732 'name' => 'core/post-comments-count', 4733 'title' => 'Comments Count', 4328 4734 'category' => 'theme', 4329 'description' => 'Display a post\'s comments form.',4735 'description' => 'Display a post\'s comments count.', 4330 4736 'textdomain' => 'default', 4331 4737 'attributes' => array( … … 4335 4741 ), 4336 4742 'usesContext' => array( 4337 'postId', 4338 'postType' 4743 'postId' 4744 ), 4745 'example' => array( 4746 'viewportWidth' => 350 4339 4747 ), 4340 4748 'supports' => array( … … 4342 4750 'color' => array( 4343 4751 'gradients' => true, 4344 'heading' => true,4345 'link' => true,4346 4752 '__experimentalDefaultControls' => array( 4347 4753 'background' => true, … … 4352 4758 'margin' => true, 4353 4759 'padding' => true 4354 ),4355 'typography' => array(4356 'fontSize' => true,4357 'lineHeight' => true,4358 '__experimentalFontStyle' => true,4359 '__experimentalFontWeight' => true,4360 '__experimentalLetterSpacing' => true,4361 '__experimentalTextTransform' => true,4362 '__experimentalDefaultControls' => array(4363 'fontSize' => true4364 )4365 ),4366 '__experimentalBorder' => array(4367 'radius' => true,4368 'color' => true,4369 'width' => true,4370 'style' => true,4371 '__experimentalDefaultControls' => array(4372 'radius' => true,4373 'color' => true,4374 'width' => true,4375 'style' => true4376 )4377 )4378 ),4379 'editorStyle' => 'wp-block-post-comments-form-editor',4380 'style' => array(4381 'wp-block-post-comments-form',4382 'wp-block-buttons',4383 'wp-block-button'4384 ),4385 'example' => array(4386 'attributes' => array(4387 'textAlign' => 'center'4388 )4389 )4390 ),4391 'post-content' => array(4392 '$schema' => 'https://schemas.wp.org/trunk/block.json',4393 'apiVersion' => 3,4394 'name' => 'core/post-content',4395 'title' => 'Content',4396 'category' => 'theme',4397 'description' => 'Displays the contents of a post or page.',4398 'textdomain' => 'default',4399 'usesContext' => array(4400 'postId',4401 'postType',4402 'queryId'4403 ),4404 'example' => array(4405 'viewportWidth' => 3504406 ),4407 'supports' => array(4408 'align' => array(4409 'wide',4410 'full'4411 ),4412 'html' => false,4413 'layout' => true,4414 'background' => array(4415 'backgroundImage' => true,4416 'backgroundSize' => true,4417 '__experimentalDefaultControls' => array(4418 'backgroundImage' => true4419 )4420 ),4421 'dimensions' => array(4422 'minHeight' => true4423 ),4424 'spacing' => array(4425 'blockGap' => true,4426 'padding' => true,4427 'margin' => true,4428 '__experimentalDefaultControls' => array(4429 'margin' => false,4430 'padding' => false4431 )4432 ),4433 'color' => array(4434 'gradients' => true,4435 'heading' => true,4436 'link' => true,4437 '__experimentalDefaultControls' => array(4438 'background' => false,4439 'text' => false4440 )4441 4760 ), 4442 4761 'typography' => array( … … 4457 4776 'color' => true, 4458 4777 'width' => true, 4778 'style' => true 4779 ), 4780 'interactivity' => array( 4781 'clientNavigation' => true 4782 ) 4783 ), 4784 'style' => 'wp-block-post-comments-count' 4785 ), 4786 'post-comments-form' => array( 4787 '$schema' => 'https://schemas.wp.org/trunk/block.json', 4788 'apiVersion' => 3, 4789 'name' => 'core/post-comments-form', 4790 'title' => 'Comments Form', 4791 'category' => 'theme', 4792 'description' => 'Display a post\'s comments form.', 4793 'textdomain' => 'default', 4794 'attributes' => array( 4795 'textAlign' => array( 4796 'type' => 'string' 4797 ) 4798 ), 4799 'usesContext' => array( 4800 'postId', 4801 'postType' 4802 ), 4803 'supports' => array( 4804 'html' => false, 4805 'color' => array( 4806 'gradients' => true, 4807 'heading' => true, 4808 'link' => true, 4809 '__experimentalDefaultControls' => array( 4810 'background' => true, 4811 'text' => true 4812 ) 4813 ), 4814 'spacing' => array( 4815 'margin' => true, 4816 'padding' => true 4817 ), 4818 'typography' => array( 4819 'fontSize' => true, 4820 'lineHeight' => true, 4821 '__experimentalFontStyle' => true, 4822 '__experimentalFontWeight' => true, 4823 '__experimentalLetterSpacing' => true, 4824 '__experimentalTextTransform' => true, 4825 '__experimentalDefaultControls' => array( 4826 'fontSize' => true 4827 ) 4828 ), 4829 '__experimentalBorder' => array( 4830 'radius' => true, 4831 'color' => true, 4832 'width' => true, 4459 4833 'style' => true, 4460 4834 '__experimentalDefaultControls' => array( … … 4466 4840 ) 4467 4841 ), 4468 'style' => 'wp-block-post-content', 4469 'editorStyle' => 'wp-block-post-content-editor' 4470 ), 4471 'post-date' => array( 4472 '$schema' => 'https://schemas.wp.org/trunk/block.json', 4473 'apiVersion' => 3, 4474 'name' => 'core/post-date', 4475 'title' => 'Date', 4842 'editorStyle' => 'wp-block-post-comments-form-editor', 4843 'style' => array( 4844 'wp-block-post-comments-form', 4845 'wp-block-buttons', 4846 'wp-block-button' 4847 ), 4848 'example' => array( 4849 'attributes' => array( 4850 'textAlign' => 'center' 4851 ) 4852 ) 4853 ), 4854 'post-comments-link' => array( 4855 '$schema' => 'https://schemas.wp.org/trunk/block.json', 4856 'apiVersion' => 3, 4857 'name' => 'core/post-comments-link', 4858 'title' => 'Comments Link', 4476 4859 'category' => 'theme', 4477 'description' => 'Display the publish date for an entry such as a post or page.', 4478 'textdomain' => 'default', 4860 'description' => 'Displays the link to the current post comments.', 4861 'textdomain' => 'default', 4862 'usesContext' => array( 4863 'postType', 4864 'postId' 4865 ), 4479 4866 'attributes' => array( 4480 4867 'textAlign' => array( 4481 4868 'type' => 'string' 4482 ), 4483 'format' => array( 4484 'type' => 'string' 4485 ), 4486 'isLink' => array( 4487 'type' => 'boolean', 4488 'default' => false, 4489 'role' => 'content' 4490 ), 4491 'displayType' => array( 4492 'type' => 'string', 4493 'default' => 'date' 4494 ) 4495 ), 4496 'usesContext' => array( 4497 'postId', 4498 'postType', 4499 'queryId' 4869 ) 4500 4870 ), 4501 4871 'example' => array( … … 4505 4875 'html' => false, 4506 4876 'color' => array( 4507 'gradients' => true,4508 4877 'link' => true, 4878 'text' => false, 4509 4879 '__experimentalDefaultControls' => array( 4510 4880 'background' => true, 4511 'text' => true,4512 4881 'link' => true 4513 4882 ) … … 4545 4914 ) 4546 4915 ) 4547 ) 4548 ), 4549 'post-excerpt' => array( 4550 '$schema' => 'https://schemas.wp.org/trunk/block.json', 4551 'apiVersion' => 3, 4552 'name' => 'core/post-excerpt', 4553 'title' => 'Excerpt', 4916 ), 4917 'style' => 'wp-block-post-comments-link' 4918 ), 4919 'post-content' => array( 4920 '$schema' => 'https://schemas.wp.org/trunk/block.json', 4921 'apiVersion' => 3, 4922 'name' => 'core/post-content', 4923 'title' => 'Content', 4554 4924 'category' => 'theme', 4555 'description' => 'Display the excerpt.', 4556 'textdomain' => 'default', 4557 'attributes' => array( 4558 'textAlign' => array( 4559 'type' => 'string' 4560 ), 4561 'moreText' => array( 4562 'type' => 'string' 4563 ), 4564 'showMoreOnNewLine' => array( 4565 'type' => 'boolean', 4566 'default' => true 4567 ), 4568 'excerptLength' => array( 4569 'type' => 'number', 4570 'default' => 55 4571 ) 4572 ), 4925 'description' => 'Displays the contents of a post or page.', 4926 'textdomain' => 'default', 4573 4927 'usesContext' => array( 4574 4928 'postId', … … 4576 4930 'queryId' 4577 4931 ), 4932 'attributes' => array( 4933 'tagName' => array( 4934 'type' => 'string', 4935 'default' => 'div' 4936 ) 4937 ), 4578 4938 'example' => array( 4579 4939 'viewportWidth' => 350 4580 4940 ), 4581 4941 'supports' => array( 4942 'align' => array( 4943 'wide', 4944 'full' 4945 ), 4582 4946 'html' => false, 4947 'layout' => true, 4948 'background' => array( 4949 'backgroundImage' => true, 4950 'backgroundSize' => true, 4951 '__experimentalDefaultControls' => array( 4952 'backgroundImage' => true 4953 ) 4954 ), 4955 'dimensions' => array( 4956 'minHeight' => true 4957 ), 4958 'spacing' => array( 4959 'blockGap' => true, 4960 'padding' => true, 4961 'margin' => true, 4962 '__experimentalDefaultControls' => array( 4963 'margin' => false, 4964 'padding' => false 4965 ) 4966 ), 4583 4967 'color' => array( 4584 4968 'gradients' => true, 4969 'heading' => true, 4585 4970 'link' => true, 4586 4971 '__experimentalDefaultControls' => array( 4587 'background' => true, 4588 'text' => true, 4589 'link' => true 4590 ) 4591 ), 4592 'spacing' => array( 4593 'margin' => true, 4594 'padding' => true 4972 'background' => false, 4973 'text' => false 4974 ) 4595 4975 ), 4596 4976 'typography' => array( … … 4623 5003 ) 4624 5004 ), 5005 'style' => 'wp-block-post-content', 5006 'editorStyle' => 'wp-block-post-content-editor' 5007 ), 5008 'post-date' => array( 5009 '$schema' => 'https://schemas.wp.org/trunk/block.json', 5010 'apiVersion' => 3, 5011 'name' => 'core/post-date', 5012 'title' => 'Date', 5013 'category' => 'theme', 5014 'description' => 'Display the publish date for an entry such as a post or page.', 5015 'textdomain' => 'default', 5016 'attributes' => array( 5017 'datetime' => array( 5018 'type' => 'string', 5019 'role' => 'content' 5020 ), 5021 'textAlign' => array( 5022 'type' => 'string' 5023 ), 5024 'format' => array( 5025 'type' => 'string' 5026 ), 5027 'isLink' => array( 5028 'type' => 'boolean', 5029 'default' => false, 5030 'role' => 'content' 5031 ) 5032 ), 5033 'usesContext' => array( 5034 'postId', 5035 'postType', 5036 'queryId' 5037 ), 5038 'example' => array( 5039 'viewportWidth' => 350 5040 ), 5041 'supports' => array( 5042 'html' => false, 5043 'color' => array( 5044 'gradients' => true, 5045 'link' => true, 5046 '__experimentalDefaultControls' => array( 5047 'background' => true, 5048 'text' => true, 5049 'link' => true 5050 ) 5051 ), 5052 'spacing' => array( 5053 'margin' => true, 5054 'padding' => true 5055 ), 5056 'typography' => array( 5057 'fontSize' => true, 5058 'lineHeight' => true, 5059 '__experimentalFontFamily' => true, 5060 '__experimentalFontWeight' => true, 5061 '__experimentalFontStyle' => true, 5062 '__experimentalTextTransform' => true, 5063 '__experimentalTextDecoration' => true, 5064 '__experimentalLetterSpacing' => true, 5065 '__experimentalDefaultControls' => array( 5066 'fontSize' => true 5067 ) 5068 ), 5069 'interactivity' => array( 5070 'clientNavigation' => true 5071 ), 5072 '__experimentalBorder' => array( 5073 'radius' => true, 5074 'color' => true, 5075 'width' => true, 5076 'style' => true, 5077 '__experimentalDefaultControls' => array( 5078 'radius' => true, 5079 'color' => true, 5080 'width' => true, 5081 'style' => true 5082 ) 5083 ) 5084 ) 5085 ), 5086 'post-excerpt' => array( 5087 '$schema' => 'https://schemas.wp.org/trunk/block.json', 5088 'apiVersion' => 3, 5089 'name' => 'core/post-excerpt', 5090 'title' => 'Excerpt', 5091 'category' => 'theme', 5092 'description' => 'Display the excerpt.', 5093 'textdomain' => 'default', 5094 'attributes' => array( 5095 'textAlign' => array( 5096 'type' => 'string' 5097 ), 5098 'moreText' => array( 5099 'type' => 'string', 5100 'role' => 'content' 5101 ), 5102 'showMoreOnNewLine' => array( 5103 'type' => 'boolean', 5104 'default' => true 5105 ), 5106 'excerptLength' => array( 5107 'type' => 'number', 5108 'default' => 55 5109 ) 5110 ), 5111 'usesContext' => array( 5112 'postId', 5113 'postType', 5114 'queryId' 5115 ), 5116 'example' => array( 5117 'viewportWidth' => 350 5118 ), 5119 'supports' => array( 5120 'html' => false, 5121 'color' => array( 5122 'gradients' => true, 5123 'link' => true, 5124 '__experimentalDefaultControls' => array( 5125 'background' => true, 5126 'text' => true, 5127 'link' => true 5128 ) 5129 ), 5130 'spacing' => array( 5131 'margin' => true, 5132 'padding' => true 5133 ), 5134 'typography' => array( 5135 'fontSize' => true, 5136 'lineHeight' => true, 5137 '__experimentalFontFamily' => true, 5138 '__experimentalFontWeight' => true, 5139 '__experimentalFontStyle' => true, 5140 '__experimentalTextTransform' => true, 5141 '__experimentalTextDecoration' => true, 5142 '__experimentalLetterSpacing' => true, 5143 '__experimentalDefaultControls' => array( 5144 'fontSize' => true 5145 ) 5146 ), 5147 'interactivity' => array( 5148 'clientNavigation' => true 5149 ), 5150 '__experimentalBorder' => array( 5151 'radius' => true, 5152 'color' => true, 5153 'width' => true, 5154 'style' => true, 5155 '__experimentalDefaultControls' => array( 5156 'radius' => true, 5157 'color' => true, 5158 'width' => true, 5159 'style' => true 5160 ) 5161 ) 5162 ), 4625 5163 'editorStyle' => 'wp-block-post-excerpt-editor', 4626 5164 'style' => 'wp-block-post-excerpt' … … 4761 5299 ), 4762 5300 'label' => array( 4763 'type' => 'string' 5301 'type' => 'string', 5302 'role' => 'content' 4764 5303 ), 4765 5304 'showTitle' => array( … … 4904 5443 'prefix' => array( 4905 5444 'type' => 'string', 4906 'default' => '' 5445 'default' => '', 5446 'role' => 'content' 4907 5447 ), 4908 5448 'suffix' => array( 4909 5449 'type' => 'string', 4910 'default' => '' 5450 'default' => '', 5451 'role' => 'content' 4911 5452 ) 4912 5453 ), … … 4963 5504 ), 4964 5505 'style' => 'wp-block-post-terms' 5506 ), 5507 'post-time-to-read' => array( 5508 '$schema' => 'https://schemas.wp.org/trunk/block.json', 5509 'apiVersion' => 3, 5510 'name' => 'core/post-time-to-read', 5511 'title' => 'Time to Read', 5512 'category' => 'theme', 5513 'description' => 'Show minutes required to finish reading the post. Can also show a word count.', 5514 'textdomain' => 'default', 5515 'usesContext' => array( 5516 'postId', 5517 'postType' 5518 ), 5519 'attributes' => array( 5520 'textAlign' => array( 5521 'type' => 'string' 5522 ), 5523 'displayAsRange' => array( 5524 'type' => 'boolean', 5525 'default' => true 5526 ), 5527 'displayMode' => array( 5528 'type' => 'string', 5529 'default' => 'time' 5530 ), 5531 'averageReadingSpeed' => array( 5532 'type' => 'number', 5533 'default' => 189 5534 ) 5535 ), 5536 'supports' => array( 5537 'color' => array( 5538 'gradients' => true, 5539 '__experimentalDefaultControls' => array( 5540 'background' => true, 5541 'text' => true 5542 ) 5543 ), 5544 'html' => false, 5545 'spacing' => array( 5546 'margin' => true, 5547 'padding' => true, 5548 '__experimentalDefaultControls' => array( 5549 'margin' => false, 5550 'padding' => false 5551 ) 5552 ), 5553 'typography' => array( 5554 'fontSize' => true, 5555 'lineHeight' => true, 5556 '__experimentalFontFamily' => true, 5557 '__experimentalFontWeight' => true, 5558 '__experimentalFontStyle' => true, 5559 '__experimentalTextTransform' => true, 5560 '__experimentalTextDecoration' => true, 5561 '__experimentalLetterSpacing' => true, 5562 '__experimentalDefaultControls' => array( 5563 'fontSize' => true 5564 ) 5565 ), 5566 'interactivity' => array( 5567 'clientNavigation' => true 5568 ), 5569 '__experimentalBorder' => array( 5570 'radius' => true, 5571 'color' => true, 5572 'width' => true, 5573 'style' => true 5574 ) 5575 ) 4965 5576 ), 4966 5577 'post-title' => array( … … 5288 5899 'html' => false, 5289 5900 'layout' => true, 5290 'interactivity' => true 5901 'interactivity' => true, 5902 'contentRole' => true 5291 5903 ), 5292 5904 'editorStyle' => 'wp-block-query-editor' … … 5595 6207 'type' => 'search' 5596 6208 ) 6209 ), 6210 'usesContext' => array( 6211 'query' 5597 6212 ), 5598 6213 'supports' => array( … … 5812 6427 'interactivity' => array( 5813 6428 'clientNavigation' => true 5814 ) 6429 ), 6430 'allowedBlocks' => true 5815 6431 ), 5816 6432 'styles' => array( … … 5838 6454 'attributes' => array( 5839 6455 'content' => array( 5840 'type' => 'string' 6456 'type' => 'string', 6457 'role' => 'content' 5841 6458 ), 5842 6459 'linkTarget' => array( … … 5915 6532 'feedURL' => array( 5916 6533 'type' => 'string', 5917 'default' => '' 6534 'default' => '', 6535 'role' => 'content' 5918 6536 ), 5919 6537 'itemsToShow' => array( … … 5936 6554 'type' => 'number', 5937 6555 'default' => 55 6556 ), 6557 'openInNewTab' => array( 6558 'type' => 'boolean', 6559 'default' => false 6560 ), 6561 'rel' => array( 6562 'type' => 'string' 5938 6563 ) 5939 6564 ), … … 6154 6779 'text' => array( 6155 6780 'type' => 'string', 6156 'source' => 'raw' 6781 'source' => 'raw', 6782 'role' => 'content' 6157 6783 ) 6158 6784 ), … … 6202 6828 'alignWide' => false, 6203 6829 'color' => array( 6204 '__experimentalDuotone' => 'img, .components-placeholder__illustration, .components-placeholder::before',6205 6830 'text' => false, 6206 6831 'background' => false … … 6216 6841 'interactivity' => array( 6217 6842 'clientNavigation' => true 6843 ), 6844 'filter' => array( 6845 'duotone' => true 6218 6846 ) 6219 6847 ), … … 6229 6857 ) 6230 6858 ), 6859 'selectors' => array( 6860 'filter' => array( 6861 'duotone' => '.wp-block-site-logo img, .wp-block-site-logo .components-placeholder__illustration, .wp-block-site-logo .components-placeholder::before' 6862 ) 6863 ), 6231 6864 'editorStyle' => 'wp-block-site-logo-editor', 6232 6865 'style' => 'wp-block-site-logo' … … 6238 6871 'title' => 'Site Tagline', 6239 6872 'category' => 'theme', 6240 'description' => 'Describe in a few words what th e site is about. The tagline can be used in search results or when sharing on social networks even if it’s not displayed in the theme design.',6873 '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.', 6241 6874 'keywords' => array( 6242 6875 'description' … … 6283 6916 ) 6284 6917 ), 6918 'contentRole' => true, 6285 6919 'spacing' => array( 6286 6920 'margin' => true, … … 6514 7148 ), 6515 7149 'anchor' => true, 7150 'html' => false, 6516 7151 '__experimentalExposeControlsToChildren' => true, 6517 7152 'layout' => array( … … 6566 7201 'style' => true 6567 7202 ) 6568 ) 7203 ), 7204 'contentRole' => true 6569 7205 ), 6570 7206 'styles' => array( … … 6640 7276 'type' => 'rich-text', 6641 7277 'source' => 'rich-text', 6642 'selector' => 'figcaption' 7278 'selector' => 'figcaption', 7279 'role' => 'content' 6643 7280 ), 6644 7281 'head' => array( … … 6660 7297 'content' => array( 6661 7298 'type' => 'rich-text', 6662 'source' => 'rich-text' 7299 'source' => 'rich-text', 7300 'role' => 'content' 6663 7301 ), 6664 7302 'tag' => array( … … 6709 7347 'content' => array( 6710 7348 'type' => 'rich-text', 6711 'source' => 'rich-text' 7349 'source' => 'rich-text', 7350 'role' => 'content' 6712 7351 ), 6713 7352 'tag' => array( … … 6758 7397 'content' => array( 6759 7398 'type' => 'rich-text', 6760 'source' => 'rich-text' 7399 'source' => 'rich-text', 7400 'role' => 'content' 6761 7401 ), 6762 7402 'tag' => array( … … 6964 7604 'editorStyle' => 'wp-block-template-part-editor' 6965 7605 ), 6966 'term- description' => array(6967 '$schema' => 'https://schemas.wp.org/trunk/block.json', 6968 'apiVersion' => 3, 6969 'name' => 'core/term- description',6970 'title' => 'Term Description',7606 'term-count' => array( 7607 '$schema' => 'https://schemas.wp.org/trunk/block.json', 7608 'apiVersion' => 3, 7609 'name' => 'core/term-count', 7610 'title' => 'Term Count', 6971 7611 'category' => 'theme', 6972 'description' => 'Display the description of categories, tags and custom taxonomies when viewing an archive.', 6973 'textdomain' => 'default', 6974 'attributes' => array( 6975 'textAlign' => array( 6976 'type' => 'string' 6977 ) 6978 ), 6979 'supports' => array( 6980 'align' => array( 6981 'wide', 6982 'full' 6983 ), 7612 'description' => 'Displays the post count of a taxonomy term.', 7613 'textdomain' => 'default', 7614 'usesContext' => array( 7615 'termId', 7616 'taxonomy' 7617 ), 7618 'attributes' => array( 7619 'bracketType' => array( 7620 'type' => 'string', 7621 'enum' => array( 7622 'none', 7623 'round', 7624 'square', 7625 'curly', 7626 'angle' 7627 ), 7628 'default' => 'round' 7629 ) 7630 ), 7631 'supports' => array( 6984 7632 'html' => false, 6985 7633 'color' => array( 6986 ' link' => true,7634 'gradients' => true, 6987 7635 '__experimentalDefaultControls' => array( 6988 7636 'background' => true, … … 6991 7639 ), 6992 7640 'spacing' => array( 6993 'padding' => true, 6994 'margin' => true 7641 'padding' => true 6995 7642 ), 6996 7643 'typography' => array( … … 7016 7663 'style' => true, 7017 7664 '__experimentalDefaultControls' => array( 7665 'color' => true, 7666 'width' => true, 7667 'style' => true 7668 ) 7669 ) 7670 ), 7671 'style' => 'wp-block-term-count' 7672 ), 7673 'term-description' => array( 7674 '$schema' => 'https://schemas.wp.org/trunk/block.json', 7675 'apiVersion' => 3, 7676 'name' => 'core/term-description', 7677 'title' => 'Term Description', 7678 'category' => 'theme', 7679 'description' => 'Display the description of categories, tags and custom taxonomies when viewing an archive.', 7680 'textdomain' => 'default', 7681 'usesContext' => array( 7682 'termId', 7683 'taxonomy' 7684 ), 7685 'attributes' => array( 7686 'textAlign' => array( 7687 'type' => 'string' 7688 ) 7689 ), 7690 'supports' => array( 7691 'align' => array( 7692 'wide', 7693 'full' 7694 ), 7695 'html' => false, 7696 'color' => array( 7697 'link' => true, 7698 '__experimentalDefaultControls' => array( 7699 'background' => true, 7700 'text' => true 7701 ) 7702 ), 7703 'spacing' => array( 7704 'padding' => true, 7705 'margin' => true 7706 ), 7707 'typography' => array( 7708 'fontSize' => true, 7709 'lineHeight' => true, 7710 '__experimentalFontFamily' => true, 7711 '__experimentalFontWeight' => true, 7712 '__experimentalFontStyle' => true, 7713 '__experimentalTextTransform' => true, 7714 '__experimentalTextDecoration' => true, 7715 '__experimentalLetterSpacing' => true, 7716 '__experimentalDefaultControls' => array( 7717 'fontSize' => true 7718 ) 7719 ), 7720 'interactivity' => array( 7721 'clientNavigation' => true 7722 ), 7723 '__experimentalBorder' => array( 7724 'radius' => true, 7725 'color' => true, 7726 'width' => true, 7727 'style' => true, 7728 '__experimentalDefaultControls' => array( 7018 7729 'radius' => true, 7019 7730 'color' => true, … … 7022 7733 ) 7023 7734 ) 7735 ) 7736 ), 7737 'term-name' => array( 7738 '$schema' => 'https://schemas.wp.org/trunk/block.json', 7739 'apiVersion' => 3, 7740 'name' => 'core/term-name', 7741 'title' => 'Term Name', 7742 'category' => 'theme', 7743 'description' => 'Displays the name of a taxonomy term.', 7744 'keywords' => array( 7745 'term title' 7746 ), 7747 'textdomain' => 'default', 7748 'usesContext' => array( 7749 'termId', 7750 'taxonomy' 7751 ), 7752 'attributes' => array( 7753 'textAlign' => array( 7754 'type' => 'string' 7755 ), 7756 'level' => array( 7757 'type' => 'number', 7758 'default' => 0 7759 ), 7760 'isLink' => array( 7761 'type' => 'boolean', 7762 'default' => false 7763 ) 7764 ), 7765 'supports' => array( 7766 'align' => array( 7767 'wide', 7768 'full' 7769 ), 7770 'html' => false, 7771 'color' => array( 7772 'gradients' => true, 7773 'link' => true, 7774 '__experimentalDefaultControls' => array( 7775 'background' => true, 7776 'text' => true, 7777 'link' => true 7778 ) 7779 ), 7780 'spacing' => array( 7781 'padding' => true 7782 ), 7783 'typography' => array( 7784 'fontSize' => true, 7785 'lineHeight' => true, 7786 '__experimentalFontFamily' => true, 7787 '__experimentalFontWeight' => true, 7788 '__experimentalFontStyle' => true, 7789 '__experimentalTextTransform' => true, 7790 '__experimentalTextDecoration' => true, 7791 '__experimentalLetterSpacing' => true, 7792 '__experimentalDefaultControls' => array( 7793 'fontSize' => true 7794 ) 7795 ), 7796 'interactivity' => array( 7797 'clientNavigation' => true 7798 ), 7799 '__experimentalBorder' => array( 7800 'radius' => true, 7801 'color' => true, 7802 'width' => true, 7803 'style' => true, 7804 '__experimentalDefaultControls' => array( 7805 'color' => true, 7806 'width' => true, 7807 'style' => true 7808 ) 7809 ) 7810 ), 7811 'style' => 'wp-block-term-name' 7812 ), 7813 'term-template' => array( 7814 '$schema' => 'https://schemas.wp.org/trunk/block.json', 7815 'apiVersion' => 3, 7816 'name' => 'core/term-template', 7817 'title' => 'Term Template', 7818 'category' => 'theme', 7819 'ancestor' => array( 7820 'core/terms-query' 7821 ), 7822 'description' => 'Contains the block elements used to render a taxonomy term, like the name, description, and more.', 7823 'textdomain' => 'default', 7824 'usesContext' => array( 7825 'termQuery' 7826 ), 7827 'supports' => array( 7828 'reusable' => false, 7829 'html' => false, 7830 'align' => array( 7831 'wide', 7832 'full' 7833 ), 7834 'layout' => true, 7835 'color' => array( 7836 'gradients' => true, 7837 'link' => true, 7838 '__experimentalDefaultControls' => array( 7839 'background' => true, 7840 'text' => true 7841 ) 7842 ), 7843 'typography' => array( 7844 'fontSize' => true, 7845 'lineHeight' => true, 7846 '__experimentalFontFamily' => true, 7847 '__experimentalFontWeight' => true, 7848 '__experimentalFontStyle' => true, 7849 '__experimentalTextTransform' => true, 7850 '__experimentalTextDecoration' => true, 7851 '__experimentalLetterSpacing' => true, 7852 '__experimentalDefaultControls' => array( 7853 'fontSize' => true 7854 ) 7855 ), 7856 'spacing' => array( 7857 'margin' => true, 7858 'padding' => true, 7859 'blockGap' => array( 7860 '__experimentalDefault' => '1.25em' 7861 ), 7862 '__experimentalDefaultControls' => array( 7863 'blockGap' => true, 7864 'padding' => false, 7865 'margin' => false 7866 ) 7867 ), 7868 'interactivity' => array( 7869 'clientNavigation' => true 7870 ), 7871 '__experimentalBorder' => array( 7872 'radius' => true, 7873 'color' => true, 7874 'width' => true, 7875 'style' => true 7876 ) 7877 ), 7878 'style' => 'wp-block-term-template', 7879 'editorStyle' => 'wp-block-term-template-editor' 7880 ), 7881 'terms-query' => array( 7882 '$schema' => 'https://schemas.wp.org/trunk/block.json', 7883 'apiVersion' => 3, 7884 'name' => 'core/terms-query', 7885 'title' => 'Terms Query', 7886 'category' => 'theme', 7887 'description' => 'An advanced block that allows displaying taxonomy terms based on different query parameters and visual configurations.', 7888 'keywords' => array( 7889 'terms', 7890 'taxonomy', 7891 'categories', 7892 'tags', 7893 'list' 7894 ), 7895 'textdomain' => 'default', 7896 'attributes' => array( 7897 'termQuery' => array( 7898 'type' => 'object', 7899 'default' => array( 7900 'perPage' => 10, 7901 'taxonomy' => 'category', 7902 'order' => 'asc', 7903 'orderBy' => 'name', 7904 'include' => array( 7905 7906 ), 7907 'hideEmpty' => true, 7908 'showNested' => false, 7909 'inherit' => false 7910 ) 7911 ), 7912 'tagName' => array( 7913 'type' => 'string', 7914 'default' => 'div' 7915 ) 7916 ), 7917 'usesContext' => array( 7918 'templateSlug' 7919 ), 7920 'providesContext' => array( 7921 'termQuery' => 'termQuery' 7922 ), 7923 'supports' => array( 7924 'align' => array( 7925 'wide', 7926 'full' 7927 ), 7928 'html' => false, 7929 'layout' => true, 7930 'interactivity' => true 7024 7931 ) 7025 7932 ),
Note: See TracChangeset
for help on using the changeset viewer.