changeset 22 | 8c2e4d02f4ef |
parent 21 | 48c4eec2b7e6 |
21:48c4eec2b7e6 | 22:8c2e4d02f4ef |
---|---|
25 'default' => 'monthly' |
25 'default' => 'monthly' |
26 ) |
26 ) |
27 ), |
27 ), |
28 'supports' => array( |
28 'supports' => array( |
29 'align' => true, |
29 'align' => true, |
30 '__experimentalBorder' => array( |
|
31 'radius' => true, |
|
32 'color' => true, |
|
33 'width' => true, |
|
34 'style' => true |
|
35 ), |
|
30 'html' => false, |
36 'html' => false, |
31 'spacing' => array( |
37 'spacing' => array( |
32 'margin' => true, |
38 'margin' => true, |
33 'padding' => true, |
39 'padding' => true, |
34 '__experimentalDefaultControls' => array( |
40 '__experimentalDefaultControls' => array( |
47 '__experimentalLetterSpacing' => true, |
53 '__experimentalLetterSpacing' => true, |
48 '__experimentalDefaultControls' => array( |
54 '__experimentalDefaultControls' => array( |
49 'fontSize' => true |
55 'fontSize' => true |
50 ) |
56 ) |
51 ), |
57 ), |
58 'color' => array( |
|
59 'gradients' => true, |
|
60 'link' => true, |
|
61 '__experimentalDefaultControls' => array( |
|
62 'background' => true, |
|
63 'text' => true, |
|
64 'link' => true |
|
65 ) |
|
66 ), |
|
52 'interactivity' => array( |
67 'interactivity' => array( |
53 'clientNavigation' => true |
68 'clientNavigation' => true |
54 ) |
69 ) |
55 ), |
70 ), |
56 'editorStyle' => 'wp-block-archives-editor' |
71 'editorStyle' => 'wp-block-archives-editor' |
68 'podcast', |
83 'podcast', |
69 'recording' |
84 'recording' |
70 ), |
85 ), |
71 'textdomain' => 'default', |
86 'textdomain' => 'default', |
72 'attributes' => array( |
87 'attributes' => array( |
88 'blob' => array( |
|
89 'type' => 'string', |
|
90 'role' => 'local' |
|
91 ), |
|
73 'src' => array( |
92 'src' => array( |
74 'type' => 'string', |
93 'type' => 'string', |
75 'source' => 'attribute', |
94 'source' => 'attribute', |
76 'selector' => 'audio', |
95 'selector' => 'audio', |
77 'attribute' => 'src', |
96 'attribute' => 'src', |
78 '__experimentalRole' => 'content' |
97 'role' => 'content' |
79 ), |
98 ), |
80 'caption' => array( |
99 'caption' => array( |
81 'type' => 'rich-text', |
100 'type' => 'rich-text', |
82 'source' => 'rich-text', |
101 'source' => 'rich-text', |
83 'selector' => 'figcaption', |
102 'selector' => 'figcaption', |
84 '__experimentalRole' => 'content' |
103 'role' => 'content' |
85 ), |
104 ), |
86 'id' => array( |
105 'id' => array( |
87 'type' => 'number', |
106 'type' => 'number', |
88 '__experimentalRole' => 'content' |
107 'role' => 'content' |
89 ), |
108 ), |
90 'autoplay' => array( |
109 'autoplay' => array( |
91 'type' => 'boolean', |
110 'type' => 'boolean', |
92 'source' => 'attribute', |
111 'source' => 'attribute', |
93 'selector' => 'audio', |
112 'selector' => 'audio', |
259 'url' => array( |
278 'url' => array( |
260 'type' => 'string', |
279 'type' => 'string', |
261 'source' => 'attribute', |
280 'source' => 'attribute', |
262 'selector' => 'a', |
281 'selector' => 'a', |
263 'attribute' => 'href', |
282 'attribute' => 'href', |
264 '__experimentalRole' => 'content' |
283 'role' => 'content' |
265 ), |
284 ), |
266 'title' => array( |
285 'title' => array( |
267 'type' => 'string', |
286 'type' => 'string', |
268 'source' => 'attribute', |
287 'source' => 'attribute', |
269 'selector' => 'a,button', |
288 'selector' => 'a,button', |
270 'attribute' => 'title', |
289 'attribute' => 'title', |
271 '__experimentalRole' => 'content' |
290 'role' => 'content' |
272 ), |
291 ), |
273 'text' => array( |
292 'text' => array( |
274 'type' => 'rich-text', |
293 'type' => 'rich-text', |
275 'source' => 'rich-text', |
294 'source' => 'rich-text', |
276 'selector' => 'a,button', |
295 'selector' => 'a,button', |
277 '__experimentalRole' => 'content' |
296 'role' => 'content' |
278 ), |
297 ), |
279 'linkTarget' => array( |
298 'linkTarget' => array( |
280 'type' => 'string', |
299 'type' => 'string', |
281 'source' => 'attribute', |
300 'source' => 'attribute', |
282 'selector' => 'a', |
301 'selector' => 'a', |
283 'attribute' => 'target', |
302 'attribute' => 'target', |
284 '__experimentalRole' => 'content' |
303 'role' => 'content' |
285 ), |
304 ), |
286 'rel' => array( |
305 'rel' => array( |
287 'type' => 'string', |
306 'type' => 'string', |
288 'source' => 'attribute', |
307 'source' => 'attribute', |
289 'selector' => 'a', |
308 'selector' => 'a', |
290 'attribute' => 'rel', |
309 'attribute' => 'rel', |
291 '__experimentalRole' => 'content' |
310 'role' => 'content' |
292 ), |
311 ), |
293 'placeholder' => array( |
312 'placeholder' => array( |
294 'type' => 'string' |
313 'type' => 'string' |
295 ), |
314 ), |
296 'backgroundColor' => array( |
315 'backgroundColor' => array( |
315 '__experimentalSkipSerialization' => true, |
334 '__experimentalSkipSerialization' => true, |
316 'gradients' => true, |
335 'gradients' => true, |
317 '__experimentalDefaultControls' => array( |
336 '__experimentalDefaultControls' => array( |
318 'background' => true, |
337 'background' => true, |
319 'text' => true |
338 'text' => true |
339 ) |
|
340 ), |
|
341 'typography' => array( |
|
342 '__experimentalSkipSerialization' => array( |
|
343 'fontSize', |
|
344 'lineHeight', |
|
345 'fontFamily', |
|
346 'fontWeight', |
|
347 'fontStyle', |
|
348 'textTransform', |
|
349 'textDecoration', |
|
350 'letterSpacing' |
|
351 ), |
|
352 'fontSize' => true, |
|
353 'lineHeight' => true, |
|
354 '__experimentalFontFamily' => true, |
|
355 '__experimentalFontWeight' => true, |
|
356 '__experimentalFontStyle' => true, |
|
357 '__experimentalTextTransform' => true, |
|
358 '__experimentalTextDecoration' => true, |
|
359 '__experimentalLetterSpacing' => true, |
|
360 '__experimentalWritingMode' => true, |
|
361 '__experimentalDefaultControls' => array( |
|
362 'fontSize' => true |
|
363 ) |
|
364 ), |
|
365 'reusable' => false, |
|
366 'shadow' => array( |
|
367 '__experimentalSkipSerialization' => true |
|
368 ), |
|
369 'spacing' => array( |
|
370 '__experimentalSkipSerialization' => true, |
|
371 'padding' => array( |
|
372 'horizontal', |
|
373 'vertical' |
|
374 ), |
|
375 '__experimentalDefaultControls' => array( |
|
376 'padding' => true |
|
377 ) |
|
378 ), |
|
379 '__experimentalBorder' => array( |
|
380 'color' => true, |
|
381 'radius' => true, |
|
382 'style' => true, |
|
383 'width' => true, |
|
384 '__experimentalSkipSerialization' => true, |
|
385 '__experimentalDefaultControls' => array( |
|
386 'color' => true, |
|
387 'radius' => true, |
|
388 'style' => true, |
|
389 'width' => true |
|
390 ) |
|
391 ), |
|
392 'interactivity' => array( |
|
393 'clientNavigation' => true |
|
394 ) |
|
395 ), |
|
396 'styles' => array( |
|
397 array( |
|
398 'name' => 'fill', |
|
399 'label' => 'Fill', |
|
400 'isDefault' => true |
|
401 ), |
|
402 array( |
|
403 'name' => 'outline', |
|
404 'label' => 'Outline' |
|
405 ) |
|
406 ), |
|
407 'editorStyle' => 'wp-block-button-editor', |
|
408 'style' => 'wp-block-button', |
|
409 'selectors' => array( |
|
410 'root' => '.wp-block-button .wp-block-button__link', |
|
411 'typography' => array( |
|
412 'writingMode' => '.wp-block-button' |
|
413 ) |
|
414 ) |
|
415 ), |
|
416 'buttons' => array( |
|
417 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
418 'apiVersion' => 3, |
|
419 'name' => 'core/buttons', |
|
420 'title' => 'Buttons', |
|
421 'category' => 'design', |
|
422 'allowedBlocks' => array( |
|
423 'core/button' |
|
424 ), |
|
425 'description' => 'Prompt visitors to take action with a group of button-style links.', |
|
426 'keywords' => array( |
|
427 'link' |
|
428 ), |
|
429 'textdomain' => 'default', |
|
430 'supports' => array( |
|
431 'anchor' => true, |
|
432 'align' => array( |
|
433 'wide', |
|
434 'full' |
|
435 ), |
|
436 'html' => false, |
|
437 '__experimentalExposeControlsToChildren' => true, |
|
438 'color' => array( |
|
439 'gradients' => true, |
|
440 'text' => false, |
|
441 '__experimentalDefaultControls' => array( |
|
442 'background' => true |
|
443 ) |
|
444 ), |
|
445 'spacing' => array( |
|
446 'blockGap' => array( |
|
447 'horizontal', |
|
448 'vertical' |
|
449 ), |
|
450 'padding' => true, |
|
451 'margin' => array( |
|
452 'top', |
|
453 'bottom' |
|
454 ), |
|
455 '__experimentalDefaultControls' => array( |
|
456 'blockGap' => true |
|
320 ) |
457 ) |
321 ), |
458 ), |
322 'typography' => array( |
459 'typography' => array( |
323 'fontSize' => true, |
460 'fontSize' => true, |
324 'lineHeight' => true, |
461 'lineHeight' => true, |
330 '__experimentalLetterSpacing' => true, |
467 '__experimentalLetterSpacing' => true, |
331 '__experimentalDefaultControls' => array( |
468 '__experimentalDefaultControls' => array( |
332 'fontSize' => true |
469 'fontSize' => true |
333 ) |
470 ) |
334 ), |
471 ), |
335 'reusable' => false, |
|
336 'shadow' => array( |
|
337 '__experimentalSkipSerialization' => true |
|
338 ), |
|
339 'spacing' => array( |
|
340 '__experimentalSkipSerialization' => true, |
|
341 'padding' => array( |
|
342 'horizontal', |
|
343 'vertical' |
|
344 ), |
|
345 '__experimentalDefaultControls' => array( |
|
346 'padding' => true |
|
347 ) |
|
348 ), |
|
349 '__experimentalBorder' => array( |
472 '__experimentalBorder' => array( |
350 'color' => true, |
473 'color' => true, |
351 'radius' => true, |
474 'radius' => true, |
352 'style' => true, |
475 'style' => true, |
353 'width' => true, |
476 'width' => true, |
354 '__experimentalSkipSerialization' => true, |
|
355 '__experimentalDefaultControls' => array( |
477 '__experimentalDefaultControls' => array( |
356 'color' => true, |
478 'color' => true, |
357 'radius' => true, |
479 'radius' => true, |
358 'style' => true, |
480 'style' => true, |
359 'width' => true |
481 'width' => true |
360 ) |
482 ) |
361 ), |
483 ), |
362 '__experimentalSelector' => '.wp-block-button .wp-block-button__link', |
484 'layout' => array( |
363 'interactivity' => array( |
485 'allowSwitching' => false, |
364 'clientNavigation' => true |
486 'allowInheriting' => false, |
365 ) |
487 'default' => array( |
366 ), |
488 'type' => 'flex' |
367 'styles' => array( |
489 ) |
368 array( |
490 ), |
369 'name' => 'fill', |
491 'interactivity' => array( |
370 'label' => 'Fill', |
492 'clientNavigation' => true |
371 'isDefault' => true |
493 ) |
372 ), |
494 ), |
373 array( |
495 'editorStyle' => 'wp-block-buttons-editor', |
374 'name' => 'outline', |
496 'style' => 'wp-block-buttons' |
375 'label' => 'Outline' |
497 ), |
376 ) |
498 'calendar' => array( |
377 ), |
499 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
378 'editorStyle' => 'wp-block-button-editor', |
500 'apiVersion' => 3, |
379 'style' => 'wp-block-button' |
501 'name' => 'core/calendar', |
380 ), |
502 'title' => 'Calendar', |
381 'buttons' => array( |
503 'category' => 'widgets', |
382 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
504 'description' => 'A calendar of your site’s posts.', |
383 'apiVersion' => 3, |
|
384 'name' => 'core/buttons', |
|
385 'title' => 'Buttons', |
|
386 'category' => 'design', |
|
387 'allowedBlocks' => array( |
|
388 'core/button' |
|
389 ), |
|
390 'description' => 'Prompt visitors to take action with a group of button-style links.', |
|
391 'keywords' => array( |
505 'keywords' => array( |
392 'link' |
506 'posts', |
393 ), |
507 'archive' |
394 'textdomain' => 'default', |
508 ), |
395 'supports' => array( |
509 'textdomain' => 'default', |
396 'anchor' => true, |
510 'attributes' => array( |
397 'align' => array( |
511 'month' => array( |
398 'wide', |
512 'type' => 'integer' |
399 'full' |
513 ), |
400 ), |
514 'year' => array( |
515 'type' => 'integer' |
|
516 ) |
|
517 ), |
|
518 'supports' => array( |
|
519 'align' => true, |
|
520 'color' => array( |
|
521 'link' => true, |
|
522 '__experimentalSkipSerialization' => array( |
|
523 'text', |
|
524 'background' |
|
525 ), |
|
526 '__experimentalDefaultControls' => array( |
|
527 'background' => true, |
|
528 'text' => true |
|
529 ), |
|
530 '__experimentalSelector' => 'table, th' |
|
531 ), |
|
532 'typography' => array( |
|
533 'fontSize' => true, |
|
534 'lineHeight' => true, |
|
535 '__experimentalFontFamily' => true, |
|
536 '__experimentalFontWeight' => true, |
|
537 '__experimentalFontStyle' => true, |
|
538 '__experimentalTextTransform' => true, |
|
539 '__experimentalLetterSpacing' => true, |
|
540 '__experimentalDefaultControls' => array( |
|
541 'fontSize' => true |
|
542 ) |
|
543 ), |
|
544 'interactivity' => array( |
|
545 'clientNavigation' => true |
|
546 ) |
|
547 ), |
|
548 'style' => 'wp-block-calendar' |
|
549 ), |
|
550 'categories' => array( |
|
551 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
552 'apiVersion' => 3, |
|
553 'name' => 'core/categories', |
|
554 'title' => 'Terms List', |
|
555 'category' => 'widgets', |
|
556 'description' => 'Display a list of all terms of a given taxonomy.', |
|
557 'keywords' => array( |
|
558 'categories' |
|
559 ), |
|
560 'textdomain' => 'default', |
|
561 'attributes' => array( |
|
562 'taxonomy' => array( |
|
563 'type' => 'string', |
|
564 'default' => 'category' |
|
565 ), |
|
566 'displayAsDropdown' => array( |
|
567 'type' => 'boolean', |
|
568 'default' => false |
|
569 ), |
|
570 'showHierarchy' => array( |
|
571 'type' => 'boolean', |
|
572 'default' => false |
|
573 ), |
|
574 'showPostCounts' => array( |
|
575 'type' => 'boolean', |
|
576 'default' => false |
|
577 ), |
|
578 'showOnlyTopLevel' => array( |
|
579 'type' => 'boolean', |
|
580 'default' => false |
|
581 ), |
|
582 'showEmpty' => array( |
|
583 'type' => 'boolean', |
|
584 'default' => false |
|
585 ), |
|
586 'label' => array( |
|
587 'type' => 'string', |
|
588 'role' => 'content' |
|
589 ), |
|
590 'showLabel' => array( |
|
591 'type' => 'boolean', |
|
592 'default' => true |
|
593 ) |
|
594 ), |
|
595 'usesContext' => array( |
|
596 'enhancedPagination' |
|
597 ), |
|
598 'supports' => array( |
|
599 'align' => true, |
|
401 'html' => false, |
600 'html' => false, |
402 '__experimentalExposeControlsToChildren' => true, |
|
403 'spacing' => array( |
601 'spacing' => array( |
404 'blockGap' => true, |
602 'margin' => true, |
405 'margin' => array( |
603 'padding' => true, |
406 'top', |
604 '__experimentalDefaultControls' => array( |
407 'bottom' |
605 'margin' => false, |
408 ), |
606 'padding' => false |
409 '__experimentalDefaultControls' => array( |
|
410 'blockGap' => true |
|
411 ) |
607 ) |
412 ), |
608 ), |
413 'typography' => array( |
609 'typography' => array( |
414 'fontSize' => true, |
610 'fontSize' => true, |
415 'lineHeight' => true, |
611 'lineHeight' => true, |
421 '__experimentalLetterSpacing' => true, |
617 '__experimentalLetterSpacing' => true, |
422 '__experimentalDefaultControls' => array( |
618 '__experimentalDefaultControls' => array( |
423 'fontSize' => true |
619 'fontSize' => true |
424 ) |
620 ) |
425 ), |
621 ), |
426 'layout' => array( |
|
427 'allowSwitching' => false, |
|
428 'allowInheriting' => false, |
|
429 'default' => array( |
|
430 'type' => 'flex' |
|
431 ) |
|
432 ), |
|
433 'interactivity' => array( |
|
434 'clientNavigation' => true |
|
435 ) |
|
436 ), |
|
437 'editorStyle' => 'wp-block-buttons-editor', |
|
438 'style' => 'wp-block-buttons' |
|
439 ), |
|
440 'calendar' => array( |
|
441 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
442 'apiVersion' => 3, |
|
443 'name' => 'core/calendar', |
|
444 'title' => 'Calendar', |
|
445 'category' => 'widgets', |
|
446 'description' => 'A calendar of your site’s posts.', |
|
447 'keywords' => array( |
|
448 'posts', |
|
449 'archive' |
|
450 ), |
|
451 'textdomain' => 'default', |
|
452 'attributes' => array( |
|
453 'month' => array( |
|
454 'type' => 'integer' |
|
455 ), |
|
456 'year' => array( |
|
457 'type' => 'integer' |
|
458 ) |
|
459 ), |
|
460 'supports' => array( |
|
461 'align' => true, |
|
462 'color' => array( |
622 'color' => array( |
623 'gradients' => true, |
|
463 'link' => true, |
624 'link' => true, |
464 '__experimentalSkipSerialization' => array( |
|
465 'text', |
|
466 'background' |
|
467 ), |
|
468 '__experimentalDefaultControls' => array( |
625 '__experimentalDefaultControls' => array( |
469 'background' => true, |
626 'background' => true, |
470 'text' => true |
627 'text' => true, |
471 ), |
628 'link' => true |
472 '__experimentalSelector' => 'table, th' |
629 ) |
473 ), |
630 ), |
474 'typography' => array( |
631 'interactivity' => array( |
475 'fontSize' => true, |
632 'clientNavigation' => true |
476 'lineHeight' => true, |
633 ), |
477 '__experimentalFontFamily' => true, |
634 '__experimentalBorder' => array( |
478 '__experimentalFontWeight' => true, |
635 'radius' => true, |
479 '__experimentalFontStyle' => true, |
636 'color' => true, |
480 '__experimentalTextTransform' => true, |
637 'width' => true, |
481 '__experimentalLetterSpacing' => true, |
638 'style' => true, |
482 '__experimentalDefaultControls' => array( |
639 '__experimentalDefaultControls' => array( |
483 'fontSize' => true |
640 'radius' => true, |
484 ) |
641 'color' => true, |
485 ), |
642 'width' => true, |
486 'interactivity' => array( |
643 'style' => true |
487 'clientNavigation' => true |
644 ) |
488 ) |
|
489 ), |
|
490 'style' => 'wp-block-calendar' |
|
491 ), |
|
492 'categories' => array( |
|
493 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
494 'apiVersion' => 3, |
|
495 'name' => 'core/categories', |
|
496 'title' => 'Categories List', |
|
497 'category' => 'widgets', |
|
498 'description' => 'Display a list of all categories.', |
|
499 'textdomain' => 'default', |
|
500 'attributes' => array( |
|
501 'displayAsDropdown' => array( |
|
502 'type' => 'boolean', |
|
503 'default' => false |
|
504 ), |
|
505 'showHierarchy' => array( |
|
506 'type' => 'boolean', |
|
507 'default' => false |
|
508 ), |
|
509 'showPostCounts' => array( |
|
510 'type' => 'boolean', |
|
511 'default' => false |
|
512 ), |
|
513 'showOnlyTopLevel' => array( |
|
514 'type' => 'boolean', |
|
515 'default' => false |
|
516 ), |
|
517 'showEmpty' => array( |
|
518 'type' => 'boolean', |
|
519 'default' => false |
|
520 ) |
|
521 ), |
|
522 'supports' => array( |
|
523 'align' => true, |
|
524 'html' => false, |
|
525 'spacing' => array( |
|
526 'margin' => true, |
|
527 'padding' => true, |
|
528 '__experimentalDefaultControls' => array( |
|
529 'margin' => false, |
|
530 'padding' => false |
|
531 ) |
|
532 ), |
|
533 'typography' => array( |
|
534 'fontSize' => true, |
|
535 'lineHeight' => true, |
|
536 '__experimentalFontFamily' => true, |
|
537 '__experimentalFontWeight' => true, |
|
538 '__experimentalFontStyle' => true, |
|
539 '__experimentalTextTransform' => true, |
|
540 '__experimentalTextDecoration' => true, |
|
541 '__experimentalLetterSpacing' => true, |
|
542 '__experimentalDefaultControls' => array( |
|
543 'fontSize' => true |
|
544 ) |
|
545 ), |
|
546 'interactivity' => array( |
|
547 'clientNavigation' => true |
|
548 ) |
645 ) |
549 ), |
646 ), |
550 'editorStyle' => 'wp-block-categories-editor', |
647 'editorStyle' => 'wp-block-categories-editor', |
551 'style' => 'wp-block-categories' |
648 'style' => 'wp-block-categories' |
552 ), |
649 ), |
678 'blockGap' => true |
775 'blockGap' => true |
679 ) |
776 ) |
680 ), |
777 ), |
681 '__experimentalBorder' => array( |
778 '__experimentalBorder' => array( |
682 'color' => true, |
779 'color' => true, |
780 'radius' => true, |
|
683 'style' => true, |
781 'style' => true, |
684 'width' => true, |
782 'width' => true, |
685 '__experimentalDefaultControls' => array( |
783 '__experimentalDefaultControls' => array( |
686 'color' => true, |
784 'color' => true, |
785 'radius' => true, |
|
687 'style' => true, |
786 'style' => true, |
688 'width' => true |
787 'width' => true |
689 ) |
788 ) |
690 ), |
789 ), |
691 'typography' => array( |
790 'typography' => array( |
871 'fontSize' => true |
970 'fontSize' => true |
872 ) |
971 ) |
873 ), |
972 ), |
874 'interactivity' => array( |
973 'interactivity' => array( |
875 'clientNavigation' => true |
974 'clientNavigation' => true |
876 ) |
975 ), |
877 ) |
976 '__experimentalBorder' => array( |
977 'radius' => true, |
|
978 'color' => true, |
|
979 'width' => true, |
|
980 'style' => true, |
|
981 '__experimentalDefaultControls' => array( |
|
982 'radius' => true, |
|
983 'color' => true, |
|
984 'width' => true, |
|
985 'style' => true |
|
986 ) |
|
987 ) |
|
988 ), |
|
989 'style' => 'wp-block-comment-author-name' |
|
878 ), |
990 ), |
879 'comment-content' => array( |
991 'comment-content' => array( |
880 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
992 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
881 'apiVersion' => 3, |
993 'apiVersion' => 3, |
882 'name' => 'core/comment-content', |
994 'name' => 'core/comment-content', |
915 '__experimentalLetterSpacing' => true, |
1027 '__experimentalLetterSpacing' => true, |
916 '__experimentalDefaultControls' => array( |
1028 '__experimentalDefaultControls' => array( |
917 'fontSize' => true |
1029 'fontSize' => true |
918 ) |
1030 ) |
919 ), |
1031 ), |
1032 '__experimentalBorder' => array( |
|
1033 'radius' => true, |
|
1034 'color' => true, |
|
1035 'width' => true, |
|
1036 'style' => true, |
|
1037 '__experimentalDefaultControls' => array( |
|
1038 'radius' => true, |
|
1039 'color' => true, |
|
1040 'width' => true, |
|
1041 'style' => true |
|
1042 ) |
|
1043 ), |
|
920 'spacing' => array( |
1044 'spacing' => array( |
921 'padding' => array( |
1045 'padding' => array( |
922 'horizontal', |
1046 'horizontal', |
923 'vertical' |
1047 'vertical' |
924 ), |
1048 ), |
925 '__experimentalDefaultControls' => array( |
1049 '__experimentalDefaultControls' => array( |
926 'padding' => true |
1050 'padding' => true |
927 ) |
1051 ) |
928 ), |
1052 ), |
929 'html' => false |
1053 'html' => false |
930 ) |
1054 ), |
1055 'style' => 'wp-block-comment-content' |
|
931 ), |
1056 ), |
932 'comment-date' => array( |
1057 'comment-date' => array( |
933 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
1058 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
934 'apiVersion' => 3, |
1059 'apiVersion' => 3, |
935 'name' => 'core/comment-date', |
1060 'name' => 'core/comment-date', |
980 'fontSize' => true |
1105 'fontSize' => true |
981 ) |
1106 ) |
982 ), |
1107 ), |
983 'interactivity' => array( |
1108 'interactivity' => array( |
984 'clientNavigation' => true |
1109 'clientNavigation' => true |
985 ) |
1110 ), |
986 ) |
1111 '__experimentalBorder' => array( |
1112 'radius' => true, |
|
1113 'color' => true, |
|
1114 'width' => true, |
|
1115 'style' => true, |
|
1116 '__experimentalDefaultControls' => array( |
|
1117 'radius' => true, |
|
1118 'color' => true, |
|
1119 'width' => true, |
|
1120 'style' => true |
|
1121 ) |
|
1122 ) |
|
1123 ), |
|
1124 'style' => 'wp-block-comment-date' |
|
987 ), |
1125 ), |
988 'comment-edit-link' => array( |
1126 'comment-edit-link' => array( |
989 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
1127 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
990 'apiVersion' => 3, |
1128 'apiVersion' => 3, |
991 'name' => 'core/comment-edit-link', |
1129 'name' => 'core/comment-edit-link', |
1019 'link' => true |
1157 'link' => true |
1020 ) |
1158 ) |
1021 ), |
1159 ), |
1022 'spacing' => array( |
1160 'spacing' => array( |
1023 'margin' => true, |
1161 'margin' => true, |
1024 'padding' => true |
1162 'padding' => true, |
1163 '__experimentalDefaultControls' => array( |
|
1164 'margin' => false, |
|
1165 'padding' => false |
|
1166 ) |
|
1025 ), |
1167 ), |
1026 'typography' => array( |
1168 'typography' => array( |
1027 'fontSize' => true, |
1169 'fontSize' => true, |
1028 'lineHeight' => true, |
1170 'lineHeight' => true, |
1029 '__experimentalFontFamily' => true, |
1171 '__experimentalFontFamily' => true, |
1036 'fontSize' => true |
1178 'fontSize' => true |
1037 ) |
1179 ) |
1038 ), |
1180 ), |
1039 'interactivity' => array( |
1181 'interactivity' => array( |
1040 'clientNavigation' => true |
1182 'clientNavigation' => true |
1041 ) |
1183 ), |
1042 ) |
1184 '__experimentalBorder' => array( |
1185 'radius' => true, |
|
1186 'color' => true, |
|
1187 'width' => true, |
|
1188 'style' => true |
|
1189 ) |
|
1190 ), |
|
1191 'style' => 'wp-block-comment-edit-link' |
|
1043 ), |
1192 ), |
1044 'comment-reply-link' => array( |
1193 'comment-reply-link' => array( |
1045 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
1194 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
1046 'apiVersion' => 3, |
1195 'apiVersion' => 3, |
1047 'name' => 'core/comment-reply-link', |
1196 'name' => 'core/comment-reply-link', |
1070 'link' => true |
1219 'link' => true |
1071 ) |
1220 ) |
1072 ), |
1221 ), |
1073 'spacing' => array( |
1222 'spacing' => array( |
1074 'margin' => true, |
1223 'margin' => true, |
1075 'padding' => true |
1224 'padding' => true, |
1225 '__experimentalDefaultControls' => array( |
|
1226 'margin' => false, |
|
1227 'padding' => false |
|
1228 ) |
|
1076 ), |
1229 ), |
1077 'typography' => array( |
1230 'typography' => array( |
1078 'fontSize' => true, |
1231 'fontSize' => true, |
1079 'lineHeight' => true, |
1232 'lineHeight' => true, |
1080 '__experimentalFontFamily' => true, |
1233 '__experimentalFontFamily' => true, |
1085 '__experimentalLetterSpacing' => true, |
1238 '__experimentalLetterSpacing' => true, |
1086 '__experimentalDefaultControls' => array( |
1239 '__experimentalDefaultControls' => array( |
1087 'fontSize' => true |
1240 'fontSize' => true |
1088 ) |
1241 ) |
1089 ), |
1242 ), |
1243 '__experimentalBorder' => array( |
|
1244 'radius' => true, |
|
1245 'color' => true, |
|
1246 'width' => true, |
|
1247 'style' => true |
|
1248 ), |
|
1090 'html' => false |
1249 'html' => false |
1091 ) |
1250 ), |
1251 'style' => 'wp-block-comment-reply-link' |
|
1092 ), |
1252 ), |
1093 'comment-template' => array( |
1253 'comment-template' => array( |
1094 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
1254 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
1095 'apiVersion' => 3, |
1255 'apiVersion' => 3, |
1096 'name' => 'core/comment-template', |
1256 'name' => 'core/comment-template', |
1125 'fontSize' => true |
1285 'fontSize' => true |
1126 ) |
1286 ) |
1127 ), |
1287 ), |
1128 'interactivity' => array( |
1288 'interactivity' => array( |
1129 'clientNavigation' => true |
1289 'clientNavigation' => true |
1290 ), |
|
1291 '__experimentalBorder' => array( |
|
1292 'radius' => true, |
|
1293 'color' => true, |
|
1294 'width' => true, |
|
1295 'style' => true, |
|
1296 '__experimentalDefaultControls' => array( |
|
1297 'radius' => true, |
|
1298 'color' => true, |
|
1299 'width' => true, |
|
1300 'style' => true |
|
1301 ) |
|
1130 ) |
1302 ) |
1131 ), |
1303 ), |
1132 'style' => 'wp-block-comment-template' |
1304 'style' => 'wp-block-comment-template' |
1133 ), |
1305 ), |
1134 'comments' => array( |
1306 'comments' => array( |
1179 '__experimentalTextDecoration' => true, |
1351 '__experimentalTextDecoration' => true, |
1180 '__experimentalLetterSpacing' => true, |
1352 '__experimentalLetterSpacing' => true, |
1181 '__experimentalDefaultControls' => array( |
1353 '__experimentalDefaultControls' => array( |
1182 'fontSize' => true |
1354 'fontSize' => true |
1183 ) |
1355 ) |
1356 ), |
|
1357 '__experimentalBorder' => array( |
|
1358 'radius' => true, |
|
1359 'color' => true, |
|
1360 'width' => true, |
|
1361 'style' => true, |
|
1362 '__experimentalDefaultControls' => array( |
|
1363 'radius' => true, |
|
1364 'color' => true, |
|
1365 'width' => true, |
|
1366 'style' => true |
|
1367 ) |
|
1184 ) |
1368 ) |
1185 ), |
1369 ), |
1186 'editorStyle' => 'wp-block-comments-editor', |
1370 'editorStyle' => 'wp-block-comments-editor', |
1187 'usesContext' => array( |
1371 'usesContext' => array( |
1188 'postId', |
1372 'postId', |
1207 'textdomain' => 'default', |
1391 'textdomain' => 'default', |
1208 'attributes' => array( |
1392 'attributes' => array( |
1209 'paginationArrow' => array( |
1393 'paginationArrow' => array( |
1210 'type' => 'string', |
1394 'type' => 'string', |
1211 'default' => 'none' |
1395 'default' => 'none' |
1396 ) |
|
1397 ), |
|
1398 'example' => array( |
|
1399 'attributes' => array( |
|
1400 'paginationArrow' => 'none' |
|
1212 ) |
1401 ) |
1213 ), |
1402 ), |
1214 'providesContext' => array( |
1403 'providesContext' => array( |
1215 'comments/paginationArrow' => 'paginationArrow' |
1404 'comments/paginationArrow' => 'paginationArrow' |
1216 ), |
1405 ), |
1420 'default' => true |
1609 'default' => true |
1421 ), |
1610 ), |
1422 'level' => array( |
1611 'level' => array( |
1423 'type' => 'number', |
1612 'type' => 'number', |
1424 'default' => 2 |
1613 'default' => 2 |
1614 ), |
|
1615 'levelOptions' => array( |
|
1616 'type' => 'array' |
|
1425 ) |
1617 ) |
1426 ), |
1618 ), |
1427 'supports' => array( |
1619 'supports' => array( |
1428 'anchor' => false, |
1620 'anchor' => false, |
1429 'align' => true, |
1621 'align' => true, |
1552 ) |
1744 ) |
1553 ), |
1745 ), |
1554 'tagName' => array( |
1746 'tagName' => array( |
1555 'type' => 'string', |
1747 'type' => 'string', |
1556 'default' => 'div' |
1748 'default' => 'div' |
1749 ), |
|
1750 'sizeSlug' => array( |
|
1751 'type' => 'string' |
|
1557 ) |
1752 ) |
1558 ), |
1753 ), |
1559 'usesContext' => array( |
1754 'usesContext' => array( |
1560 'postId', |
1755 'postId', |
1561 'postType' |
1756 'postType' |
1646 ), |
1841 ), |
1647 'summary' => array( |
1842 'summary' => array( |
1648 'type' => 'rich-text', |
1843 'type' => 'rich-text', |
1649 'source' => 'rich-text', |
1844 'source' => 'rich-text', |
1650 'selector' => 'summary' |
1845 'selector' => 'summary' |
1846 ), |
|
1847 'name' => array( |
|
1848 'type' => 'string', |
|
1849 'source' => 'attribute', |
|
1850 'attribute' => 'name', |
|
1851 'selector' => '.wp-block-details' |
|
1852 ), |
|
1853 'allowedBlocks' => array( |
|
1854 'type' => 'array' |
|
1855 ), |
|
1856 'placeholder' => array( |
|
1857 'type' => 'string' |
|
1651 ) |
1858 ) |
1652 ), |
1859 ), |
1653 'supports' => array( |
1860 'supports' => array( |
1654 '__experimentalOnEnter' => true, |
1861 '__experimentalOnEnter' => true, |
1655 'align' => array( |
1862 'align' => array( |
1656 'wide', |
1863 'wide', |
1657 'full' |
1864 'full' |
1658 ), |
1865 ), |
1866 'anchor' => true, |
|
1659 'color' => array( |
1867 'color' => array( |
1660 'gradients' => true, |
1868 'gradients' => true, |
1661 'link' => true, |
1869 'link' => true, |
1662 '__experimentalDefaultControls' => array( |
1870 '__experimentalDefaultControls' => array( |
1663 'background' => true, |
1871 'background' => true, |
1711 'description' => 'Add a block that displays content pulled from other sites, like Twitter or YouTube.', |
1919 'description' => 'Add a block that displays content pulled from other sites, like Twitter or YouTube.', |
1712 'textdomain' => 'default', |
1920 'textdomain' => 'default', |
1713 'attributes' => array( |
1921 'attributes' => array( |
1714 'url' => array( |
1922 'url' => array( |
1715 'type' => 'string', |
1923 'type' => 'string', |
1716 '__experimentalRole' => 'content' |
1924 'role' => 'content' |
1717 ), |
1925 ), |
1718 'caption' => array( |
1926 'caption' => array( |
1719 'type' => 'rich-text', |
1927 'type' => 'rich-text', |
1720 'source' => 'rich-text', |
1928 'source' => 'rich-text', |
1721 'selector' => 'figcaption', |
1929 'selector' => 'figcaption', |
1722 '__experimentalRole' => 'content' |
1930 'role' => 'content' |
1723 ), |
1931 ), |
1724 'type' => array( |
1932 'type' => array( |
1725 'type' => 'string', |
1933 'type' => 'string', |
1726 '__experimentalRole' => 'content' |
1934 'role' => 'content' |
1727 ), |
1935 ), |
1728 'providerNameSlug' => array( |
1936 'providerNameSlug' => array( |
1729 'type' => 'string', |
1937 'type' => 'string', |
1730 '__experimentalRole' => 'content' |
1938 'role' => 'content' |
1731 ), |
1939 ), |
1732 'allowResponsive' => array( |
1940 'allowResponsive' => array( |
1733 'type' => 'boolean', |
1941 'type' => 'boolean', |
1734 'default' => true |
1942 'default' => true |
1735 ), |
1943 ), |
1736 'responsive' => array( |
1944 'responsive' => array( |
1737 'type' => 'boolean', |
1945 'type' => 'boolean', |
1738 'default' => false, |
1946 'default' => false, |
1739 '__experimentalRole' => 'content' |
1947 'role' => 'content' |
1740 ), |
1948 ), |
1741 'previewable' => array( |
1949 'previewable' => array( |
1742 'type' => 'boolean', |
1950 'type' => 'boolean', |
1743 'default' => true, |
1951 'default' => true, |
1744 '__experimentalRole' => 'content' |
1952 'role' => 'content' |
1745 ) |
1953 ) |
1746 ), |
1954 ), |
1747 'supports' => array( |
1955 'supports' => array( |
1748 'align' => true, |
1956 'align' => true, |
1749 'spacing' => array( |
1957 'spacing' => array( |
1771 'textdomain' => 'default', |
1979 'textdomain' => 'default', |
1772 'attributes' => array( |
1980 'attributes' => array( |
1773 'id' => array( |
1981 'id' => array( |
1774 'type' => 'number' |
1982 'type' => 'number' |
1775 ), |
1983 ), |
1984 'blob' => array( |
|
1985 'type' => 'string', |
|
1986 'role' => 'local' |
|
1987 ), |
|
1776 'href' => array( |
1988 'href' => array( |
1777 'type' => 'string' |
1989 'type' => 'string', |
1990 'role' => 'content' |
|
1778 ), |
1991 ), |
1779 'fileId' => array( |
1992 'fileId' => array( |
1780 'type' => 'string', |
1993 'type' => 'string', |
1781 'source' => 'attribute', |
1994 'source' => 'attribute', |
1782 'selector' => 'a:not([download])', |
1995 'selector' => 'a:not([download])', |
1783 'attribute' => 'id' |
1996 'attribute' => 'id' |
1784 ), |
1997 ), |
1785 'fileName' => array( |
1998 'fileName' => array( |
1786 'type' => 'rich-text', |
1999 'type' => 'rich-text', |
1787 'source' => 'rich-text', |
2000 'source' => 'rich-text', |
1788 'selector' => 'a:not([download])' |
2001 'selector' => 'a:not([download])', |
2002 'role' => 'content' |
|
1789 ), |
2003 ), |
1790 'textLinkHref' => array( |
2004 'textLinkHref' => array( |
1791 'type' => 'string', |
2005 'type' => 'string', |
1792 'source' => 'attribute', |
2006 'source' => 'attribute', |
1793 'selector' => 'a:not([download])', |
2007 'selector' => 'a:not([download])', |
1794 'attribute' => 'href' |
2008 'attribute' => 'href', |
2009 'role' => 'content' |
|
1795 ), |
2010 ), |
1796 'textLinkTarget' => array( |
2011 'textLinkTarget' => array( |
1797 'type' => 'string', |
2012 'type' => 'string', |
1798 'source' => 'attribute', |
2013 'source' => 'attribute', |
1799 'selector' => 'a:not([download])', |
2014 'selector' => 'a:not([download])', |
1804 'default' => true |
2019 'default' => true |
1805 ), |
2020 ), |
1806 'downloadButtonText' => array( |
2021 'downloadButtonText' => array( |
1807 'type' => 'rich-text', |
2022 'type' => 'rich-text', |
1808 'source' => 'rich-text', |
2023 'source' => 'rich-text', |
1809 'selector' => 'a[download]' |
2024 'selector' => 'a[download]', |
2025 'role' => 'content' |
|
1810 ), |
2026 ), |
1811 'displayPreview' => array( |
2027 'displayPreview' => array( |
1812 'type' => 'boolean' |
2028 'type' => 'boolean' |
1813 ), |
2029 ), |
1814 'previewHeight' => array( |
2030 'previewHeight' => array( |
1828 'link' => true, |
2044 'link' => true, |
1829 'text' => false, |
2045 'text' => false, |
1830 '__experimentalDefaultControls' => array( |
2046 '__experimentalDefaultControls' => array( |
1831 'background' => true, |
2047 'background' => true, |
1832 'link' => true |
2048 'link' => true |
2049 ) |
|
2050 ), |
|
2051 '__experimentalBorder' => array( |
|
2052 'radius' => true, |
|
2053 'color' => true, |
|
2054 'width' => true, |
|
2055 'style' => true, |
|
2056 '__experimentalDefaultControls' => array( |
|
2057 'radius' => true, |
|
2058 'color' => true, |
|
2059 'width' => true, |
|
2060 'style' => true |
|
1833 ) |
2061 ) |
1834 ), |
2062 ), |
1835 'interactivity' => true |
2063 'interactivity' => true |
1836 ), |
2064 ), |
1837 'editorStyle' => 'wp-block-file-editor', |
2065 'editorStyle' => 'wp-block-file-editor', |
2050 'fixedHeight' => 'fixedHeight' |
2278 'fixedHeight' => 'fixedHeight' |
2051 ), |
2279 ), |
2052 'supports' => array( |
2280 'supports' => array( |
2053 'anchor' => true, |
2281 'anchor' => true, |
2054 'align' => true, |
2282 'align' => true, |
2283 '__experimentalBorder' => array( |
|
2284 'radius' => true, |
|
2285 'color' => true, |
|
2286 'width' => true, |
|
2287 'style' => true, |
|
2288 '__experimentalDefaultControls' => array( |
|
2289 'color' => true, |
|
2290 'radius' => true |
|
2291 ) |
|
2292 ), |
|
2055 'html' => false, |
2293 'html' => false, |
2056 'units' => array( |
2294 'units' => array( |
2057 'px', |
2295 'px', |
2058 'em', |
2296 'em', |
2059 'rem', |
2297 'rem', |
2157 '__experimentalDefaultControls' => array( |
2395 '__experimentalDefaultControls' => array( |
2158 'background' => true, |
2396 'background' => true, |
2159 'text' => true |
2397 'text' => true |
2160 ) |
2398 ) |
2161 ), |
2399 ), |
2400 'shadow' => true, |
|
2162 'spacing' => array( |
2401 'spacing' => array( |
2163 'margin' => array( |
2402 'margin' => array( |
2164 'top', |
2403 'top', |
2165 'bottom' |
2404 'bottom' |
2166 ), |
2405 ), |
2230 ), |
2469 ), |
2231 'content' => array( |
2470 'content' => array( |
2232 'type' => 'rich-text', |
2471 'type' => 'rich-text', |
2233 'source' => 'rich-text', |
2472 'source' => 'rich-text', |
2234 'selector' => 'h1,h2,h3,h4,h5,h6', |
2473 'selector' => 'h1,h2,h3,h4,h5,h6', |
2235 '__experimentalRole' => 'content' |
2474 'role' => 'content' |
2236 ), |
2475 ), |
2237 'level' => array( |
2476 'level' => array( |
2238 'type' => 'number', |
2477 'type' => 'number', |
2239 'default' => 2 |
2478 'default' => 2 |
2240 ), |
2479 ), |
2480 'levelOptions' => array( |
|
2481 'type' => 'array' |
|
2482 ), |
|
2241 'placeholder' => array( |
2483 'placeholder' => array( |
2242 'type' => 'string' |
2484 'type' => 'string' |
2243 ) |
2485 ) |
2244 ), |
2486 ), |
2245 'supports' => array( |
2487 'supports' => array( |
2248 'full' |
2490 'full' |
2249 ), |
2491 ), |
2250 'anchor' => true, |
2492 'anchor' => true, |
2251 'className' => true, |
2493 'className' => true, |
2252 'splitting' => true, |
2494 'splitting' => true, |
2495 '__experimentalBorder' => array( |
|
2496 'color' => true, |
|
2497 'radius' => true, |
|
2498 'style' => true, |
|
2499 'width' => true |
|
2500 ), |
|
2253 'color' => array( |
2501 'color' => array( |
2254 'gradients' => true, |
2502 'gradients' => true, |
2255 'link' => true, |
2503 'link' => true, |
2256 '__experimentalDefaultControls' => array( |
2504 '__experimentalDefaultControls' => array( |
2257 'background' => true, |
2505 'background' => true, |
2371 'title' => 'Image', |
2619 'title' => 'Image', |
2372 'category' => 'media', |
2620 'category' => 'media', |
2373 'usesContext' => array( |
2621 'usesContext' => array( |
2374 'allowResize', |
2622 'allowResize', |
2375 'imageCrop', |
2623 'imageCrop', |
2376 'fixedHeight' |
2624 'fixedHeight', |
2625 'postId', |
|
2626 'postType', |
|
2627 'queryId' |
|
2377 ), |
2628 ), |
2378 'description' => 'Insert an image to make a visual statement.', |
2629 'description' => 'Insert an image to make a visual statement.', |
2379 'keywords' => array( |
2630 'keywords' => array( |
2380 'img', |
2631 'img', |
2381 'photo', |
2632 'photo', |
2382 'picture' |
2633 'picture' |
2383 ), |
2634 ), |
2384 'textdomain' => 'default', |
2635 'textdomain' => 'default', |
2385 'attributes' => array( |
2636 'attributes' => array( |
2637 'blob' => array( |
|
2638 'type' => 'string', |
|
2639 'role' => 'local' |
|
2640 ), |
|
2386 'url' => array( |
2641 'url' => array( |
2387 'type' => 'string', |
2642 'type' => 'string', |
2388 'source' => 'attribute', |
2643 'source' => 'attribute', |
2389 'selector' => 'img', |
2644 'selector' => 'img', |
2390 'attribute' => 'src', |
2645 'attribute' => 'src', |
2391 '__experimentalRole' => 'content' |
2646 'role' => 'content' |
2392 ), |
2647 ), |
2393 'alt' => array( |
2648 'alt' => array( |
2394 'type' => 'string', |
2649 'type' => 'string', |
2395 'source' => 'attribute', |
2650 'source' => 'attribute', |
2396 'selector' => 'img', |
2651 'selector' => 'img', |
2397 'attribute' => 'alt', |
2652 'attribute' => 'alt', |
2398 'default' => '', |
2653 'default' => '', |
2399 '__experimentalRole' => 'content' |
2654 'role' => 'content' |
2400 ), |
2655 ), |
2401 'caption' => array( |
2656 'caption' => array( |
2402 'type' => 'rich-text', |
2657 'type' => 'rich-text', |
2403 'source' => 'rich-text', |
2658 'source' => 'rich-text', |
2404 'selector' => 'figcaption', |
2659 'selector' => 'figcaption', |
2405 '__experimentalRole' => 'content' |
2660 'role' => 'content' |
2406 ), |
2661 ), |
2407 'lightbox' => array( |
2662 'lightbox' => array( |
2408 'type' => 'object', |
2663 'type' => 'object', |
2409 'enabled' => array( |
2664 'enabled' => array( |
2410 'type' => 'boolean' |
2665 'type' => 'boolean' |
2413 'title' => array( |
2668 'title' => array( |
2414 'type' => 'string', |
2669 'type' => 'string', |
2415 'source' => 'attribute', |
2670 'source' => 'attribute', |
2416 'selector' => 'img', |
2671 'selector' => 'img', |
2417 'attribute' => 'title', |
2672 'attribute' => 'title', |
2418 '__experimentalRole' => 'content' |
2673 'role' => 'content' |
2419 ), |
2674 ), |
2420 'href' => array( |
2675 'href' => array( |
2421 'type' => 'string', |
2676 'type' => 'string', |
2422 'source' => 'attribute', |
2677 'source' => 'attribute', |
2423 'selector' => 'figure > a', |
2678 'selector' => 'figure > a', |
2424 'attribute' => 'href', |
2679 'attribute' => 'href', |
2425 '__experimentalRole' => 'content' |
2680 'role' => 'content' |
2426 ), |
2681 ), |
2427 'rel' => array( |
2682 'rel' => array( |
2428 'type' => 'string', |
2683 'type' => 'string', |
2429 'source' => 'attribute', |
2684 'source' => 'attribute', |
2430 'selector' => 'figure > a', |
2685 'selector' => 'figure > a', |
2436 'selector' => 'figure > a', |
2691 'selector' => 'figure > a', |
2437 'attribute' => 'class' |
2692 'attribute' => 'class' |
2438 ), |
2693 ), |
2439 'id' => array( |
2694 'id' => array( |
2440 'type' => 'number', |
2695 'type' => 'number', |
2441 '__experimentalRole' => 'content' |
2696 'role' => 'content' |
2442 ), |
2697 ), |
2443 'width' => array( |
2698 'width' => array( |
2444 'type' => 'string' |
2699 'type' => 'string' |
2445 ), |
2700 ), |
2446 'height' => array( |
2701 'height' => array( |
2480 'background' => false |
2735 'background' => false |
2481 ), |
2736 ), |
2482 'filter' => array( |
2737 'filter' => array( |
2483 'duotone' => true |
2738 'duotone' => true |
2484 ), |
2739 ), |
2740 'spacing' => array( |
|
2741 'margin' => true |
|
2742 ), |
|
2485 '__experimentalBorder' => array( |
2743 '__experimentalBorder' => array( |
2486 'color' => true, |
2744 'color' => true, |
2487 'radius' => true, |
2745 'radius' => true, |
2488 'width' => true, |
2746 'width' => true, |
2489 '__experimentalSkipSerialization' => true, |
2747 '__experimentalSkipSerialization' => true, |
2549 'default' => true |
2807 'default' => true |
2550 ) |
2808 ) |
2551 ), |
2809 ), |
2552 'supports' => array( |
2810 'supports' => array( |
2553 'align' => true, |
2811 'align' => true, |
2812 'color' => array( |
|
2813 'gradients' => true, |
|
2814 'link' => true, |
|
2815 '__experimentalDefaultControls' => array( |
|
2816 'background' => true, |
|
2817 'text' => true, |
|
2818 'link' => true |
|
2819 ) |
|
2820 ), |
|
2554 'html' => false, |
2821 'html' => false, |
2555 'spacing' => array( |
2822 'spacing' => array( |
2556 'margin' => true, |
2823 'margin' => true, |
2557 'padding' => true |
2824 'padding' => true |
2558 ), |
2825 ), |
2693 '__experimentalLetterSpacing' => true, |
2960 '__experimentalLetterSpacing' => true, |
2694 '__experimentalDefaultControls' => array( |
2961 '__experimentalDefaultControls' => array( |
2695 'fontSize' => true |
2962 'fontSize' => true |
2696 ) |
2963 ) |
2697 ), |
2964 ), |
2965 '__experimentalBorder' => array( |
|
2966 'radius' => true, |
|
2967 'color' => true, |
|
2968 'width' => true, |
|
2969 'style' => true, |
|
2970 '__experimentalDefaultControls' => array( |
|
2971 'radius' => true, |
|
2972 'color' => true, |
|
2973 'width' => true, |
|
2974 'style' => true |
|
2975 ) |
|
2976 ), |
|
2698 'interactivity' => array( |
2977 'interactivity' => array( |
2699 'clientNavigation' => true |
2978 'clientNavigation' => true |
2700 ) |
2979 ) |
2701 ), |
2980 ), |
2702 'editorStyle' => 'wp-block-latest-posts-editor', |
2981 'editorStyle' => 'wp-block-latest-posts-editor', |
2738 'title' => 'List', |
3017 'title' => 'List', |
2739 'category' => 'text', |
3018 'category' => 'text', |
2740 'allowedBlocks' => array( |
3019 'allowedBlocks' => array( |
2741 'core/list-item' |
3020 'core/list-item' |
2742 ), |
3021 ), |
2743 'description' => 'Create a bulleted or numbered list.', |
3022 'description' => 'An organized collection of items displayed in a specific order.', |
2744 'keywords' => array( |
3023 'keywords' => array( |
2745 'bullet list', |
3024 'bullet list', |
2746 'ordered list', |
3025 'ordered list', |
2747 'numbered list' |
3026 'numbered list' |
2748 ), |
3027 ), |
2749 'textdomain' => 'default', |
3028 'textdomain' => 'default', |
2750 'attributes' => array( |
3029 'attributes' => array( |
2751 'ordered' => array( |
3030 'ordered' => array( |
2752 'type' => 'boolean', |
3031 'type' => 'boolean', |
2753 'default' => false, |
3032 'default' => false, |
2754 '__experimentalRole' => 'content' |
3033 'role' => 'content' |
2755 ), |
3034 ), |
2756 'values' => array( |
3035 'values' => array( |
2757 'type' => 'string', |
3036 'type' => 'string', |
2758 'source' => 'html', |
3037 'source' => 'html', |
2759 'selector' => 'ol,ul', |
3038 'selector' => 'ol,ul', |
2761 '__unstableMultilineWrapperTags' => array( |
3040 '__unstableMultilineWrapperTags' => array( |
2762 'ol', |
3041 'ol', |
2763 'ul' |
3042 'ul' |
2764 ), |
3043 ), |
2765 'default' => '', |
3044 'default' => '', |
2766 '__experimentalRole' => 'content' |
3045 'role' => 'content' |
2767 ), |
3046 ), |
2768 'type' => array( |
3047 'type' => array( |
2769 'type' => 'string' |
3048 'type' => 'string' |
2770 ), |
3049 ), |
2771 'start' => array( |
3050 'start' => array( |
2779 ) |
3058 ) |
2780 ), |
3059 ), |
2781 'supports' => array( |
3060 'supports' => array( |
2782 'anchor' => true, |
3061 'anchor' => true, |
2783 'html' => false, |
3062 'html' => false, |
3063 '__experimentalBorder' => array( |
|
3064 'color' => true, |
|
3065 'radius' => true, |
|
3066 'style' => true, |
|
3067 'width' => true |
|
3068 ), |
|
2784 'typography' => array( |
3069 'typography' => array( |
2785 'fontSize' => true, |
3070 'fontSize' => true, |
2786 'lineHeight' => true, |
3071 'lineHeight' => true, |
2787 '__experimentalFontFamily' => true, |
3072 '__experimentalFontFamily' => true, |
2788 '__experimentalFontWeight' => true, |
3073 '__experimentalFontWeight' => true, |
2815 '__experimentalSlashInserter' => true, |
3100 '__experimentalSlashInserter' => true, |
2816 'interactivity' => array( |
3101 'interactivity' => array( |
2817 'clientNavigation' => true |
3102 'clientNavigation' => true |
2818 ) |
3103 ) |
2819 ), |
3104 ), |
3105 'selectors' => array( |
|
3106 'border' => '.wp-block-list:not(.wp-block-list .wp-block-list)' |
|
3107 ), |
|
2820 'editorStyle' => 'wp-block-list-editor', |
3108 'editorStyle' => 'wp-block-list-editor', |
2821 'style' => 'wp-block-list' |
3109 'style' => 'wp-block-list' |
2822 ), |
3110 ), |
2823 'list-item' => array( |
3111 'list-item' => array( |
2824 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
3112 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
2825 'apiVersion' => 3, |
3113 'apiVersion' => 3, |
2826 'name' => 'core/list-item', |
3114 'name' => 'core/list-item', |
2827 'title' => 'List item', |
3115 'title' => 'List Item', |
2828 'category' => 'text', |
3116 'category' => 'text', |
2829 'parent' => array( |
3117 'parent' => array( |
2830 'core/list' |
3118 'core/list' |
2831 ), |
3119 ), |
2832 'allowedBlocks' => array( |
3120 'allowedBlocks' => array( |
2833 'core/list' |
3121 'core/list' |
2834 ), |
3122 ), |
2835 'description' => 'Create a list item.', |
3123 'description' => 'An individual item within a list.', |
2836 'textdomain' => 'default', |
3124 'textdomain' => 'default', |
2837 'attributes' => array( |
3125 'attributes' => array( |
2838 'placeholder' => array( |
3126 'placeholder' => array( |
2839 'type' => 'string' |
3127 'type' => 'string' |
2840 ), |
3128 ), |
2841 'content' => array( |
3129 'content' => array( |
2842 'type' => 'rich-text', |
3130 'type' => 'rich-text', |
2843 'source' => 'rich-text', |
3131 'source' => 'rich-text', |
2844 'selector' => 'li', |
3132 'selector' => 'li', |
2845 '__experimentalRole' => 'content' |
3133 'role' => 'content' |
2846 ) |
3134 ) |
2847 ), |
3135 ), |
2848 'supports' => array( |
3136 'supports' => array( |
3137 'anchor' => true, |
|
2849 'className' => false, |
3138 'className' => false, |
2850 '__experimentalSelector' => '.wp-block-list > li', |
|
2851 'splitting' => true, |
3139 'splitting' => true, |
3140 '__experimentalBorder' => array( |
|
3141 'color' => true, |
|
3142 'radius' => true, |
|
3143 'style' => true, |
|
3144 'width' => true |
|
3145 ), |
|
3146 'color' => array( |
|
3147 'gradients' => true, |
|
3148 'link' => true, |
|
3149 'background' => true, |
|
3150 '__experimentalDefaultControls' => array( |
|
3151 'text' => true |
|
3152 ) |
|
3153 ), |
|
2852 'spacing' => array( |
3154 'spacing' => array( |
2853 'margin' => true, |
3155 'margin' => true, |
2854 'padding' => true, |
3156 'padding' => true, |
2855 '__experimentalDefaultControls' => array( |
3157 '__experimentalDefaultControls' => array( |
2856 'margin' => false, |
3158 'margin' => false, |
2871 ) |
3173 ) |
2872 ), |
3174 ), |
2873 'interactivity' => array( |
3175 'interactivity' => array( |
2874 'clientNavigation' => true |
3176 'clientNavigation' => true |
2875 ) |
3177 ) |
3178 ), |
|
3179 'selectors' => array( |
|
3180 'root' => '.wp-block-list > li', |
|
3181 'border' => '.wp-block-list:not(.wp-block-list .wp-block-list) > li' |
|
2876 ) |
3182 ) |
2877 ), |
3183 ), |
2878 'loginout' => array( |
3184 'loginout' => array( |
2879 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
3185 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
2880 'apiVersion' => 3, |
3186 'apiVersion' => 3, |
2896 'redirectToCurrent' => array( |
3202 'redirectToCurrent' => array( |
2897 'type' => 'boolean', |
3203 'type' => 'boolean', |
2898 'default' => true |
3204 'default' => true |
2899 ) |
3205 ) |
2900 ), |
3206 ), |
3207 'example' => array( |
|
3208 'viewportWidth' => 350 |
|
3209 ), |
|
2901 'supports' => array( |
3210 'supports' => array( |
2902 'className' => true, |
3211 'className' => true, |
3212 'color' => array( |
|
3213 'background' => true, |
|
3214 'text' => false, |
|
3215 'gradients' => true, |
|
3216 'link' => true |
|
3217 ), |
|
2903 'spacing' => array( |
3218 'spacing' => array( |
2904 'margin' => true, |
3219 'margin' => true, |
2905 'padding' => true, |
3220 'padding' => true, |
2906 '__experimentalDefaultControls' => array( |
3221 '__experimentalDefaultControls' => array( |
2907 'margin' => false, |
3222 'margin' => false, |
2919 '__experimentalLetterSpacing' => true, |
3234 '__experimentalLetterSpacing' => true, |
2920 '__experimentalDefaultControls' => array( |
3235 '__experimentalDefaultControls' => array( |
2921 'fontSize' => true |
3236 'fontSize' => true |
2922 ) |
3237 ) |
2923 ), |
3238 ), |
2924 'interactivity' => array( |
3239 '__experimentalBorder' => array( |
2925 'clientNavigation' => true |
3240 'radius' => true, |
2926 ) |
3241 'color' => true, |
2927 ) |
3242 'width' => true, |
3243 'style' => true |
|
3244 ), |
|
3245 'interactivity' => array( |
|
3246 'clientNavigation' => true |
|
3247 ) |
|
3248 ), |
|
3249 'style' => 'wp-block-loginout' |
|
2928 ), |
3250 ), |
2929 'media-text' => array( |
3251 'media-text' => array( |
2930 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
3252 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
2931 'apiVersion' => 3, |
3253 'apiVersion' => 3, |
2932 'name' => 'core/media-text', |
3254 'name' => 'core/media-text', |
2947 'type' => 'string', |
3269 'type' => 'string', |
2948 'source' => 'attribute', |
3270 'source' => 'attribute', |
2949 'selector' => 'figure img', |
3271 'selector' => 'figure img', |
2950 'attribute' => 'alt', |
3272 'attribute' => 'alt', |
2951 'default' => '', |
3273 'default' => '', |
2952 '__experimentalRole' => 'content' |
3274 'role' => 'content' |
2953 ), |
3275 ), |
2954 'mediaPosition' => array( |
3276 'mediaPosition' => array( |
2955 'type' => 'string', |
3277 'type' => 'string', |
2956 'default' => 'left' |
3278 'default' => 'left' |
2957 ), |
3279 ), |
2958 'mediaId' => array( |
3280 'mediaId' => array( |
2959 'type' => 'number', |
3281 'type' => 'number', |
2960 '__experimentalRole' => 'content' |
3282 'role' => 'content' |
2961 ), |
3283 ), |
2962 'mediaUrl' => array( |
3284 'mediaUrl' => array( |
2963 'type' => 'string', |
3285 'type' => 'string', |
2964 'source' => 'attribute', |
3286 'source' => 'attribute', |
2965 'selector' => 'figure video,figure img', |
3287 'selector' => 'figure video,figure img', |
2966 'attribute' => 'src', |
3288 'attribute' => 'src', |
2967 '__experimentalRole' => 'content' |
3289 'role' => 'content' |
2968 ), |
3290 ), |
2969 'mediaLink' => array( |
3291 'mediaLink' => array( |
2970 'type' => 'string' |
3292 'type' => 'string' |
2971 ), |
3293 ), |
2972 'linkDestination' => array( |
3294 'linkDestination' => array( |
2981 'href' => array( |
3303 'href' => array( |
2982 'type' => 'string', |
3304 'type' => 'string', |
2983 'source' => 'attribute', |
3305 'source' => 'attribute', |
2984 'selector' => 'figure a', |
3306 'selector' => 'figure a', |
2985 'attribute' => 'href', |
3307 'attribute' => 'href', |
2986 '__experimentalRole' => 'content' |
3308 'role' => 'content' |
2987 ), |
3309 ), |
2988 'rel' => array( |
3310 'rel' => array( |
2989 'type' => 'string', |
3311 'type' => 'string', |
2990 'source' => 'attribute', |
3312 'source' => 'attribute', |
2991 'selector' => 'figure a', |
3313 'selector' => 'figure a', |
2997 'selector' => 'figure a', |
3319 'selector' => 'figure a', |
2998 'attribute' => 'class' |
3320 'attribute' => 'class' |
2999 ), |
3321 ), |
3000 'mediaType' => array( |
3322 'mediaType' => array( |
3001 'type' => 'string', |
3323 'type' => 'string', |
3002 '__experimentalRole' => 'content' |
3324 'role' => 'content' |
3003 ), |
3325 ), |
3004 'mediaWidth' => array( |
3326 'mediaWidth' => array( |
3005 'type' => 'number', |
3327 'type' => 'number', |
3006 'default' => 50 |
3328 'default' => 50 |
3007 ), |
3329 ), |
3038 'align' => array( |
3360 'align' => array( |
3039 'wide', |
3361 'wide', |
3040 'full' |
3362 'full' |
3041 ), |
3363 ), |
3042 'html' => false, |
3364 'html' => false, |
3365 '__experimentalBorder' => array( |
|
3366 'color' => true, |
|
3367 'radius' => true, |
|
3368 'style' => true, |
|
3369 'width' => true, |
|
3370 '__experimentalDefaultControls' => array( |
|
3371 'color' => true, |
|
3372 'radius' => true, |
|
3373 'style' => true, |
|
3374 'width' => true |
|
3375 ) |
|
3376 ), |
|
3043 'color' => array( |
3377 'color' => array( |
3044 'gradients' => true, |
3378 'gradients' => true, |
3045 'heading' => true, |
3379 'heading' => true, |
3046 'link' => true, |
3380 'link' => true, |
3047 '__experimentalDefaultControls' => array( |
3381 '__experimentalDefaultControls' => array( |
3454 'style' |
3788 'style' |
3455 ), |
3789 ), |
3456 'supports' => array( |
3790 'supports' => array( |
3457 'reusable' => false, |
3791 'reusable' => false, |
3458 'html' => false, |
3792 'html' => false, |
3793 'typography' => array( |
|
3794 'fontSize' => true, |
|
3795 'lineHeight' => true, |
|
3796 '__experimentalFontFamily' => true, |
|
3797 '__experimentalFontWeight' => true, |
|
3798 '__experimentalFontStyle' => true, |
|
3799 '__experimentalTextTransform' => true, |
|
3800 '__experimentalTextDecoration' => true, |
|
3801 '__experimentalLetterSpacing' => true, |
|
3802 '__experimentalDefaultControls' => array( |
|
3803 'fontSize' => true |
|
3804 ) |
|
3805 ), |
|
3459 'interactivity' => array( |
3806 'interactivity' => array( |
3460 'clientNavigation' => true |
3807 'clientNavigation' => true |
3461 ) |
3808 ) |
3462 ), |
3809 ), |
3463 'editorStyle' => 'wp-block-navigation-submenu-editor', |
3810 'editorStyle' => 'wp-block-navigation-submenu-editor', |
3544 'fontSize' => true |
3891 'fontSize' => true |
3545 ) |
3892 ) |
3546 ), |
3893 ), |
3547 'interactivity' => array( |
3894 'interactivity' => array( |
3548 'clientNavigation' => true |
3895 'clientNavigation' => true |
3896 ), |
|
3897 'color' => array( |
|
3898 'text' => true, |
|
3899 'background' => true, |
|
3900 'link' => true, |
|
3901 'gradients' => true, |
|
3902 '__experimentalDefaultControls' => array( |
|
3903 'background' => true, |
|
3904 'text' => true, |
|
3905 'link' => true |
|
3906 ) |
|
3907 ), |
|
3908 '__experimentalBorder' => array( |
|
3909 'radius' => true, |
|
3910 'color' => true, |
|
3911 'width' => true, |
|
3912 'style' => true |
|
3913 ), |
|
3914 'spacing' => array( |
|
3915 'padding' => true, |
|
3916 'margin' => true, |
|
3917 '__experimentalDefaultControls' => array( |
|
3918 'padding' => false, |
|
3919 'margin' => false |
|
3920 ) |
|
3549 ) |
3921 ) |
3550 ), |
3922 ), |
3551 'editorStyle' => 'wp-block-page-list-editor', |
3923 'editorStyle' => 'wp-block-page-list-editor', |
3552 'style' => 'wp-block-page-list' |
3924 'style' => 'wp-block-page-list' |
3553 ), |
3925 ), |
3629 ), |
4001 ), |
3630 'content' => array( |
4002 'content' => array( |
3631 'type' => 'rich-text', |
4003 'type' => 'rich-text', |
3632 'source' => 'rich-text', |
4004 'source' => 'rich-text', |
3633 'selector' => 'p', |
4005 'selector' => 'p', |
3634 '__experimentalRole' => 'content' |
4006 'role' => 'content' |
3635 ), |
4007 ), |
3636 'dropCap' => array( |
4008 'dropCap' => array( |
3637 'type' => 'boolean', |
4009 'type' => 'boolean', |
3638 'default' => false |
4010 'default' => false |
3639 ), |
4011 ), |
3650 ), |
4022 ), |
3651 'supports' => array( |
4023 'supports' => array( |
3652 'splitting' => true, |
4024 'splitting' => true, |
3653 'anchor' => true, |
4025 'anchor' => true, |
3654 'className' => false, |
4026 'className' => false, |
4027 '__experimentalBorder' => array( |
|
4028 'color' => true, |
|
4029 'radius' => true, |
|
4030 'style' => true, |
|
4031 'width' => true |
|
4032 ), |
|
3655 'color' => array( |
4033 'color' => array( |
3656 'gradients' => true, |
4034 'gradients' => true, |
3657 'link' => true, |
4035 'link' => true, |
3658 '__experimentalDefaultControls' => array( |
4036 '__experimentalDefaultControls' => array( |
3659 'background' => true, |
4037 'background' => true, |
3693 ), |
4071 ), |
3694 'pattern' => array( |
4072 'pattern' => array( |
3695 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4073 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
3696 'apiVersion' => 3, |
4074 'apiVersion' => 3, |
3697 'name' => 'core/pattern', |
4075 'name' => 'core/pattern', |
3698 'title' => 'Pattern placeholder', |
4076 'title' => 'Pattern Placeholder', |
3699 'category' => 'theme', |
4077 'category' => 'theme', |
3700 'description' => 'Show a block pattern.', |
4078 'description' => 'Show a block pattern.', |
3701 'supports' => array( |
4079 'supports' => array( |
3702 'html' => false, |
4080 'html' => false, |
3703 'inserter' => false, |
4081 'inserter' => false, |
3739 'byline' => array( |
4117 'byline' => array( |
3740 'type' => 'string' |
4118 'type' => 'string' |
3741 ), |
4119 ), |
3742 'isLink' => array( |
4120 'isLink' => array( |
3743 'type' => 'boolean', |
4121 'type' => 'boolean', |
3744 'default' => false |
4122 'default' => false, |
4123 'role' => 'content' |
|
3745 ), |
4124 ), |
3746 'linkTarget' => array( |
4125 'linkTarget' => array( |
3747 'type' => 'string', |
4126 'type' => 'string', |
3748 'default' => '_self' |
4127 'default' => '_self', |
4128 'role' => 'content' |
|
3749 ) |
4129 ) |
3750 ), |
4130 ), |
3751 'usesContext' => array( |
4131 'usesContext' => array( |
3752 'postType', |
4132 'postType', |
3753 'postId', |
4133 'postId', |
3781 'text' => true |
4161 'text' => true |
3782 ) |
4162 ) |
3783 ), |
4163 ), |
3784 'interactivity' => array( |
4164 'interactivity' => array( |
3785 'clientNavigation' => true |
4165 'clientNavigation' => true |
3786 ) |
4166 ), |
3787 ), |
4167 '__experimentalBorder' => array( |
4168 'radius' => true, |
|
4169 'color' => true, |
|
4170 'width' => true, |
|
4171 'style' => true, |
|
4172 '__experimentalDefaultControls' => array( |
|
4173 'radius' => true, |
|
4174 'color' => true, |
|
4175 'width' => true, |
|
4176 'style' => true |
|
4177 ) |
|
4178 ) |
|
4179 ), |
|
4180 'editorStyle' => 'wp-block-post-author-editor', |
|
3788 'style' => 'wp-block-post-author' |
4181 'style' => 'wp-block-post-author' |
3789 ), |
4182 ), |
3790 'post-author-biography' => array( |
4183 'post-author-biography' => array( |
3791 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4184 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
3792 'apiVersion' => 3, |
4185 'apiVersion' => 3, |
3801 ) |
4194 ) |
3802 ), |
4195 ), |
3803 'usesContext' => array( |
4196 'usesContext' => array( |
3804 'postType', |
4197 'postType', |
3805 'postId' |
4198 'postId' |
4199 ), |
|
4200 'example' => array( |
|
4201 'viewportWidth' => 350 |
|
3806 ), |
4202 ), |
3807 'supports' => array( |
4203 'supports' => array( |
3808 'spacing' => array( |
4204 'spacing' => array( |
3809 'margin' => true, |
4205 'margin' => true, |
3810 'padding' => true |
4206 'padding' => true |
3830 'fontSize' => true |
4226 'fontSize' => true |
3831 ) |
4227 ) |
3832 ), |
4228 ), |
3833 'interactivity' => array( |
4229 'interactivity' => array( |
3834 'clientNavigation' => true |
4230 'clientNavigation' => true |
3835 ) |
4231 ), |
3836 ) |
4232 '__experimentalBorder' => array( |
4233 'radius' => true, |
|
4234 'color' => true, |
|
4235 'width' => true, |
|
4236 'style' => true, |
|
4237 '__experimentalDefaultControls' => array( |
|
4238 'radius' => true, |
|
4239 'color' => true, |
|
4240 'width' => true, |
|
4241 'style' => true |
|
4242 ) |
|
4243 ) |
|
4244 ), |
|
4245 'style' => 'wp-block-post-author-biography' |
|
3837 ), |
4246 ), |
3838 'post-author-name' => array( |
4247 'post-author-name' => array( |
3839 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4248 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
3840 'apiVersion' => 3, |
4249 'apiVersion' => 3, |
3841 'name' => 'core/post-author-name', |
4250 'name' => 'core/post-author-name', |
3847 'textAlign' => array( |
4256 'textAlign' => array( |
3848 'type' => 'string' |
4257 'type' => 'string' |
3849 ), |
4258 ), |
3850 'isLink' => array( |
4259 'isLink' => array( |
3851 'type' => 'boolean', |
4260 'type' => 'boolean', |
3852 'default' => false |
4261 'default' => false, |
4262 'role' => 'content' |
|
3853 ), |
4263 ), |
3854 'linkTarget' => array( |
4264 'linkTarget' => array( |
3855 'type' => 'string', |
4265 'type' => 'string', |
3856 'default' => '_self' |
4266 'default' => '_self', |
4267 'role' => 'content' |
|
3857 ) |
4268 ) |
3858 ), |
4269 ), |
3859 'usesContext' => array( |
4270 'usesContext' => array( |
3860 'postType', |
4271 'postType', |
3861 'postId' |
4272 'postId' |
4273 ), |
|
4274 'example' => array( |
|
4275 'viewportWidth' => 350 |
|
3862 ), |
4276 ), |
3863 'supports' => array( |
4277 'supports' => array( |
3864 'html' => false, |
4278 'html' => false, |
3865 'spacing' => array( |
4279 'spacing' => array( |
3866 'margin' => true, |
4280 'margin' => true, |
3888 'fontSize' => true |
4302 'fontSize' => true |
3889 ) |
4303 ) |
3890 ), |
4304 ), |
3891 'interactivity' => array( |
4305 'interactivity' => array( |
3892 'clientNavigation' => true |
4306 'clientNavigation' => true |
3893 ) |
4307 ), |
3894 ) |
4308 '__experimentalBorder' => array( |
4309 'radius' => true, |
|
4310 'color' => true, |
|
4311 'width' => true, |
|
4312 'style' => true, |
|
4313 '__experimentalDefaultControls' => array( |
|
4314 'radius' => true, |
|
4315 'color' => true, |
|
4316 'width' => true, |
|
4317 'style' => true |
|
4318 ) |
|
4319 ) |
|
4320 ), |
|
4321 'style' => 'wp-block-post-author-name' |
|
3895 ), |
4322 ), |
3896 'post-comments-form' => array( |
4323 'post-comments-form' => array( |
3897 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4324 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
3898 'apiVersion' => 3, |
4325 'apiVersion' => 3, |
3899 'name' => 'core/post-comments-form', |
4326 'name' => 'core/post-comments-form', |
3933 '__experimentalLetterSpacing' => true, |
4360 '__experimentalLetterSpacing' => true, |
3934 '__experimentalTextTransform' => true, |
4361 '__experimentalTextTransform' => true, |
3935 '__experimentalDefaultControls' => array( |
4362 '__experimentalDefaultControls' => array( |
3936 'fontSize' => true |
4363 'fontSize' => true |
3937 ) |
4364 ) |
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' => true |
|
4376 ) |
|
3938 ) |
4377 ) |
3939 ), |
4378 ), |
3940 'editorStyle' => 'wp-block-post-comments-form-editor', |
4379 'editorStyle' => 'wp-block-post-comments-form-editor', |
3941 'style' => array( |
4380 'style' => array( |
3942 'wp-block-post-comments-form', |
4381 'wp-block-post-comments-form', |
3943 'wp-block-buttons', |
4382 'wp-block-buttons', |
3944 'wp-block-button' |
4383 'wp-block-button' |
4384 ), |
|
4385 'example' => array( |
|
4386 'attributes' => array( |
|
4387 'textAlign' => 'center' |
|
4388 ) |
|
3945 ) |
4389 ) |
3946 ), |
4390 ), |
3947 'post-content' => array( |
4391 'post-content' => array( |
3948 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4392 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
3949 'apiVersion' => 3, |
4393 'apiVersion' => 3, |
3955 'usesContext' => array( |
4399 'usesContext' => array( |
3956 'postId', |
4400 'postId', |
3957 'postType', |
4401 'postType', |
3958 'queryId' |
4402 'queryId' |
3959 ), |
4403 ), |
4404 'example' => array( |
|
4405 'viewportWidth' => 350 |
|
4406 ), |
|
3960 'supports' => array( |
4407 'supports' => array( |
3961 'align' => array( |
4408 'align' => array( |
3962 'wide', |
4409 'wide', |
3963 'full' |
4410 'full' |
3964 ), |
4411 ), |
3965 'html' => false, |
4412 'html' => false, |
3966 'layout' => true, |
4413 'layout' => true, |
4414 'background' => array( |
|
4415 'backgroundImage' => true, |
|
4416 'backgroundSize' => true, |
|
4417 '__experimentalDefaultControls' => array( |
|
4418 'backgroundImage' => true |
|
4419 ) |
|
4420 ), |
|
3967 'dimensions' => array( |
4421 'dimensions' => array( |
3968 'minHeight' => true |
4422 'minHeight' => true |
3969 ), |
4423 ), |
3970 'spacing' => array( |
4424 'spacing' => array( |
3971 'blockGap' => true |
4425 'blockGap' => true, |
4426 'padding' => true, |
|
4427 'margin' => true, |
|
4428 '__experimentalDefaultControls' => array( |
|
4429 'margin' => false, |
|
4430 'padding' => false |
|
4431 ) |
|
3972 ), |
4432 ), |
3973 'color' => array( |
4433 'color' => array( |
3974 'gradients' => true, |
4434 'gradients' => true, |
4435 'heading' => true, |
|
3975 'link' => true, |
4436 'link' => true, |
3976 '__experimentalDefaultControls' => array( |
4437 '__experimentalDefaultControls' => array( |
3977 'background' => false, |
4438 'background' => false, |
3978 'text' => false |
4439 'text' => false |
3979 ) |
4440 ) |
3988 '__experimentalTextDecoration' => true, |
4449 '__experimentalTextDecoration' => true, |
3989 '__experimentalLetterSpacing' => true, |
4450 '__experimentalLetterSpacing' => true, |
3990 '__experimentalDefaultControls' => array( |
4451 '__experimentalDefaultControls' => array( |
3991 'fontSize' => true |
4452 'fontSize' => true |
3992 ) |
4453 ) |
3993 ) |
4454 ), |
3994 ), |
4455 '__experimentalBorder' => array( |
4456 'radius' => true, |
|
4457 'color' => true, |
|
4458 'width' => true, |
|
4459 'style' => true, |
|
4460 '__experimentalDefaultControls' => array( |
|
4461 'radius' => true, |
|
4462 'color' => true, |
|
4463 'width' => true, |
|
4464 'style' => true |
|
4465 ) |
|
4466 ) |
|
4467 ), |
|
4468 'style' => 'wp-block-post-content', |
|
3995 'editorStyle' => 'wp-block-post-content-editor' |
4469 'editorStyle' => 'wp-block-post-content-editor' |
3996 ), |
4470 ), |
3997 'post-date' => array( |
4471 'post-date' => array( |
3998 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4472 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
3999 'apiVersion' => 3, |
4473 'apiVersion' => 3, |
4009 'format' => array( |
4483 'format' => array( |
4010 'type' => 'string' |
4484 'type' => 'string' |
4011 ), |
4485 ), |
4012 'isLink' => array( |
4486 'isLink' => array( |
4013 'type' => 'boolean', |
4487 'type' => 'boolean', |
4014 'default' => false |
4488 'default' => false, |
4489 'role' => 'content' |
|
4015 ), |
4490 ), |
4016 'displayType' => array( |
4491 'displayType' => array( |
4017 'type' => 'string', |
4492 'type' => 'string', |
4018 'default' => 'date' |
4493 'default' => 'date' |
4019 ) |
4494 ) |
4020 ), |
4495 ), |
4021 'usesContext' => array( |
4496 'usesContext' => array( |
4022 'postId', |
4497 'postId', |
4023 'postType', |
4498 'postType', |
4024 'queryId' |
4499 'queryId' |
4500 ), |
|
4501 'example' => array( |
|
4502 'viewportWidth' => 350 |
|
4025 ), |
4503 ), |
4026 'supports' => array( |
4504 'supports' => array( |
4027 'html' => false, |
4505 'html' => false, |
4028 'color' => array( |
4506 'color' => array( |
4029 'gradients' => true, |
4507 'gradients' => true, |
4051 'fontSize' => true |
4529 'fontSize' => true |
4052 ) |
4530 ) |
4053 ), |
4531 ), |
4054 'interactivity' => array( |
4532 'interactivity' => array( |
4055 'clientNavigation' => true |
4533 'clientNavigation' => true |
4534 ), |
|
4535 '__experimentalBorder' => array( |
|
4536 'radius' => true, |
|
4537 'color' => true, |
|
4538 'width' => true, |
|
4539 'style' => true, |
|
4540 '__experimentalDefaultControls' => array( |
|
4541 'radius' => true, |
|
4542 'color' => true, |
|
4543 'width' => true, |
|
4544 'style' => true |
|
4545 ) |
|
4056 ) |
4546 ) |
4057 ) |
4547 ) |
4058 ), |
4548 ), |
4059 'post-excerpt' => array( |
4549 'post-excerpt' => array( |
4060 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4550 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4082 ), |
4572 ), |
4083 'usesContext' => array( |
4573 'usesContext' => array( |
4084 'postId', |
4574 'postId', |
4085 'postType', |
4575 'postType', |
4086 'queryId' |
4576 'queryId' |
4577 ), |
|
4578 'example' => array( |
|
4579 'viewportWidth' => 350 |
|
4087 ), |
4580 ), |
4088 'supports' => array( |
4581 'supports' => array( |
4089 'html' => false, |
4582 'html' => false, |
4090 'color' => array( |
4583 'color' => array( |
4091 'gradients' => true, |
4584 'gradients' => true, |
4113 'fontSize' => true |
4606 'fontSize' => true |
4114 ) |
4607 ) |
4115 ), |
4608 ), |
4116 'interactivity' => array( |
4609 'interactivity' => array( |
4117 'clientNavigation' => true |
4610 'clientNavigation' => true |
4611 ), |
|
4612 '__experimentalBorder' => array( |
|
4613 'radius' => true, |
|
4614 'color' => true, |
|
4615 'width' => true, |
|
4616 'style' => true, |
|
4617 '__experimentalDefaultControls' => array( |
|
4618 'radius' => true, |
|
4619 'color' => true, |
|
4620 'width' => true, |
|
4621 'style' => true |
|
4622 ) |
|
4118 ) |
4623 ) |
4119 ), |
4624 ), |
4120 'editorStyle' => 'wp-block-post-excerpt-editor', |
4625 'editorStyle' => 'wp-block-post-excerpt-editor', |
4121 'style' => 'wp-block-post-excerpt' |
4626 'style' => 'wp-block-post-excerpt' |
4122 ), |
4627 ), |
4129 'description' => 'Display a post\'s featured image.', |
4634 'description' => 'Display a post\'s featured image.', |
4130 'textdomain' => 'default', |
4635 'textdomain' => 'default', |
4131 'attributes' => array( |
4636 'attributes' => array( |
4132 'isLink' => array( |
4637 'isLink' => array( |
4133 'type' => 'boolean', |
4638 'type' => 'boolean', |
4134 'default' => false |
4639 'default' => false, |
4640 'role' => 'content' |
|
4135 ), |
4641 ), |
4136 'aspectRatio' => array( |
4642 'aspectRatio' => array( |
4137 'type' => 'string' |
4643 'type' => 'string' |
4138 ), |
4644 ), |
4139 'width' => array( |
4645 'width' => array( |
4150 'type' => 'string' |
4656 'type' => 'string' |
4151 ), |
4657 ), |
4152 'rel' => array( |
4658 'rel' => array( |
4153 'type' => 'string', |
4659 'type' => 'string', |
4154 'attribute' => 'rel', |
4660 'attribute' => 'rel', |
4155 'default' => '' |
4661 'default' => '', |
4662 'role' => 'content' |
|
4156 ), |
4663 ), |
4157 'linkTarget' => array( |
4664 'linkTarget' => array( |
4158 'type' => 'string', |
4665 'type' => 'string', |
4159 'default' => '_self' |
4666 'default' => '_self', |
4667 'role' => 'content' |
|
4160 ), |
4668 ), |
4161 'overlayColor' => array( |
4669 'overlayColor' => array( |
4162 'type' => 'string' |
4670 'type' => 'string' |
4163 ), |
4671 ), |
4164 'customOverlayColor' => array( |
4672 'customOverlayColor' => array( |
4181 ), |
4689 ), |
4182 'usesContext' => array( |
4690 'usesContext' => array( |
4183 'postId', |
4691 'postId', |
4184 'postType', |
4692 'postType', |
4185 'queryId' |
4693 'queryId' |
4694 ), |
|
4695 'example' => array( |
|
4696 'viewportWidth' => 350 |
|
4186 ), |
4697 ), |
4187 'supports' => array( |
4698 'supports' => array( |
4188 'align' => array( |
4699 'align' => array( |
4189 'left', |
4700 'left', |
4190 'right', |
4701 'right', |
4301 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4812 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4302 'apiVersion' => 3, |
4813 'apiVersion' => 3, |
4303 'name' => 'core/post-template', |
4814 'name' => 'core/post-template', |
4304 'title' => 'Post Template', |
4815 'title' => 'Post Template', |
4305 'category' => 'theme', |
4816 'category' => 'theme', |
4306 'parent' => array( |
4817 'ancestor' => array( |
4307 'core/query' |
4818 'core/query' |
4308 ), |
4819 ), |
4309 'description' => 'Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.', |
4820 'description' => 'Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.', |
4310 'textdomain' => 'default', |
4821 'textdomain' => 'default', |
4311 'usesContext' => array( |
4822 'usesContext' => array( |
4312 'queryId', |
4823 'queryId', |
4313 'query', |
4824 'query', |
4314 'displayLayout', |
4825 'displayLayout', |
4315 'templateSlug', |
4826 'templateSlug', |
4316 'previewPostType', |
4827 'previewPostType', |
4317 'enhancedPagination' |
4828 'enhancedPagination', |
4829 'postType' |
|
4318 ), |
4830 ), |
4319 'supports' => array( |
4831 'supports' => array( |
4320 'reusable' => false, |
4832 'reusable' => false, |
4321 'html' => false, |
4833 'html' => false, |
4322 'align' => array( |
4834 'align' => array( |
4344 '__experimentalDefaultControls' => array( |
4856 '__experimentalDefaultControls' => array( |
4345 'fontSize' => true |
4857 'fontSize' => true |
4346 ) |
4858 ) |
4347 ), |
4859 ), |
4348 'spacing' => array( |
4860 'spacing' => array( |
4861 'margin' => true, |
|
4862 'padding' => true, |
|
4349 'blockGap' => array( |
4863 'blockGap' => array( |
4350 '__experimentalDefault' => '1.25em' |
4864 '__experimentalDefault' => '1.25em' |
4351 ), |
4865 ), |
4352 '__experimentalDefaultControls' => array( |
4866 '__experimentalDefaultControls' => array( |
4353 'blockGap' => true |
4867 'blockGap' => true, |
4354 ) |
4868 'padding' => false, |
4355 ), |
4869 'margin' => false |
4356 'interactivity' => array( |
4870 ) |
4357 'clientNavigation' => true |
4871 ), |
4872 'interactivity' => array( |
|
4873 'clientNavigation' => true |
|
4874 ), |
|
4875 '__experimentalBorder' => array( |
|
4876 'radius' => true, |
|
4877 'color' => true, |
|
4878 'width' => true, |
|
4879 'style' => true |
|
4358 ) |
4880 ) |
4359 ), |
4881 ), |
4360 'style' => 'wp-block-post-template', |
4882 'style' => 'wp-block-post-template', |
4361 'editorStyle' => 'wp-block-post-template-editor' |
4883 'editorStyle' => 'wp-block-post-template-editor' |
4362 ), |
4884 ), |
4389 ) |
4911 ) |
4390 ), |
4912 ), |
4391 'usesContext' => array( |
4913 'usesContext' => array( |
4392 'postId', |
4914 'postId', |
4393 'postType' |
4915 'postType' |
4916 ), |
|
4917 'example' => array( |
|
4918 'viewportWidth' => 350 |
|
4394 ), |
4919 ), |
4395 'supports' => array( |
4920 'supports' => array( |
4396 'html' => false, |
4921 'html' => false, |
4397 'color' => array( |
4922 'color' => array( |
4398 'gradients' => true, |
4923 'gradients' => true, |
4420 'fontSize' => true |
4945 'fontSize' => true |
4421 ) |
4946 ) |
4422 ), |
4947 ), |
4423 'interactivity' => array( |
4948 'interactivity' => array( |
4424 'clientNavigation' => true |
4949 'clientNavigation' => true |
4950 ), |
|
4951 '__experimentalBorder' => array( |
|
4952 'radius' => true, |
|
4953 'color' => true, |
|
4954 'width' => true, |
|
4955 'style' => true, |
|
4956 '__experimentalDefaultControls' => array( |
|
4957 'radius' => true, |
|
4958 'color' => true, |
|
4959 'width' => true, |
|
4960 'style' => true |
|
4961 ) |
|
4425 ) |
4962 ) |
4426 ), |
4963 ), |
4427 'style' => 'wp-block-post-terms' |
4964 'style' => 'wp-block-post-terms' |
4428 ), |
4965 ), |
4429 'post-title' => array( |
4966 'post-title' => array( |
4445 ), |
4982 ), |
4446 'level' => array( |
4983 'level' => array( |
4447 'type' => 'number', |
4984 'type' => 'number', |
4448 'default' => 2 |
4985 'default' => 2 |
4449 ), |
4986 ), |
4987 'levelOptions' => array( |
|
4988 'type' => 'array' |
|
4989 ), |
|
4450 'isLink' => array( |
4990 'isLink' => array( |
4451 'type' => 'boolean', |
4991 'type' => 'boolean', |
4452 'default' => false |
4992 'default' => false, |
4993 'role' => 'content' |
|
4453 ), |
4994 ), |
4454 'rel' => array( |
4995 'rel' => array( |
4455 'type' => 'string', |
4996 'type' => 'string', |
4456 'attribute' => 'rel', |
4997 'attribute' => 'rel', |
4457 'default' => '' |
4998 'default' => '', |
4999 'role' => 'content' |
|
4458 ), |
5000 ), |
4459 'linkTarget' => array( |
5001 'linkTarget' => array( |
4460 'type' => 'string', |
5002 'type' => 'string', |
4461 'default' => '_self' |
5003 'default' => '_self', |
4462 ) |
5004 'role' => 'content' |
5005 ) |
|
5006 ), |
|
5007 'example' => array( |
|
5008 'viewportWidth' => 350 |
|
4463 ), |
5009 ), |
4464 'supports' => array( |
5010 'supports' => array( |
4465 'align' => array( |
5011 'align' => array( |
4466 'wide', |
5012 'wide', |
4467 'full' |
5013 'full' |
4493 'fontSize' => true |
5039 'fontSize' => true |
4494 ) |
5040 ) |
4495 ), |
5041 ), |
4496 'interactivity' => array( |
5042 'interactivity' => array( |
4497 'clientNavigation' => true |
5043 'clientNavigation' => true |
5044 ), |
|
5045 '__experimentalBorder' => array( |
|
5046 'radius' => true, |
|
5047 'color' => true, |
|
5048 'width' => true, |
|
5049 'style' => true, |
|
5050 '__experimentalDefaultControls' => array( |
|
5051 'radius' => true, |
|
5052 'color' => true, |
|
5053 'width' => true, |
|
5054 'style' => true |
|
5055 ) |
|
4498 ) |
5056 ) |
4499 ), |
5057 ), |
4500 'style' => 'wp-block-post-title' |
5058 'style' => 'wp-block-post-title' |
4501 ), |
5059 ), |
4502 'preformatted' => array( |
5060 'preformatted' => array( |
4511 'content' => array( |
5069 'content' => array( |
4512 'type' => 'rich-text', |
5070 'type' => 'rich-text', |
4513 'source' => 'rich-text', |
5071 'source' => 'rich-text', |
4514 'selector' => 'pre', |
5072 'selector' => 'pre', |
4515 '__unstablePreserveWhiteSpace' => true, |
5073 '__unstablePreserveWhiteSpace' => true, |
4516 '__experimentalRole' => 'content' |
5074 'role' => 'content' |
4517 ) |
5075 ) |
4518 ), |
5076 ), |
4519 'supports' => array( |
5077 'supports' => array( |
4520 'anchor' => true, |
5078 'anchor' => true, |
4521 'color' => array( |
5079 'color' => array( |
4542 'fontSize' => true |
5100 'fontSize' => true |
4543 ) |
5101 ) |
4544 ), |
5102 ), |
4545 'interactivity' => array( |
5103 'interactivity' => array( |
4546 'clientNavigation' => true |
5104 'clientNavigation' => true |
5105 ), |
|
5106 '__experimentalBorder' => array( |
|
5107 'radius' => true, |
|
5108 'color' => true, |
|
5109 'width' => true, |
|
5110 'style' => true, |
|
5111 '__experimentalDefaultControls' => array( |
|
5112 'radius' => true, |
|
5113 'color' => true, |
|
5114 'width' => true, |
|
5115 'style' => true |
|
5116 ) |
|
4547 ) |
5117 ) |
4548 ), |
5118 ), |
4549 'style' => 'wp-block-preformatted' |
5119 'style' => 'wp-block-preformatted' |
4550 ), |
5120 ), |
4551 'pullquote' => array( |
5121 'pullquote' => array( |
4559 'attributes' => array( |
5129 'attributes' => array( |
4560 'value' => array( |
5130 'value' => array( |
4561 'type' => 'rich-text', |
5131 'type' => 'rich-text', |
4562 'source' => 'rich-text', |
5132 'source' => 'rich-text', |
4563 'selector' => 'p', |
5133 'selector' => 'p', |
4564 '__experimentalRole' => 'content' |
5134 'role' => 'content' |
4565 ), |
5135 ), |
4566 'citation' => array( |
5136 'citation' => array( |
4567 'type' => 'rich-text', |
5137 'type' => 'rich-text', |
4568 'source' => 'rich-text', |
5138 'source' => 'rich-text', |
4569 'selector' => 'cite', |
5139 'selector' => 'cite', |
4570 '__experimentalRole' => 'content' |
5140 'role' => 'content' |
4571 ), |
5141 ), |
4572 'textAlign' => array( |
5142 'textAlign' => array( |
4573 'type' => 'string' |
5143 'type' => 'string' |
4574 ) |
5144 ) |
4575 ), |
5145 ), |
4579 'left', |
5149 'left', |
4580 'right', |
5150 'right', |
4581 'wide', |
5151 'wide', |
4582 'full' |
5152 'full' |
4583 ), |
5153 ), |
5154 'background' => array( |
|
5155 'backgroundImage' => true, |
|
5156 'backgroundSize' => true, |
|
5157 '__experimentalDefaultControls' => array( |
|
5158 'backgroundImage' => true |
|
5159 ) |
|
5160 ), |
|
4584 'color' => array( |
5161 'color' => array( |
4585 'gradients' => true, |
5162 'gradients' => true, |
4586 'background' => true, |
5163 'background' => true, |
4587 'link' => true, |
5164 'link' => true, |
4588 '__experimentalDefaultControls' => array( |
5165 '__experimentalDefaultControls' => array( |
4589 'background' => true, |
5166 'background' => true, |
4590 'text' => true |
5167 'text' => true |
5168 ) |
|
5169 ), |
|
5170 'dimensions' => array( |
|
5171 'minHeight' => true, |
|
5172 '__experimentalDefaultControls' => array( |
|
5173 'minHeight' => false |
|
4591 ) |
5174 ) |
4592 ), |
5175 ), |
4593 'spacing' => array( |
5176 'spacing' => array( |
4594 'margin' => true, |
5177 'margin' => true, |
4595 'padding' => true |
5178 'padding' => true |
4637 'apiVersion' => 3, |
5220 'apiVersion' => 3, |
4638 'name' => 'core/query', |
5221 'name' => 'core/query', |
4639 'title' => 'Query Loop', |
5222 'title' => 'Query Loop', |
4640 'category' => 'theme', |
5223 'category' => 'theme', |
4641 'description' => 'An advanced block that allows displaying post types based on different query parameters and visual configurations.', |
5224 'description' => 'An advanced block that allows displaying post types based on different query parameters and visual configurations.', |
5225 'keywords' => array( |
|
5226 'posts', |
|
5227 'list', |
|
5228 'blog', |
|
5229 'blogs', |
|
5230 'custom post types' |
|
5231 ), |
|
4642 'textdomain' => 'default', |
5232 'textdomain' => 'default', |
4643 'attributes' => array( |
5233 'attributes' => array( |
4644 'queryId' => array( |
5234 'queryId' => array( |
4645 'type' => 'number' |
5235 'type' => 'number' |
4646 ), |
5236 ), |
4661 'sticky' => '', |
5251 'sticky' => '', |
4662 'inherit' => true, |
5252 'inherit' => true, |
4663 'taxQuery' => null, |
5253 'taxQuery' => null, |
4664 'parents' => array( |
5254 'parents' => array( |
4665 |
5255 |
5256 ), |
|
5257 'format' => array( |
|
5258 |
|
4666 ) |
5259 ) |
4667 ) |
5260 ) |
4668 ), |
5261 ), |
4669 'tagName' => array( |
5262 'tagName' => array( |
4670 'type' => 'string', |
5263 'type' => 'string', |
4675 ), |
5268 ), |
4676 'enhancedPagination' => array( |
5269 'enhancedPagination' => array( |
4677 'type' => 'boolean', |
5270 'type' => 'boolean', |
4678 'default' => false |
5271 'default' => false |
4679 ) |
5272 ) |
5273 ), |
|
5274 'usesContext' => array( |
|
5275 'templateSlug' |
|
4680 ), |
5276 ), |
4681 'providesContext' => array( |
5277 'providesContext' => array( |
4682 'queryId' => 'queryId', |
5278 'queryId' => 'queryId', |
4683 'query' => 'query', |
5279 'query' => 'query', |
4684 'displayLayout' => 'displayLayout', |
5280 'displayLayout' => 'displayLayout', |
4697 ), |
5293 ), |
4698 'query-no-results' => array( |
5294 'query-no-results' => array( |
4699 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
5295 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
4700 'apiVersion' => 3, |
5296 'apiVersion' => 3, |
4701 'name' => 'core/query-no-results', |
5297 'name' => 'core/query-no-results', |
4702 'title' => 'No results', |
5298 'title' => 'No Results', |
4703 'category' => 'theme', |
5299 'category' => 'theme', |
4704 'description' => 'Contains the block elements used to render content when no query results are found.', |
5300 'description' => 'Contains the block elements used to render content when no query results are found.', |
4705 'parent' => array( |
5301 'ancestor' => array( |
4706 'core/query' |
5302 'core/query' |
4707 ), |
5303 ), |
4708 'textdomain' => 'default', |
5304 'textdomain' => 'default', |
4709 'usesContext' => array( |
5305 'usesContext' => array( |
4710 'queryId', |
5306 'queryId', |
4980 ), |
5576 ), |
4981 'level' => array( |
5577 'level' => array( |
4982 'type' => 'number', |
5578 'type' => 'number', |
4983 'default' => 1 |
5579 'default' => 1 |
4984 ), |
5580 ), |
5581 'levelOptions' => array( |
|
5582 'type' => 'array' |
|
5583 ), |
|
4985 'showPrefix' => array( |
5584 'showPrefix' => array( |
4986 'type' => 'boolean', |
5585 'type' => 'boolean', |
4987 'default' => true |
5586 'default' => true |
4988 ), |
5587 ), |
4989 'showSearchTerm' => array( |
5588 'showSearchTerm' => array( |
4990 'type' => 'boolean', |
5589 'type' => 'boolean', |
4991 'default' => true |
5590 'default' => true |
5591 ) |
|
5592 ), |
|
5593 'example' => array( |
|
5594 'attributes' => array( |
|
5595 'type' => 'search' |
|
4992 ) |
5596 ) |
4993 ), |
5597 ), |
4994 'supports' => array( |
5598 'supports' => array( |
4995 'align' => array( |
5599 'align' => array( |
4996 'wide', |
5600 'wide', |
5021 'fontSize' => true |
5625 'fontSize' => true |
5022 ) |
5626 ) |
5023 ), |
5627 ), |
5024 'interactivity' => array( |
5628 'interactivity' => array( |
5025 'clientNavigation' => true |
5629 'clientNavigation' => true |
5630 ), |
|
5631 '__experimentalBorder' => array( |
|
5632 'radius' => true, |
|
5633 'color' => true, |
|
5634 'width' => true, |
|
5635 'style' => true, |
|
5636 '__experimentalDefaultControls' => array( |
|
5637 'radius' => true, |
|
5638 'color' => true, |
|
5639 'width' => true, |
|
5640 'style' => true |
|
5641 ) |
|
5026 ) |
5642 ) |
5027 ), |
5643 ), |
5028 'style' => 'wp-block-query-title' |
5644 'style' => 'wp-block-query-title' |
5645 ), |
|
5646 'query-total' => array( |
|
5647 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
|
5648 'apiVersion' => 3, |
|
5649 'name' => 'core/query-total', |
|
5650 'title' => 'Query Total', |
|
5651 'category' => 'theme', |
|
5652 'ancestor' => array( |
|
5653 'core/query' |
|
5654 ), |
|
5655 'description' => 'Display the total number of results in a query.', |
|
5656 'textdomain' => 'default', |
|
5657 'attributes' => array( |
|
5658 'displayType' => array( |
|
5659 'type' => 'string', |
|
5660 'default' => 'total-results' |
|
5661 ) |
|
5662 ), |
|
5663 'usesContext' => array( |
|
5664 'queryId', |
|
5665 'query' |
|
5666 ), |
|
5667 'supports' => array( |
|
5668 'align' => array( |
|
5669 'wide', |
|
5670 'full' |
|
5671 ), |
|
5672 'html' => false, |
|
5673 'spacing' => array( |
|
5674 'margin' => true, |
|
5675 'padding' => true |
|
5676 ), |
|
5677 'color' => array( |
|
5678 'gradients' => true, |
|
5679 '__experimentalDefaultControls' => array( |
|
5680 'background' => true, |
|
5681 'text' => true |
|
5682 ) |
|
5683 ), |
|
5684 'typography' => array( |
|
5685 'fontSize' => true, |
|
5686 'lineHeight' => true, |
|
5687 '__experimentalFontFamily' => true, |
|
5688 '__experimentalFontWeight' => true, |
|
5689 '__experimentalFontStyle' => true, |
|
5690 '__experimentalTextTransform' => true, |
|
5691 '__experimentalTextDecoration' => true, |
|
5692 '__experimentalLetterSpacing' => true, |
|
5693 '__experimentalDefaultControls' => array( |
|
5694 'fontSize' => true |
|
5695 ) |
|
5696 ), |
|
5697 '__experimentalBorder' => array( |
|
5698 'radius' => true, |
|
5699 'color' => true, |
|
5700 'width' => true, |
|
5701 'style' => true, |
|
5702 '__experimentalDefaultControls' => array( |
|
5703 'radius' => true, |
|
5704 'color' => true, |
|
5705 'width' => true, |
|
5706 'style' => true |
|
5707 ) |
|
5708 ), |
|
5709 'interactivity' => array( |
|
5710 'clientNavigation' => true |
|
5711 ) |
|
5712 ), |
|
5713 'style' => 'wp-block-query-total' |
|
5029 ), |
5714 ), |
5030 'quote' => array( |
5715 'quote' => array( |
5031 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
5716 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
5032 'apiVersion' => 3, |
5717 'apiVersion' => 3, |
5033 'name' => 'core/quote', |
5718 'name' => 'core/quote', |
5044 'type' => 'string', |
5729 'type' => 'string', |
5045 'source' => 'html', |
5730 'source' => 'html', |
5046 'selector' => 'blockquote', |
5731 'selector' => 'blockquote', |
5047 'multiline' => 'p', |
5732 'multiline' => 'p', |
5048 'default' => '', |
5733 'default' => '', |
5049 '__experimentalRole' => 'content' |
5734 'role' => 'content' |
5050 ), |
5735 ), |
5051 'citation' => array( |
5736 'citation' => array( |
5052 'type' => 'rich-text', |
5737 'type' => 'rich-text', |
5053 'source' => 'rich-text', |
5738 'source' => 'rich-text', |
5054 'selector' => 'cite', |
5739 'selector' => 'cite', |
5055 '__experimentalRole' => 'content' |
5740 'role' => 'content' |
5056 ), |
5741 ), |
5057 'textAlign' => array( |
5742 'textAlign' => array( |
5058 'type' => 'string' |
5743 'type' => 'string' |
5059 ) |
5744 ) |
5060 ), |
5745 ), |
5061 'supports' => array( |
5746 'supports' => array( |
5062 'anchor' => true, |
5747 'anchor' => true, |
5748 'align' => array( |
|
5749 'left', |
|
5750 'right', |
|
5751 'wide', |
|
5752 'full' |
|
5753 ), |
|
5063 'html' => false, |
5754 'html' => false, |
5755 'background' => array( |
|
5756 'backgroundImage' => true, |
|
5757 'backgroundSize' => true, |
|
5758 '__experimentalDefaultControls' => array( |
|
5759 'backgroundImage' => true |
|
5760 ) |
|
5761 ), |
|
5762 '__experimentalBorder' => array( |
|
5763 'color' => true, |
|
5764 'radius' => true, |
|
5765 'style' => true, |
|
5766 'width' => true, |
|
5767 '__experimentalDefaultControls' => array( |
|
5768 'color' => true, |
|
5769 'radius' => true, |
|
5770 'style' => true, |
|
5771 'width' => true |
|
5772 ) |
|
5773 ), |
|
5774 'dimensions' => array( |
|
5775 'minHeight' => true, |
|
5776 '__experimentalDefaultControls' => array( |
|
5777 'minHeight' => false |
|
5778 ) |
|
5779 ), |
|
5064 '__experimentalOnEnter' => true, |
5780 '__experimentalOnEnter' => true, |
5065 '__experimentalOnMerge' => true, |
5781 '__experimentalOnMerge' => true, |
5066 'typography' => array( |
5782 'typography' => array( |
5067 'fontSize' => true, |
5783 'fontSize' => true, |
5068 'lineHeight' => true, |
5784 'lineHeight' => true, |
5087 ), |
5803 ), |
5088 'layout' => array( |
5804 'layout' => array( |
5089 'allowEditing' => false |
5805 'allowEditing' => false |
5090 ), |
5806 ), |
5091 'spacing' => array( |
5807 'spacing' => array( |
5092 'blockGap' => true |
5808 'blockGap' => true, |
5809 'padding' => true, |
|
5810 'margin' => true |
|
5093 ), |
5811 ), |
5094 'interactivity' => array( |
5812 'interactivity' => array( |
5095 'clientNavigation' => true |
5813 'clientNavigation' => true |
5096 ) |
5814 ) |
5097 ), |
5815 ), |
5222 'supports' => array( |
5940 'supports' => array( |
5223 'align' => true, |
5941 'align' => true, |
5224 'html' => false, |
5942 'html' => false, |
5225 'interactivity' => array( |
5943 'interactivity' => array( |
5226 'clientNavigation' => true |
5944 'clientNavigation' => true |
5945 ), |
|
5946 '__experimentalBorder' => array( |
|
5947 'radius' => true, |
|
5948 'color' => true, |
|
5949 'width' => true, |
|
5950 'style' => true |
|
5951 ), |
|
5952 'spacing' => array( |
|
5953 'margin' => true, |
|
5954 'padding' => true, |
|
5955 '__experimentalDefaultControls' => array( |
|
5956 'padding' => false, |
|
5957 'margin' => false |
|
5958 ) |
|
5959 ), |
|
5960 'color' => array( |
|
5961 'background' => true, |
|
5962 'text' => true, |
|
5963 'gradients' => true, |
|
5964 'link' => true |
|
5227 ) |
5965 ) |
5228 ), |
5966 ), |
5229 'editorStyle' => 'wp-block-rss-editor', |
5967 'editorStyle' => 'wp-block-rss-editor', |
5230 'style' => 'wp-block-rss' |
5968 'style' => 'wp-block-rss' |
5231 ), |
5969 ), |
5241 ), |
5979 ), |
5242 'textdomain' => 'default', |
5980 'textdomain' => 'default', |
5243 'attributes' => array( |
5981 'attributes' => array( |
5244 'label' => array( |
5982 'label' => array( |
5245 'type' => 'string', |
5983 'type' => 'string', |
5246 '__experimentalRole' => 'content' |
5984 'role' => 'content' |
5247 ), |
5985 ), |
5248 'showLabel' => array( |
5986 'showLabel' => array( |
5249 'type' => 'boolean', |
5987 'type' => 'boolean', |
5250 'default' => true |
5988 'default' => true |
5251 ), |
5989 ), |
5252 'placeholder' => array( |
5990 'placeholder' => array( |
5253 'type' => 'string', |
5991 'type' => 'string', |
5254 'default' => '', |
5992 'default' => '', |
5255 '__experimentalRole' => 'content' |
5993 'role' => 'content' |
5256 ), |
5994 ), |
5257 'width' => array( |
5995 'width' => array( |
5258 'type' => 'number' |
5996 'type' => 'number' |
5259 ), |
5997 ), |
5260 'widthUnit' => array( |
5998 'widthUnit' => array( |
5261 'type' => 'string' |
5999 'type' => 'string' |
5262 ), |
6000 ), |
5263 'buttonText' => array( |
6001 'buttonText' => array( |
5264 'type' => 'string', |
6002 'type' => 'string', |
5265 '__experimentalRole' => 'content' |
6003 'role' => 'content' |
5266 ), |
6004 ), |
5267 'buttonPosition' => array( |
6005 'buttonPosition' => array( |
5268 'type' => 'string', |
6006 'type' => 'string', |
5269 'default' => 'button-outside' |
6007 'default' => 'button-outside' |
5270 ), |
6008 ), |
5322 'color' => true, |
6060 'color' => true, |
5323 'radius' => true, |
6061 'radius' => true, |
5324 'width' => true |
6062 'width' => true |
5325 ) |
6063 ) |
5326 ), |
6064 ), |
6065 'spacing' => array( |
|
6066 'margin' => true |
|
6067 ), |
|
5327 'html' => false |
6068 'html' => false |
5328 ), |
6069 ), |
5329 'editorStyle' => 'wp-block-search-editor', |
6070 'editorStyle' => 'wp-block-search-editor', |
5330 'style' => 'wp-block-search' |
6071 'style' => 'wp-block-search' |
5331 ), |
6072 ), |
5344 'textdomain' => 'default', |
6085 'textdomain' => 'default', |
5345 'attributes' => array( |
6086 'attributes' => array( |
5346 'opacity' => array( |
6087 'opacity' => array( |
5347 'type' => 'string', |
6088 'type' => 'string', |
5348 'default' => 'alpha-channel' |
6089 'default' => 'alpha-channel' |
6090 ), |
|
6091 'tagName' => array( |
|
6092 'type' => 'string', |
|
6093 'enum' => array( |
|
6094 'hr', |
|
6095 'div' |
|
6096 ), |
|
6097 'default' => 'hr' |
|
5349 ) |
6098 ) |
5350 ), |
6099 ), |
5351 'supports' => array( |
6100 'supports' => array( |
5352 'anchor' => true, |
6101 'anchor' => true, |
5353 'align' => array( |
6102 'align' => array( |
5426 'width' => array( |
6175 'width' => array( |
5427 'type' => 'number' |
6176 'type' => 'number' |
5428 ), |
6177 ), |
5429 'isLink' => array( |
6178 'isLink' => array( |
5430 'type' => 'boolean', |
6179 'type' => 'boolean', |
5431 'default' => true |
6180 'default' => true, |
6181 'role' => 'content' |
|
5432 ), |
6182 ), |
5433 'linkTarget' => array( |
6183 'linkTarget' => array( |
5434 'type' => 'string', |
6184 'type' => 'string', |
5435 'default' => '_self' |
6185 'default' => '_self', |
6186 'role' => 'content' |
|
5436 ), |
6187 ), |
5437 'shouldSyncIcon' => array( |
6188 'shouldSyncIcon' => array( |
5438 'type' => 'boolean' |
6189 'type' => 'boolean' |
5439 ) |
6190 ) |
5440 ), |
6191 ), |
5496 'type' => 'string' |
6247 'type' => 'string' |
5497 ), |
6248 ), |
5498 'level' => array( |
6249 'level' => array( |
5499 'type' => 'number', |
6250 'type' => 'number', |
5500 'default' => 0 |
6251 'default' => 0 |
6252 ), |
|
6253 'levelOptions' => array( |
|
6254 'type' => 'array', |
|
6255 'default' => array( |
|
6256 0, |
|
6257 1, |
|
6258 2, |
|
6259 3, |
|
6260 4, |
|
6261 5, |
|
6262 6 |
|
6263 ) |
|
5501 ) |
6264 ) |
5502 ), |
6265 ), |
5503 'example' => array( |
6266 'example' => array( |
5504 |
6267 'viewportWidth' => 350, |
6268 'attributes' => array( |
|
6269 'textAlign' => 'center' |
|
6270 ) |
|
5505 ), |
6271 ), |
5506 'supports' => array( |
6272 'supports' => array( |
5507 'align' => array( |
6273 'align' => array( |
5508 'wide', |
6274 'wide', |
5509 'full' |
6275 'full' |
5531 '__experimentalTextTransform' => true, |
6297 '__experimentalTextTransform' => true, |
5532 '__experimentalTextDecoration' => true, |
6298 '__experimentalTextDecoration' => true, |
5533 '__experimentalFontStyle' => true, |
6299 '__experimentalFontStyle' => true, |
5534 '__experimentalFontWeight' => true, |
6300 '__experimentalFontWeight' => true, |
5535 '__experimentalLetterSpacing' => true, |
6301 '__experimentalLetterSpacing' => true, |
6302 '__experimentalWritingMode' => true, |
|
5536 '__experimentalDefaultControls' => array( |
6303 '__experimentalDefaultControls' => array( |
5537 'fontSize' => true |
6304 'fontSize' => true |
5538 ) |
6305 ) |
5539 ), |
6306 ), |
5540 'interactivity' => array( |
6307 'interactivity' => array( |
5541 'clientNavigation' => true |
6308 'clientNavigation' => true |
5542 ) |
6309 ), |
5543 ), |
6310 '__experimentalBorder' => array( |
5544 'editorStyle' => 'wp-block-site-tagline-editor' |
6311 'radius' => true, |
6312 'color' => true, |
|
6313 'width' => true, |
|
6314 'style' => true |
|
6315 ) |
|
6316 ), |
|
6317 'editorStyle' => 'wp-block-site-tagline-editor', |
|
6318 'style' => 'wp-block-site-tagline' |
|
5545 ), |
6319 ), |
5546 'site-title' => array( |
6320 'site-title' => array( |
5547 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
6321 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
5548 'apiVersion' => 3, |
6322 'apiVersion' => 3, |
5549 'name' => 'core/site-title', |
6323 'name' => 'core/site-title', |
5554 'attributes' => array( |
6328 'attributes' => array( |
5555 'level' => array( |
6329 'level' => array( |
5556 'type' => 'number', |
6330 'type' => 'number', |
5557 'default' => 1 |
6331 'default' => 1 |
5558 ), |
6332 ), |
6333 'levelOptions' => array( |
|
6334 'type' => 'array', |
|
6335 'default' => array( |
|
6336 0, |
|
6337 1, |
|
6338 2, |
|
6339 3, |
|
6340 4, |
|
6341 5, |
|
6342 6 |
|
6343 ) |
|
6344 ), |
|
5559 'textAlign' => array( |
6345 'textAlign' => array( |
5560 'type' => 'string' |
6346 'type' => 'string' |
5561 ), |
6347 ), |
5562 'isLink' => array( |
6348 'isLink' => array( |
5563 'type' => 'boolean', |
6349 'type' => 'boolean', |
5564 'default' => true |
6350 'default' => true, |
6351 'role' => 'content' |
|
5565 ), |
6352 ), |
5566 'linkTarget' => array( |
6353 'linkTarget' => array( |
5567 'type' => 'string', |
6354 'type' => 'string', |
5568 'default' => '_self' |
6355 'default' => '_self', |
6356 'role' => 'content' |
|
5569 ) |
6357 ) |
5570 ), |
6358 ), |
5571 'example' => array( |
6359 'example' => array( |
5572 'viewportWidth' => 500 |
6360 'viewportWidth' => 500 |
5573 ), |
6361 ), |
5601 '__experimentalTextTransform' => true, |
6389 '__experimentalTextTransform' => true, |
5602 '__experimentalTextDecoration' => true, |
6390 '__experimentalTextDecoration' => true, |
5603 '__experimentalFontStyle' => true, |
6391 '__experimentalFontStyle' => true, |
5604 '__experimentalFontWeight' => true, |
6392 '__experimentalFontWeight' => true, |
5605 '__experimentalLetterSpacing' => true, |
6393 '__experimentalLetterSpacing' => true, |
6394 '__experimentalWritingMode' => true, |
|
5606 '__experimentalDefaultControls' => array( |
6395 '__experimentalDefaultControls' => array( |
5607 'fontSize' => true |
6396 'fontSize' => true |
5608 ) |
6397 ) |
5609 ), |
6398 ), |
5610 'interactivity' => array( |
6399 'interactivity' => array( |
5611 'clientNavigation' => true |
6400 'clientNavigation' => true |
6401 ), |
|
6402 '__experimentalBorder' => array( |
|
6403 'radius' => true, |
|
6404 'color' => true, |
|
6405 'width' => true, |
|
6406 'style' => true |
|
5612 ) |
6407 ) |
5613 ), |
6408 ), |
5614 'editorStyle' => 'wp-block-site-title-editor', |
6409 'editorStyle' => 'wp-block-site-title-editor', |
5615 'style' => 'wp-block-site-title' |
6410 'style' => 'wp-block-site-title' |
5616 ), |
6411 ), |
5625 ), |
6420 ), |
5626 'description' => 'Display an icon linking to a social profile or site.', |
6421 'description' => 'Display an icon linking to a social profile or site.', |
5627 'textdomain' => 'default', |
6422 'textdomain' => 'default', |
5628 'attributes' => array( |
6423 'attributes' => array( |
5629 'url' => array( |
6424 'url' => array( |
5630 'type' => 'string' |
6425 'type' => 'string', |
6426 'role' => 'content' |
|
5631 ), |
6427 ), |
5632 'service' => array( |
6428 'service' => array( |
5633 'type' => 'string' |
6429 'type' => 'string' |
5634 ), |
6430 ), |
5635 'label' => array( |
6431 'label' => array( |
5636 'type' => 'string' |
6432 'type' => 'string', |
6433 'role' => 'content' |
|
5637 ), |
6434 ), |
5638 'rel' => array( |
6435 'rel' => array( |
5639 'type' => 'string' |
6436 'type' => 'string' |
5640 ) |
6437 ) |
5641 ), |
6438 ), |
5754 'padding' => false |
6551 'padding' => false |
5755 ) |
6552 ) |
5756 ), |
6553 ), |
5757 'interactivity' => array( |
6554 'interactivity' => array( |
5758 'clientNavigation' => true |
6555 'clientNavigation' => true |
6556 ), |
|
6557 '__experimentalBorder' => array( |
|
6558 'radius' => true, |
|
6559 'color' => true, |
|
6560 'width' => true, |
|
6561 'style' => true, |
|
6562 '__experimentalDefaultControls' => array( |
|
6563 'radius' => true, |
|
6564 'color' => true, |
|
6565 'width' => true, |
|
6566 'style' => true |
|
6567 ) |
|
5759 ) |
6568 ) |
5760 ), |
6569 ), |
5761 'styles' => array( |
6570 'styles' => array( |
5762 array( |
6571 array( |
5763 'name' => 'default', |
6572 'name' => 'default', |
6021 'color' => true, |
6830 'color' => true, |
6022 'style' => true, |
6831 'style' => true, |
6023 'width' => true |
6832 'width' => true |
6024 ) |
6833 ) |
6025 ), |
6834 ), |
6026 '__experimentalSelector' => '.wp-block-table > table', |
6835 'interactivity' => array( |
6027 'interactivity' => array( |
6836 'clientNavigation' => true |
6028 'clientNavigation' => true |
6837 ) |
6029 ) |
6838 ), |
6839 'selectors' => array( |
|
6840 'root' => '.wp-block-table > table', |
|
6841 'spacing' => '.wp-block-table' |
|
6030 ), |
6842 ), |
6031 'styles' => array( |
6843 'styles' => array( |
6032 array( |
6844 array( |
6033 'name' => 'regular', |
6845 'name' => 'regular', |
6034 'label' => 'Default', |
6846 'label' => 'Default', |
6046 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
6858 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
6047 'apiVersion' => 3, |
6859 'apiVersion' => 3, |
6048 'name' => 'core/tag-cloud', |
6860 'name' => 'core/tag-cloud', |
6049 'title' => 'Tag Cloud', |
6861 'title' => 'Tag Cloud', |
6050 'category' => 'widgets', |
6862 'category' => 'widgets', |
6051 'description' => 'A cloud of your most used tags.', |
6863 'description' => 'A cloud of popular keywords, each sized by how often it appears.', |
6052 'textdomain' => 'default', |
6864 'textdomain' => 'default', |
6053 'attributes' => array( |
6865 'attributes' => array( |
6054 'numberOfTags' => array( |
6866 'numberOfTags' => array( |
6055 'type' => 'number', |
6867 'type' => 'number', |
6056 'default' => 45, |
6868 'default' => 45, |
6100 '__experimentalTextTransform' => true, |
6912 '__experimentalTextTransform' => true, |
6101 '__experimentalLetterSpacing' => true |
6913 '__experimentalLetterSpacing' => true |
6102 ), |
6914 ), |
6103 'interactivity' => array( |
6915 'interactivity' => array( |
6104 'clientNavigation' => true |
6916 'clientNavigation' => true |
6917 ), |
|
6918 '__experimentalBorder' => array( |
|
6919 'radius' => true, |
|
6920 'color' => true, |
|
6921 'width' => true, |
|
6922 'style' => true, |
|
6923 '__experimentalDefaultControls' => array( |
|
6924 'radius' => true, |
|
6925 'color' => true, |
|
6926 'width' => true, |
|
6927 'style' => true |
|
6928 ) |
|
6105 ) |
6929 ) |
6106 ), |
6930 ), |
6107 'editorStyle' => 'wp-block-tag-cloud-editor' |
6931 'editorStyle' => 'wp-block-tag-cloud-editor' |
6108 ), |
6932 ), |
6109 'template-part' => array( |
6933 'template-part' => array( |
6182 'fontSize' => true |
7006 'fontSize' => true |
6183 ) |
7007 ) |
6184 ), |
7008 ), |
6185 'interactivity' => array( |
7009 'interactivity' => array( |
6186 'clientNavigation' => true |
7010 'clientNavigation' => true |
7011 ), |
|
7012 '__experimentalBorder' => array( |
|
7013 'radius' => true, |
|
7014 'color' => true, |
|
7015 'width' => true, |
|
7016 'style' => true, |
|
7017 '__experimentalDefaultControls' => array( |
|
7018 'radius' => true, |
|
7019 'color' => true, |
|
7020 'width' => true, |
|
7021 'style' => true |
|
7022 ) |
|
6187 ) |
7023 ) |
6188 ) |
7024 ) |
6189 ), |
7025 ), |
6190 'text-columns' => array( |
7026 'text-columns' => array( |
6191 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
7027 '$schema' => 'https://schemas.wp.org/trunk/block.json', |
6249 'content' => array( |
7085 'content' => array( |
6250 'type' => 'rich-text', |
7086 'type' => 'rich-text', |
6251 'source' => 'rich-text', |
7087 'source' => 'rich-text', |
6252 'selector' => 'pre', |
7088 'selector' => 'pre', |
6253 '__unstablePreserveWhiteSpace' => true, |
7089 '__unstablePreserveWhiteSpace' => true, |
6254 '__experimentalRole' => 'content' |
7090 'role' => 'content' |
6255 ), |
7091 ), |
6256 'textAlign' => array( |
7092 'textAlign' => array( |
6257 'type' => 'string' |
7093 'type' => 'string' |
6258 ) |
7094 ) |
6259 ), |
7095 ), |
6260 'supports' => array( |
7096 'supports' => array( |
6261 'anchor' => true, |
7097 'anchor' => true, |
7098 'background' => array( |
|
7099 'backgroundImage' => true, |
|
7100 'backgroundSize' => true, |
|
7101 '__experimentalDefaultControls' => array( |
|
7102 'backgroundImage' => true |
|
7103 ) |
|
7104 ), |
|
6262 'color' => array( |
7105 'color' => array( |
6263 'gradients' => true, |
7106 'gradients' => true, |
6264 'link' => true, |
7107 'link' => true, |
6265 '__experimentalDefaultControls' => array( |
7108 '__experimentalDefaultControls' => array( |
6266 'background' => true, |
7109 'background' => true, |
6267 'text' => true |
7110 'text' => true |
7111 ) |
|
7112 ), |
|
7113 'dimensions' => array( |
|
7114 'minHeight' => true, |
|
7115 '__experimentalDefaultControls' => array( |
|
7116 'minHeight' => false |
|
6268 ) |
7117 ) |
6269 ), |
7118 ), |
6270 'typography' => array( |
7119 'typography' => array( |
6271 'fontSize' => true, |
7120 'fontSize' => true, |
6272 '__experimentalFontFamily' => true, |
7121 '__experimentalFontFamily' => true, |
6274 '__experimentalFontStyle' => true, |
7123 '__experimentalFontStyle' => true, |
6275 '__experimentalFontWeight' => true, |
7124 '__experimentalFontWeight' => true, |
6276 '__experimentalLetterSpacing' => true, |
7125 '__experimentalLetterSpacing' => true, |
6277 '__experimentalTextTransform' => true, |
7126 '__experimentalTextTransform' => true, |
6278 '__experimentalTextDecoration' => true, |
7127 '__experimentalTextDecoration' => true, |
7128 '__experimentalWritingMode' => true, |
|
6279 '__experimentalDefaultControls' => array( |
7129 '__experimentalDefaultControls' => array( |
6280 'fontSize' => true |
7130 'fontSize' => true |
6281 ) |
7131 ) |
6282 ), |
7132 ), |
6283 'spacing' => array( |
7133 'spacing' => array( |
6321 ), |
7171 ), |
6322 'caption' => array( |
7172 'caption' => array( |
6323 'type' => 'rich-text', |
7173 'type' => 'rich-text', |
6324 'source' => 'rich-text', |
7174 'source' => 'rich-text', |
6325 'selector' => 'figcaption', |
7175 'selector' => 'figcaption', |
6326 '__experimentalRole' => 'content' |
7176 'role' => 'content' |
6327 ), |
7177 ), |
6328 'controls' => array( |
7178 'controls' => array( |
6329 'type' => 'boolean', |
7179 'type' => 'boolean', |
6330 'source' => 'attribute', |
7180 'source' => 'attribute', |
6331 'selector' => 'video', |
7181 'selector' => 'video', |
6332 'attribute' => 'controls', |
7182 'attribute' => 'controls', |
6333 'default' => true |
7183 'default' => true |
6334 ), |
7184 ), |
6335 'id' => array( |
7185 'id' => array( |
6336 'type' => 'number', |
7186 'type' => 'number', |
6337 '__experimentalRole' => 'content' |
7187 'role' => 'content' |
6338 ), |
7188 ), |
6339 'loop' => array( |
7189 'loop' => array( |
6340 'type' => 'boolean', |
7190 'type' => 'boolean', |
6341 'source' => 'attribute', |
7191 'source' => 'attribute', |
6342 'selector' => 'video', |
7192 'selector' => 'video', |
6359 'source' => 'attribute', |
7209 'source' => 'attribute', |
6360 'selector' => 'video', |
7210 'selector' => 'video', |
6361 'attribute' => 'preload', |
7211 'attribute' => 'preload', |
6362 'default' => 'metadata' |
7212 'default' => 'metadata' |
6363 ), |
7213 ), |
7214 'blob' => array( |
|
7215 'type' => 'string', |
|
7216 'role' => 'local' |
|
7217 ), |
|
6364 'src' => array( |
7218 'src' => array( |
6365 'type' => 'string', |
7219 'type' => 'string', |
6366 'source' => 'attribute', |
7220 'source' => 'attribute', |
6367 'selector' => 'video', |
7221 'selector' => 'video', |
6368 'attribute' => 'src', |
7222 'attribute' => 'src', |
6369 '__experimentalRole' => 'content' |
7223 'role' => 'content' |
6370 ), |
7224 ), |
6371 'playsInline' => array( |
7225 'playsInline' => array( |
6372 'type' => 'boolean', |
7226 'type' => 'boolean', |
6373 'source' => 'attribute', |
7227 'source' => 'attribute', |
6374 'selector' => 'video', |
7228 'selector' => 'video', |
6375 'attribute' => 'playsinline' |
7229 'attribute' => 'playsinline' |
6376 ), |
7230 ), |
6377 'tracks' => array( |
7231 'tracks' => array( |
6378 '__experimentalRole' => 'content', |
7232 'role' => 'content', |
6379 'type' => 'array', |
7233 'type' => 'array', |
6380 'items' => array( |
7234 'items' => array( |
6381 'type' => 'object' |
7235 'type' => 'object' |
6382 ), |
7236 ), |
6383 'default' => array( |
7237 'default' => array( |