build/scripts/block-library
accordion
6 months ago
accordion-heading
9 months ago
accordion-item
4 months ago
accordion-panel
7 months ago
archives
7 months ago
audio
10 months ago
avatar
7 months ago
block
7 months ago
breadcrumbs
7 months ago
button
6 months ago
buttons
7 months ago
calendar
7 months ago
categories
7 months ago
code
10 months ago
column
10 months ago
columns
10 months ago
comment-author-avatar
10 months ago
comment-author-name
7 months ago
comment-content
7 months ago
comment-date
7 months ago
comment-edit-link
7 months ago
comment-reply-link
7 months ago
comment-template
7 months ago
comments
7 months ago
comments-pagination
7 months ago
comments-pagination-next
7 months ago
comments-pagination-numbers
7 months ago
comments-pagination-previous
7 months ago
comments-title
7 months ago
cover
10 months ago
details
10 months ago
embed
7 months ago
file
10 months ago
footnotes
7 months ago
form
4 months ago
form-input
4 months ago
form-submission-notification
4 months ago
form-submit-button
4 months ago
freeform
7 months ago
gallery
6 months ago
group
4 months ago
heading
7 months ago
home-link
7 months ago
html
5 months ago
icon
5 months ago
image
6 months ago
latest-comments
7 months ago
latest-posts
7 months ago
list
7 months ago
list-item
5 months ago
loginout
7 months ago
math
7 months ago
media-text
10 months ago
missing
7 months ago
more
7 months ago
navigation
6 months ago
navigation-link
5 months ago
navigation-overlay-close
6 months ago
navigation-submenu
6 months ago
nextpage
5 months ago
page-list
6 months ago
page-list-item
6 months ago
paragraph
6 months ago
pattern
9 months ago
playlist
6 months ago
playlist-track
6 months ago
post-author
6 months ago
post-author-biography
6 months ago
post-author-name
6 months ago
post-comment
10 months ago
post-comments-count
6 months ago
post-comments-form
6 months ago
post-comments-link
6 months ago
post-content
7 months ago
post-date
5 months ago
post-excerpt
5 months ago
post-featured-image
7 months ago
post-navigation-link
6 months ago
post-template
7 months ago
post-terms
6 months ago
post-time-to-read
6 months ago
post-title
6 months ago
preformatted
10 months ago
pullquote
4 months ago
query
6 months ago
query-no-results
7 months ago
query-pagination
7 months ago
query-pagination-next
7 months ago
query-pagination-numbers
7 months ago
query-pagination-previous
7 months ago
query-title
6 months ago
query-total
7 months ago
quote
10 months ago
read-more
7 months ago
rss
7 months ago
search
4 months ago
separator
10 months ago
shortcode
5 months ago
site-logo
7 months ago
site-tagline
6 months ago
site-title
6 months ago
social-link
7 months ago
social-links
7 months ago
spacer
10 months ago
tab
4 months ago
tab-list
4 months ago
tab-panel
4 months ago
tab-panels
4 months ago
table
10 months ago
table-of-contents
7 months ago
tabs
4 months ago
tag-cloud
7 months ago
template-part
10 months ago
term-count
7 months ago
term-description
6 months ago
term-name
7 months ago
term-template
7 months ago
terms-query
7 months ago
text-columns
10 months ago
verse
6 months ago
video
10 months ago
accordion-item.php
2.9 KB
5 months ago
accordion.php
1.2 KB
10 months ago
archives.php
4.4 KB
7 months ago
avatar.php
5.6 KB
7 months ago
block.php
4.1 KB
10 months ago
blocks-manifest.php
213.3 KB
4 months ago
breadcrumbs.php
19.0 KB
7 months ago
button.php
4.2 KB
6 months ago
calendar.php
6.1 KB
10 months ago
categories.php
4.9 KB
7 months ago
comment-author-avatar.php
2.5 KB
7 months ago
comment-author-name.php
2.1 KB
10 months ago
comment-content.php
2.4 KB
10 months ago
comment-date.php
1.9 KB
10 months ago
comment-edit-link.php
1.7 KB
10 months ago
comment-reply-link.php
2.1 KB
10 months ago
comment-template.php
4.5 KB
10 months ago
comments-pagination-next.php
1.9 KB
10 months ago
comments-pagination-numbers.php
1.6 KB
10 months ago
comments-pagination-previous.php
1.8 KB
10 months ago
comments-pagination.php
1.3 KB
10 months ago
comments-title.php
2.8 KB
7 months ago
comments.php
6.7 KB
10 months ago
cover.php
7.3 KB
5 months ago
details.php
1.5 KB
5 months ago
file.php
1.9 KB
10 months ago
footnotes.php
3.8 KB
7 months ago
form-input.php
1.2 KB
10 months ago
form-submission-notification.php
1.5 KB
10 months ago
form.php
5.8 KB
10 months ago
gallery.php
8.9 KB
6 months ago
heading.php
1.3 KB
10 months ago
home-link.php
4.9 KB
5 months ago
icon.php
4.0 KB
6 months ago
image.php
17.4 KB
4 months ago
index.js
2.6 MB
3 months ago
index.js.map
3.9 MB
3 months ago
index.min.asset.php
696 B
3 months ago
index.min.js
1.1 MB
3 months ago
index.min.js.map
4.0 MB
3 months ago
latest-comments.php
5.4 KB
7 months ago
latest-posts.php
8.7 KB
4 months ago
list.php
1.3 KB
10 months ago
loginout.php
2.1 KB
5 months ago
media-text.php
4.2 KB
6 months ago
navigation-link.php
15.3 KB
5 months ago
navigation-overlay-close.php
1.8 KB
6 months ago
navigation-submenu.php
11.0 KB
5 months ago
navigation.php
63.6 KB
3 months ago
page-list-item.php
385 B
10 months ago
page-list.php
14.3 KB
5 months ago
paragraph.php
1.2 KB
7 months ago
pattern.php
1.8 KB
10 months ago
playlist-track.php
2.1 KB
6 months ago
playlist.php
4.6 KB
6 months ago
post-author-biography.php
1.5 KB
10 months ago
post-author-name.php
1.9 KB
10 months ago
post-author.php
2.7 KB
10 months ago
post-comment.php
429 B
10 months ago
post-comments-count.php
1.3 KB
10 months ago
post-comments-form.php
2.8 KB
10 months ago
post-comments-link.php
2.2 KB
10 months ago
post-content.php
2.3 KB
10 months ago
post-date.php
3.6 KB
7 months ago
post-excerpt.php
4.3 KB
7 months ago
post-featured-image.php
9.1 KB
6 months ago
post-navigation-link.php
4.7 KB
7 months ago
post-template.php
5.9 KB
4 months ago
post-terms.php
3.6 KB
10 months ago
post-time-to-read.php
6.3 KB
7 months ago
post-title.php
2.1 KB
7 months ago
query-no-results.php
1.8 KB
10 months ago
query-pagination-next.php
3.6 KB
6 months ago
query-pagination-numbers.php
4.6 KB
6 months ago
query-pagination-previous.php
3.4 KB
6 months ago
query-pagination.php
1.2 KB
10 months ago
query-title.php
2.7 KB
6 months ago
query-total.php
2.5 KB
6 months ago
query.php
5.6 KB
10 months ago
read-more.php
1.8 KB
10 months ago
rss.php
4.5 KB
10 months ago
search.php
24.1 KB
4 months ago
shortcode.php
779 B
10 months ago
site-logo.php
6.4 KB
10 months ago
site-tagline.php
1.2 KB
10 months ago
site-title.php
1.9 KB
10 months ago
social-link.php
66.2 KB
7 months ago
tab-list.php
2.1 KB
4 months ago
tab-panel.php
2.1 KB
4 months ago
tab.php
2.1 KB
4 months ago
table-of-contents.php
1.2 KB
10 months ago
tabs.php
4.6 KB
4 months ago
tag-cloud.php
1.6 KB
10 months ago
template-part.php
10.3 KB
6 months ago
term-count.php
1.8 KB
10 months ago
term-description.php
1.8 KB
10 months ago
term-name.php
2.0 KB
7 months ago
term-template.php
4.5 KB
7 months ago
video.php
2.7 KB
10 months ago
blocks-manifest.php in Gutenberg 23.2.0, at build/scripts/block-library/blocks-manifest.php
| 1 | <?php |
| 2 | // This file is generated. Do not modify it manually. |
| 3 | return array( |
| 4 | 'accordion' => array( |
| 5 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6 | 'apiVersion' => 3, |
| 7 | 'name' => 'core/accordion', |
| 8 | 'title' => 'Accordion', |
| 9 | 'category' => 'design', |
| 10 | 'description' => 'Displays a foldable layout that groups content in collapsible sections.', |
| 11 | 'example' => array( |
| 12 | |
| 13 | ), |
| 14 | 'supports' => array( |
| 15 | 'anchor' => true, |
| 16 | 'html' => false, |
| 17 | 'align' => array( |
| 18 | 'wide', |
| 19 | 'full' |
| 20 | ), |
| 21 | 'background' => array( |
| 22 | 'backgroundImage' => true, |
| 23 | 'backgroundSize' => true, |
| 24 | '__experimentalDefaultControls' => array( |
| 25 | 'backgroundImage' => true |
| 26 | ) |
| 27 | ), |
| 28 | 'color' => array( |
| 29 | 'background' => true, |
| 30 | 'gradients' => true |
| 31 | ), |
| 32 | '__experimentalBorder' => array( |
| 33 | 'color' => true, |
| 34 | 'radius' => true, |
| 35 | 'style' => true, |
| 36 | 'width' => true, |
| 37 | '__experimentalDefaultControls' => array( |
| 38 | 'color' => true, |
| 39 | 'radius' => true, |
| 40 | 'style' => true, |
| 41 | 'width' => true |
| 42 | ) |
| 43 | ), |
| 44 | 'spacing' => array( |
| 45 | 'padding' => true, |
| 46 | 'margin' => array( |
| 47 | 'top', |
| 48 | 'bottom' |
| 49 | ), |
| 50 | 'blockGap' => true |
| 51 | ), |
| 52 | 'shadow' => true, |
| 53 | 'layout' => true, |
| 54 | 'ariaLabel' => true, |
| 55 | 'interactivity' => true, |
| 56 | 'typography' => array( |
| 57 | 'fontSize' => true, |
| 58 | 'lineHeight' => true, |
| 59 | '__experimentalFontFamily' => true, |
| 60 | '__experimentalFontWeight' => true, |
| 61 | '__experimentalFontStyle' => true, |
| 62 | '__experimentalTextTransform' => true, |
| 63 | '__experimentalTextDecoration' => true, |
| 64 | '__experimentalLetterSpacing' => true, |
| 65 | '__experimentalDefaultControls' => array( |
| 66 | 'fontSize' => true |
| 67 | ) |
| 68 | ), |
| 69 | 'contentRole' => true, |
| 70 | 'listView' => true |
| 71 | ), |
| 72 | 'attributes' => array( |
| 73 | 'iconPosition' => array( |
| 74 | 'type' => 'string', |
| 75 | 'default' => 'right' |
| 76 | ), |
| 77 | 'showIcon' => array( |
| 78 | 'type' => 'boolean', |
| 79 | 'default' => true |
| 80 | ), |
| 81 | 'autoclose' => array( |
| 82 | 'type' => 'boolean', |
| 83 | 'default' => false |
| 84 | ), |
| 85 | 'headingLevel' => array( |
| 86 | 'type' => 'number', |
| 87 | 'default' => 3 |
| 88 | ), |
| 89 | 'levelOptions' => array( |
| 90 | 'type' => 'array' |
| 91 | ) |
| 92 | ), |
| 93 | 'providesContext' => array( |
| 94 | 'core/accordion-icon-position' => 'iconPosition', |
| 95 | 'core/accordion-show-icon' => 'showIcon', |
| 96 | 'core/accordion-heading-level' => 'headingLevel' |
| 97 | ), |
| 98 | 'allowedBlocks' => array( |
| 99 | 'core/accordion-item' |
| 100 | ), |
| 101 | 'textdomain' => 'default', |
| 102 | 'viewScriptModule' => '@wordpress/block-library/accordion/view' |
| 103 | ), |
| 104 | 'accordion-heading' => array( |
| 105 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 106 | 'apiVersion' => 3, |
| 107 | 'name' => 'core/accordion-heading', |
| 108 | 'title' => 'Accordion Heading', |
| 109 | 'category' => 'design', |
| 110 | 'description' => 'Displays a heading that toggles the accordion panel.', |
| 111 | 'parent' => array( |
| 112 | 'core/accordion-item' |
| 113 | ), |
| 114 | 'usesContext' => array( |
| 115 | 'core/accordion-icon-position', |
| 116 | 'core/accordion-show-icon', |
| 117 | 'core/accordion-heading-level' |
| 118 | ), |
| 119 | 'supports' => array( |
| 120 | 'anchor' => true, |
| 121 | 'color' => array( |
| 122 | 'background' => true, |
| 123 | 'gradients' => true |
| 124 | ), |
| 125 | 'align' => false, |
| 126 | 'interactivity' => true, |
| 127 | 'spacing' => array( |
| 128 | 'padding' => true, |
| 129 | '__experimentalDefaultControls' => array( |
| 130 | 'padding' => true |
| 131 | ), |
| 132 | '__experimentalSkipSerialization' => true, |
| 133 | '__experimentalSelector' => '.wp-block-accordion-heading__toggle' |
| 134 | ), |
| 135 | '__experimentalBorder' => array( |
| 136 | 'color' => true, |
| 137 | 'radius' => true, |
| 138 | 'style' => true, |
| 139 | 'width' => true, |
| 140 | '__experimentalDefaultControls' => array( |
| 141 | 'color' => true, |
| 142 | 'radius' => true, |
| 143 | 'style' => true, |
| 144 | 'width' => true |
| 145 | ) |
| 146 | ), |
| 147 | 'typography' => array( |
| 148 | '__experimentalSkipSerialization' => array( |
| 149 | 'textDecoration', |
| 150 | 'letterSpacing' |
| 151 | ), |
| 152 | 'fontSize' => true, |
| 153 | '__experimentalFontFamily' => true, |
| 154 | '__experimentalFontWeight' => true, |
| 155 | '__experimentalFontStyle' => true, |
| 156 | '__experimentalTextTransform' => true, |
| 157 | '__experimentalTextDecoration' => true, |
| 158 | '__experimentalLetterSpacing' => true, |
| 159 | '__experimentalDefaultControls' => array( |
| 160 | 'fontSize' => true, |
| 161 | 'fontFamily' => true |
| 162 | ) |
| 163 | ), |
| 164 | 'shadow' => true, |
| 165 | 'visibility' => false, |
| 166 | 'lock' => false |
| 167 | ), |
| 168 | 'selectors' => array( |
| 169 | 'typography' => array( |
| 170 | 'letterSpacing' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title', |
| 171 | 'textDecoration' => '.wp-block-accordion-heading .wp-block-accordion-heading__toggle-title' |
| 172 | ) |
| 173 | ), |
| 174 | 'attributes' => array( |
| 175 | 'openByDefault' => array( |
| 176 | 'type' => 'boolean', |
| 177 | 'default' => false |
| 178 | ), |
| 179 | 'title' => array( |
| 180 | 'type' => 'rich-text', |
| 181 | 'source' => 'rich-text', |
| 182 | 'selector' => '.wp-block-accordion-heading__toggle-title', |
| 183 | 'role' => 'content' |
| 184 | ), |
| 185 | 'level' => array( |
| 186 | 'type' => 'number' |
| 187 | ), |
| 188 | 'iconPosition' => array( |
| 189 | 'type' => 'string', |
| 190 | 'enum' => array( |
| 191 | 'left', |
| 192 | 'right' |
| 193 | ), |
| 194 | 'default' => 'right' |
| 195 | ), |
| 196 | 'showIcon' => array( |
| 197 | 'type' => 'boolean', |
| 198 | 'default' => true |
| 199 | ) |
| 200 | ), |
| 201 | 'textdomain' => 'default' |
| 202 | ), |
| 203 | 'accordion-item' => array( |
| 204 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 205 | 'apiVersion' => 3, |
| 206 | 'name' => 'core/accordion-item', |
| 207 | 'title' => 'Accordion Item', |
| 208 | 'category' => 'design', |
| 209 | 'description' => 'Wraps the heading and panel in one unit.', |
| 210 | 'parent' => array( |
| 211 | 'core/accordion' |
| 212 | ), |
| 213 | 'allowedBlocks' => array( |
| 214 | 'core/accordion-heading', |
| 215 | 'core/accordion-panel' |
| 216 | ), |
| 217 | 'supports' => array( |
| 218 | 'html' => false, |
| 219 | 'color' => array( |
| 220 | 'background' => true, |
| 221 | 'gradients' => true |
| 222 | ), |
| 223 | 'interactivity' => true, |
| 224 | 'spacing' => array( |
| 225 | 'margin' => array( |
| 226 | 'top', |
| 227 | 'bottom' |
| 228 | ), |
| 229 | 'padding' => true, |
| 230 | 'blockGap' => true |
| 231 | ), |
| 232 | '__experimentalBorder' => array( |
| 233 | 'color' => true, |
| 234 | 'radius' => true, |
| 235 | 'style' => true, |
| 236 | 'width' => true, |
| 237 | '__experimentalDefaultControls' => array( |
| 238 | 'color' => true, |
| 239 | 'radius' => true, |
| 240 | 'style' => true, |
| 241 | 'width' => true |
| 242 | ) |
| 243 | ), |
| 244 | 'shadow' => true, |
| 245 | 'layout' => array( |
| 246 | 'allowEditing' => false |
| 247 | ), |
| 248 | 'typography' => array( |
| 249 | 'fontSize' => true, |
| 250 | 'lineHeight' => true, |
| 251 | '__experimentalFontFamily' => true, |
| 252 | '__experimentalFontWeight' => true, |
| 253 | '__experimentalFontStyle' => true, |
| 254 | '__experimentalTextTransform' => true, |
| 255 | '__experimentalTextDecoration' => true, |
| 256 | '__experimentalLetterSpacing' => true, |
| 257 | '__experimentalDefaultControls' => array( |
| 258 | 'fontSize' => true |
| 259 | ) |
| 260 | ), |
| 261 | 'contentRole' => true |
| 262 | ), |
| 263 | 'attributes' => array( |
| 264 | 'openByDefault' => array( |
| 265 | 'type' => 'boolean', |
| 266 | 'default' => false |
| 267 | ) |
| 268 | ), |
| 269 | 'providesContext' => array( |
| 270 | 'core/accordion-open-by-default' => 'openByDefault' |
| 271 | ), |
| 272 | 'textdomain' => 'default', |
| 273 | 'style' => 'wp-block-accordion-item' |
| 274 | ), |
| 275 | 'accordion-panel' => array( |
| 276 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 277 | 'apiVersion' => 3, |
| 278 | 'name' => 'core/accordion-panel', |
| 279 | 'title' => 'Accordion Panel', |
| 280 | 'category' => 'design', |
| 281 | 'description' => 'Contains the hidden or revealed content beneath the heading.', |
| 282 | 'parent' => array( |
| 283 | 'core/accordion-item' |
| 284 | ), |
| 285 | 'usesContext' => array( |
| 286 | 'core/accordion-open-by-default' |
| 287 | ), |
| 288 | 'supports' => array( |
| 289 | 'html' => false, |
| 290 | 'color' => array( |
| 291 | 'background' => true, |
| 292 | 'gradients' => true |
| 293 | ), |
| 294 | 'interactivity' => true, |
| 295 | 'spacing' => array( |
| 296 | 'padding' => true, |
| 297 | 'blockGap' => true, |
| 298 | '__experimentalDefaultControls' => array( |
| 299 | 'padding' => true, |
| 300 | 'blockGap' => true |
| 301 | ) |
| 302 | ), |
| 303 | '__experimentalBorder' => array( |
| 304 | 'color' => true, |
| 305 | 'radius' => true, |
| 306 | 'style' => true, |
| 307 | 'width' => true, |
| 308 | '__experimentalDefaultControls' => array( |
| 309 | 'color' => true, |
| 310 | 'radius' => true, |
| 311 | 'style' => true, |
| 312 | 'width' => true |
| 313 | ) |
| 314 | ), |
| 315 | 'typography' => array( |
| 316 | 'fontSize' => true, |
| 317 | 'lineHeight' => true, |
| 318 | '__experimentalFontFamily' => true, |
| 319 | '__experimentalFontWeight' => true, |
| 320 | '__experimentalFontStyle' => true, |
| 321 | '__experimentalTextTransform' => true, |
| 322 | '__experimentalTextDecoration' => true, |
| 323 | '__experimentalLetterSpacing' => true, |
| 324 | '__experimentalDefaultControls' => array( |
| 325 | 'fontSize' => true |
| 326 | ) |
| 327 | ), |
| 328 | 'shadow' => true, |
| 329 | 'layout' => array( |
| 330 | 'allowEditing' => false |
| 331 | ), |
| 332 | 'visibility' => false, |
| 333 | 'contentRole' => true, |
| 334 | 'allowedBlocks' => true, |
| 335 | 'lock' => false |
| 336 | ), |
| 337 | 'attributes' => array( |
| 338 | 'templateLock' => array( |
| 339 | 'type' => array( |
| 340 | 'string', |
| 341 | 'boolean' |
| 342 | ), |
| 343 | 'enum' => array( |
| 344 | 'all', |
| 345 | 'insert', |
| 346 | 'contentOnly', |
| 347 | false |
| 348 | ), |
| 349 | 'default' => false |
| 350 | ) |
| 351 | ), |
| 352 | 'textdomain' => 'default', |
| 353 | 'style' => 'wp-block-accordion-panel' |
| 354 | ), |
| 355 | 'archives' => array( |
| 356 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 357 | 'apiVersion' => 3, |
| 358 | 'name' => 'core/archives', |
| 359 | 'title' => 'Archives', |
| 360 | 'category' => 'widgets', |
| 361 | 'description' => 'Display a date archive of your posts.', |
| 362 | 'textdomain' => 'default', |
| 363 | 'attributes' => array( |
| 364 | 'displayAsDropdown' => array( |
| 365 | 'type' => 'boolean', |
| 366 | 'default' => false |
| 367 | ), |
| 368 | 'showLabel' => array( |
| 369 | 'type' => 'boolean', |
| 370 | 'default' => true |
| 371 | ), |
| 372 | 'showPostCounts' => array( |
| 373 | 'type' => 'boolean', |
| 374 | 'default' => false |
| 375 | ), |
| 376 | 'type' => array( |
| 377 | 'type' => 'string', |
| 378 | 'default' => 'monthly' |
| 379 | ) |
| 380 | ), |
| 381 | 'supports' => array( |
| 382 | 'anchor' => true, |
| 383 | 'align' => true, |
| 384 | '__experimentalBorder' => array( |
| 385 | 'radius' => true, |
| 386 | 'color' => true, |
| 387 | 'width' => true, |
| 388 | 'style' => true |
| 389 | ), |
| 390 | 'html' => false, |
| 391 | 'spacing' => array( |
| 392 | 'margin' => true, |
| 393 | 'padding' => true, |
| 394 | '__experimentalDefaultControls' => array( |
| 395 | 'margin' => false, |
| 396 | 'padding' => false |
| 397 | ) |
| 398 | ), |
| 399 | 'typography' => array( |
| 400 | 'fontSize' => true, |
| 401 | 'lineHeight' => true, |
| 402 | '__experimentalFontFamily' => true, |
| 403 | '__experimentalFontWeight' => true, |
| 404 | '__experimentalFontStyle' => true, |
| 405 | '__experimentalTextTransform' => true, |
| 406 | '__experimentalTextDecoration' => true, |
| 407 | '__experimentalLetterSpacing' => true, |
| 408 | '__experimentalDefaultControls' => array( |
| 409 | 'fontSize' => true |
| 410 | ) |
| 411 | ), |
| 412 | 'color' => array( |
| 413 | 'gradients' => true, |
| 414 | 'link' => true, |
| 415 | '__experimentalDefaultControls' => array( |
| 416 | 'background' => true, |
| 417 | 'text' => true, |
| 418 | 'link' => true |
| 419 | ) |
| 420 | ), |
| 421 | 'interactivity' => array( |
| 422 | 'clientNavigation' => true |
| 423 | ) |
| 424 | ) |
| 425 | ), |
| 426 | 'audio' => array( |
| 427 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 428 | 'apiVersion' => 3, |
| 429 | 'name' => 'core/audio', |
| 430 | 'title' => 'Audio', |
| 431 | 'category' => 'media', |
| 432 | 'description' => 'Embed a simple audio player.', |
| 433 | 'keywords' => array( |
| 434 | 'music', |
| 435 | 'sound', |
| 436 | 'podcast', |
| 437 | 'recording' |
| 438 | ), |
| 439 | 'textdomain' => 'default', |
| 440 | 'attributes' => array( |
| 441 | 'blob' => array( |
| 442 | 'type' => 'string', |
| 443 | 'role' => 'local' |
| 444 | ), |
| 445 | 'src' => array( |
| 446 | 'type' => 'string', |
| 447 | 'source' => 'attribute', |
| 448 | 'selector' => 'audio', |
| 449 | 'attribute' => 'src', |
| 450 | 'role' => 'content' |
| 451 | ), |
| 452 | 'caption' => array( |
| 453 | 'type' => 'rich-text', |
| 454 | 'source' => 'rich-text', |
| 455 | 'selector' => 'figcaption', |
| 456 | 'role' => 'content' |
| 457 | ), |
| 458 | 'id' => array( |
| 459 | 'type' => 'number', |
| 460 | 'role' => 'content' |
| 461 | ), |
| 462 | 'autoplay' => array( |
| 463 | 'type' => 'boolean', |
| 464 | 'source' => 'attribute', |
| 465 | 'selector' => 'audio', |
| 466 | 'attribute' => 'autoplay' |
| 467 | ), |
| 468 | 'loop' => array( |
| 469 | 'type' => 'boolean', |
| 470 | 'source' => 'attribute', |
| 471 | 'selector' => 'audio', |
| 472 | 'attribute' => 'loop' |
| 473 | ), |
| 474 | 'preload' => array( |
| 475 | 'type' => 'string', |
| 476 | 'source' => 'attribute', |
| 477 | 'selector' => 'audio', |
| 478 | 'attribute' => 'preload' |
| 479 | ) |
| 480 | ), |
| 481 | 'supports' => array( |
| 482 | 'anchor' => true, |
| 483 | 'align' => true, |
| 484 | 'spacing' => array( |
| 485 | 'margin' => true, |
| 486 | 'padding' => true, |
| 487 | '__experimentalDefaultControls' => array( |
| 488 | 'margin' => false, |
| 489 | 'padding' => false |
| 490 | ) |
| 491 | ), |
| 492 | 'interactivity' => array( |
| 493 | 'clientNavigation' => true |
| 494 | ) |
| 495 | ), |
| 496 | 'editorStyle' => 'wp-block-audio-editor', |
| 497 | 'style' => 'wp-block-audio' |
| 498 | ), |
| 499 | 'avatar' => array( |
| 500 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 501 | 'apiVersion' => 3, |
| 502 | 'name' => 'core/avatar', |
| 503 | 'title' => 'Avatar', |
| 504 | 'category' => 'theme', |
| 505 | 'description' => 'Add a user’s avatar.', |
| 506 | 'textdomain' => 'default', |
| 507 | 'attributes' => array( |
| 508 | 'userId' => array( |
| 509 | 'type' => 'number' |
| 510 | ), |
| 511 | 'size' => array( |
| 512 | 'type' => 'number', |
| 513 | 'default' => 96 |
| 514 | ), |
| 515 | 'isLink' => array( |
| 516 | 'type' => 'boolean', |
| 517 | 'default' => false |
| 518 | ), |
| 519 | 'linkTarget' => array( |
| 520 | 'type' => 'string', |
| 521 | 'default' => '_self' |
| 522 | ) |
| 523 | ), |
| 524 | 'usesContext' => array( |
| 525 | 'postType', |
| 526 | 'postId', |
| 527 | 'commentId' |
| 528 | ), |
| 529 | 'supports' => array( |
| 530 | 'anchor' => true, |
| 531 | 'html' => false, |
| 532 | 'align' => true, |
| 533 | 'alignWide' => false, |
| 534 | 'spacing' => array( |
| 535 | 'margin' => true, |
| 536 | 'padding' => true, |
| 537 | '__experimentalDefaultControls' => array( |
| 538 | 'margin' => false, |
| 539 | 'padding' => false |
| 540 | ) |
| 541 | ), |
| 542 | '__experimentalBorder' => array( |
| 543 | '__experimentalSkipSerialization' => true, |
| 544 | 'radius' => true, |
| 545 | 'width' => true, |
| 546 | 'color' => true, |
| 547 | 'style' => true, |
| 548 | '__experimentalDefaultControls' => array( |
| 549 | 'radius' => true |
| 550 | ) |
| 551 | ), |
| 552 | 'color' => array( |
| 553 | 'text' => false, |
| 554 | 'background' => false |
| 555 | ), |
| 556 | 'filter' => array( |
| 557 | 'duotone' => true |
| 558 | ), |
| 559 | 'interactivity' => array( |
| 560 | 'clientNavigation' => true |
| 561 | ) |
| 562 | ), |
| 563 | 'selectors' => array( |
| 564 | 'border' => '.wp-block-avatar img', |
| 565 | 'filter' => array( |
| 566 | 'duotone' => '.wp-block-avatar img' |
| 567 | ) |
| 568 | ), |
| 569 | 'editorStyle' => 'wp-block-avatar-editor', |
| 570 | 'style' => 'wp-block-avatar' |
| 571 | ), |
| 572 | 'block' => array( |
| 573 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 574 | 'apiVersion' => 3, |
| 575 | 'name' => 'core/block', |
| 576 | 'title' => 'Pattern', |
| 577 | 'category' => 'reusable', |
| 578 | 'description' => 'Reuse this design across your site.', |
| 579 | 'keywords' => array( |
| 580 | 'reusable' |
| 581 | ), |
| 582 | 'textdomain' => 'default', |
| 583 | 'attributes' => array( |
| 584 | 'ref' => array( |
| 585 | 'type' => 'number' |
| 586 | ), |
| 587 | 'content' => array( |
| 588 | 'type' => 'object', |
| 589 | 'default' => array( |
| 590 | |
| 591 | ) |
| 592 | ) |
| 593 | ), |
| 594 | 'providesContext' => array( |
| 595 | 'pattern/overrides' => 'content' |
| 596 | ), |
| 597 | 'supports' => array( |
| 598 | 'customClassName' => false, |
| 599 | 'html' => false, |
| 600 | 'inserter' => false, |
| 601 | 'renaming' => false, |
| 602 | 'interactivity' => array( |
| 603 | 'clientNavigation' => true |
| 604 | ), |
| 605 | 'customCSS' => false |
| 606 | ) |
| 607 | ), |
| 608 | 'breadcrumbs' => array( |
| 609 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 610 | 'apiVersion' => 3, |
| 611 | 'name' => 'core/breadcrumbs', |
| 612 | 'title' => 'Breadcrumbs', |
| 613 | 'category' => 'theme', |
| 614 | 'description' => 'Display a breadcrumb trail showing the path to the current page.', |
| 615 | 'textdomain' => 'default', |
| 616 | 'attributes' => array( |
| 617 | 'prefersTaxonomy' => array( |
| 618 | 'type' => 'boolean', |
| 619 | 'default' => false |
| 620 | ), |
| 621 | 'separator' => array( |
| 622 | 'type' => 'string', |
| 623 | 'default' => '/' |
| 624 | ), |
| 625 | 'showHomeItem' => array( |
| 626 | 'type' => 'boolean', |
| 627 | 'default' => true |
| 628 | ), |
| 629 | 'showCurrentItem' => array( |
| 630 | 'type' => 'boolean', |
| 631 | 'default' => true |
| 632 | ), |
| 633 | 'showOnHomePage' => array( |
| 634 | 'type' => 'boolean', |
| 635 | 'default' => false |
| 636 | ) |
| 637 | ), |
| 638 | 'usesContext' => array( |
| 639 | 'postId', |
| 640 | 'postType', |
| 641 | 'templateSlug' |
| 642 | ), |
| 643 | 'supports' => array( |
| 644 | 'anchor' => true, |
| 645 | 'html' => false, |
| 646 | 'align' => array( |
| 647 | 'wide', |
| 648 | 'full' |
| 649 | ), |
| 650 | 'spacing' => array( |
| 651 | 'margin' => true, |
| 652 | 'padding' => true |
| 653 | ), |
| 654 | 'color' => array( |
| 655 | 'gradients' => true, |
| 656 | 'link' => true, |
| 657 | '__experimentalDefaultControls' => array( |
| 658 | 'background' => true, |
| 659 | 'text' => true |
| 660 | ) |
| 661 | ), |
| 662 | '__experimentalBorder' => array( |
| 663 | 'radius' => true, |
| 664 | 'color' => true, |
| 665 | 'width' => true, |
| 666 | 'style' => true, |
| 667 | '__experimentalDefaultControls' => array( |
| 668 | 'radius' => false, |
| 669 | 'color' => true, |
| 670 | 'width' => true, |
| 671 | 'style' => true |
| 672 | ) |
| 673 | ), |
| 674 | 'typography' => array( |
| 675 | 'fontSize' => true, |
| 676 | 'lineHeight' => true, |
| 677 | '__experimentalFontFamily' => true, |
| 678 | '__experimentalFontWeight' => true, |
| 679 | '__experimentalFontStyle' => true, |
| 680 | '__experimentalTextTransform' => true, |
| 681 | '__experimentalTextDecoration' => true, |
| 682 | '__experimentalLetterSpacing' => true, |
| 683 | '__experimentalDefaultControls' => array( |
| 684 | 'fontSize' => true |
| 685 | ) |
| 686 | ), |
| 687 | 'interactivity' => array( |
| 688 | 'clientNavigation' => true |
| 689 | ) |
| 690 | ), |
| 691 | 'style' => 'wp-block-breadcrumbs' |
| 692 | ), |
| 693 | 'button' => array( |
| 694 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 695 | 'apiVersion' => 3, |
| 696 | 'name' => 'core/button', |
| 697 | 'title' => 'Button', |
| 698 | 'category' => 'design', |
| 699 | 'parent' => array( |
| 700 | 'core/buttons' |
| 701 | ), |
| 702 | 'description' => 'Prompt visitors to take action with a button-style link.', |
| 703 | 'keywords' => array( |
| 704 | 'link' |
| 705 | ), |
| 706 | 'textdomain' => 'default', |
| 707 | 'attributes' => array( |
| 708 | 'tagName' => array( |
| 709 | 'type' => 'string', |
| 710 | 'enum' => array( |
| 711 | 'a', |
| 712 | 'button' |
| 713 | ), |
| 714 | 'default' => 'a' |
| 715 | ), |
| 716 | 'type' => array( |
| 717 | 'type' => 'string', |
| 718 | 'default' => 'button' |
| 719 | ), |
| 720 | 'url' => array( |
| 721 | 'type' => 'string', |
| 722 | 'source' => 'attribute', |
| 723 | 'selector' => 'a', |
| 724 | 'attribute' => 'href', |
| 725 | 'role' => 'content' |
| 726 | ), |
| 727 | 'title' => array( |
| 728 | 'type' => 'string', |
| 729 | 'source' => 'attribute', |
| 730 | 'selector' => 'a,button', |
| 731 | 'attribute' => 'title', |
| 732 | 'role' => 'content' |
| 733 | ), |
| 734 | 'text' => array( |
| 735 | 'type' => 'rich-text', |
| 736 | 'source' => 'rich-text', |
| 737 | 'selector' => 'a,button', |
| 738 | 'role' => 'content' |
| 739 | ), |
| 740 | 'linkTarget' => array( |
| 741 | 'type' => 'string', |
| 742 | 'source' => 'attribute', |
| 743 | 'selector' => 'a', |
| 744 | 'attribute' => 'target', |
| 745 | 'role' => 'content' |
| 746 | ), |
| 747 | 'rel' => array( |
| 748 | 'type' => 'string', |
| 749 | 'source' => 'attribute', |
| 750 | 'selector' => 'a', |
| 751 | 'attribute' => 'rel', |
| 752 | 'role' => 'content' |
| 753 | ), |
| 754 | 'placeholder' => array( |
| 755 | 'type' => 'string' |
| 756 | ), |
| 757 | 'backgroundColor' => array( |
| 758 | 'type' => 'string' |
| 759 | ), |
| 760 | 'textColor' => array( |
| 761 | 'type' => 'string' |
| 762 | ), |
| 763 | 'gradient' => array( |
| 764 | 'type' => 'string' |
| 765 | ) |
| 766 | ), |
| 767 | 'supports' => array( |
| 768 | 'anchor' => true, |
| 769 | 'splitting' => true, |
| 770 | 'align' => false, |
| 771 | 'alignWide' => false, |
| 772 | 'color' => array( |
| 773 | '__experimentalSkipSerialization' => true, |
| 774 | 'gradients' => true, |
| 775 | '__experimentalDefaultControls' => array( |
| 776 | 'background' => true, |
| 777 | 'text' => true |
| 778 | ) |
| 779 | ), |
| 780 | 'dimensions' => array( |
| 781 | 'width' => true, |
| 782 | '__experimentalSkipSerialization' => array( |
| 783 | 'width' |
| 784 | ), |
| 785 | '__experimentalDefaultControls' => array( |
| 786 | 'width' => true |
| 787 | ) |
| 788 | ), |
| 789 | 'typography' => array( |
| 790 | '__experimentalSkipSerialization' => array( |
| 791 | 'fontSize', |
| 792 | 'lineHeight', |
| 793 | 'textAlign', |
| 794 | 'fontFamily', |
| 795 | 'fontWeight', |
| 796 | 'fontStyle', |
| 797 | 'textTransform', |
| 798 | 'textDecoration', |
| 799 | 'letterSpacing' |
| 800 | ), |
| 801 | 'fontSize' => true, |
| 802 | 'lineHeight' => true, |
| 803 | 'textAlign' => true, |
| 804 | '__experimentalFontFamily' => true, |
| 805 | '__experimentalFontWeight' => true, |
| 806 | '__experimentalFontStyle' => true, |
| 807 | '__experimentalTextTransform' => true, |
| 808 | '__experimentalTextDecoration' => true, |
| 809 | '__experimentalLetterSpacing' => true, |
| 810 | '__experimentalWritingMode' => true, |
| 811 | '__experimentalDefaultControls' => array( |
| 812 | 'fontSize' => true |
| 813 | ) |
| 814 | ), |
| 815 | 'reusable' => false, |
| 816 | 'shadow' => array( |
| 817 | '__experimentalSkipSerialization' => true |
| 818 | ), |
| 819 | 'spacing' => array( |
| 820 | '__experimentalSkipSerialization' => true, |
| 821 | 'padding' => array( |
| 822 | 'horizontal', |
| 823 | 'vertical' |
| 824 | ), |
| 825 | '__experimentalDefaultControls' => array( |
| 826 | 'padding' => true |
| 827 | ) |
| 828 | ), |
| 829 | '__experimentalBorder' => array( |
| 830 | 'color' => true, |
| 831 | 'radius' => true, |
| 832 | 'style' => true, |
| 833 | 'width' => true, |
| 834 | '__experimentalSkipSerialization' => true, |
| 835 | '__experimentalDefaultControls' => array( |
| 836 | 'color' => true, |
| 837 | 'radius' => true, |
| 838 | 'style' => true, |
| 839 | 'width' => true |
| 840 | ) |
| 841 | ), |
| 842 | 'interactivity' => array( |
| 843 | 'clientNavigation' => true |
| 844 | ) |
| 845 | ), |
| 846 | 'styles' => array( |
| 847 | array( |
| 848 | 'name' => 'fill', |
| 849 | 'label' => 'Fill', |
| 850 | 'isDefault' => true |
| 851 | ), |
| 852 | array( |
| 853 | 'name' => 'outline', |
| 854 | 'label' => 'Outline' |
| 855 | ) |
| 856 | ), |
| 857 | 'editorStyle' => 'wp-block-button-editor', |
| 858 | 'style' => 'wp-block-button', |
| 859 | 'selectors' => array( |
| 860 | 'root' => '.wp-block-button .wp-block-button__link', |
| 861 | 'typography' => array( |
| 862 | 'writingMode' => '.wp-block-button' |
| 863 | ), |
| 864 | 'dimensions' => array( |
| 865 | 'root' => '.wp-block-button', |
| 866 | 'width' => '.wp-block-button' |
| 867 | ) |
| 868 | ) |
| 869 | ), |
| 870 | 'buttons' => array( |
| 871 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 872 | 'apiVersion' => 3, |
| 873 | 'name' => 'core/buttons', |
| 874 | 'title' => 'Buttons', |
| 875 | 'category' => 'design', |
| 876 | 'allowedBlocks' => array( |
| 877 | 'core/button' |
| 878 | ), |
| 879 | 'description' => 'Prompt visitors to take action with a group of button-style links.', |
| 880 | 'keywords' => array( |
| 881 | 'link' |
| 882 | ), |
| 883 | 'textdomain' => 'default', |
| 884 | 'supports' => array( |
| 885 | 'anchor' => true, |
| 886 | 'align' => array( |
| 887 | 'wide', |
| 888 | 'full' |
| 889 | ), |
| 890 | 'html' => false, |
| 891 | '__experimentalExposeControlsToChildren' => true, |
| 892 | 'color' => array( |
| 893 | 'gradients' => true, |
| 894 | 'text' => false, |
| 895 | '__experimentalDefaultControls' => array( |
| 896 | 'background' => true |
| 897 | ) |
| 898 | ), |
| 899 | 'spacing' => array( |
| 900 | 'blockGap' => array( |
| 901 | 'horizontal', |
| 902 | 'vertical' |
| 903 | ), |
| 904 | 'padding' => true, |
| 905 | 'margin' => array( |
| 906 | 'top', |
| 907 | 'bottom' |
| 908 | ), |
| 909 | '__experimentalDefaultControls' => array( |
| 910 | 'blockGap' => true |
| 911 | ) |
| 912 | ), |
| 913 | 'typography' => array( |
| 914 | 'fontSize' => true, |
| 915 | 'lineHeight' => true, |
| 916 | '__experimentalFontFamily' => true, |
| 917 | '__experimentalFontWeight' => true, |
| 918 | '__experimentalFontStyle' => true, |
| 919 | '__experimentalTextTransform' => true, |
| 920 | '__experimentalTextDecoration' => true, |
| 921 | '__experimentalLetterSpacing' => true, |
| 922 | '__experimentalDefaultControls' => array( |
| 923 | 'fontSize' => true |
| 924 | ) |
| 925 | ), |
| 926 | '__experimentalBorder' => array( |
| 927 | 'color' => true, |
| 928 | 'radius' => true, |
| 929 | 'style' => true, |
| 930 | 'width' => true, |
| 931 | '__experimentalDefaultControls' => array( |
| 932 | 'color' => true, |
| 933 | 'radius' => true, |
| 934 | 'style' => true, |
| 935 | 'width' => true |
| 936 | ) |
| 937 | ), |
| 938 | 'layout' => array( |
| 939 | 'allowSwitching' => false, |
| 940 | 'allowInheriting' => false, |
| 941 | 'default' => array( |
| 942 | 'type' => 'flex' |
| 943 | ) |
| 944 | ), |
| 945 | 'interactivity' => array( |
| 946 | 'clientNavigation' => true |
| 947 | ), |
| 948 | 'listView' => true, |
| 949 | 'contentRole' => true |
| 950 | ), |
| 951 | 'editorStyle' => 'wp-block-buttons-editor', |
| 952 | 'style' => 'wp-block-buttons' |
| 953 | ), |
| 954 | 'calendar' => array( |
| 955 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 956 | 'apiVersion' => 3, |
| 957 | 'name' => 'core/calendar', |
| 958 | 'title' => 'Calendar', |
| 959 | 'category' => 'widgets', |
| 960 | 'description' => 'A calendar of your site’s posts.', |
| 961 | 'keywords' => array( |
| 962 | 'posts', |
| 963 | 'archive' |
| 964 | ), |
| 965 | 'textdomain' => 'default', |
| 966 | 'attributes' => array( |
| 967 | 'month' => array( |
| 968 | 'type' => 'integer' |
| 969 | ), |
| 970 | 'year' => array( |
| 971 | 'type' => 'integer' |
| 972 | ) |
| 973 | ), |
| 974 | 'supports' => array( |
| 975 | 'anchor' => true, |
| 976 | 'align' => true, |
| 977 | 'html' => false, |
| 978 | 'color' => array( |
| 979 | 'link' => true, |
| 980 | '__experimentalSkipSerialization' => array( |
| 981 | 'text', |
| 982 | 'background' |
| 983 | ), |
| 984 | '__experimentalDefaultControls' => array( |
| 985 | 'background' => true, |
| 986 | 'text' => true |
| 987 | ), |
| 988 | '__experimentalSelector' => 'table, th' |
| 989 | ), |
| 990 | 'typography' => array( |
| 991 | 'fontSize' => true, |
| 992 | 'lineHeight' => true, |
| 993 | '__experimentalFontFamily' => true, |
| 994 | '__experimentalFontWeight' => true, |
| 995 | '__experimentalFontStyle' => true, |
| 996 | '__experimentalTextTransform' => true, |
| 997 | '__experimentalLetterSpacing' => true, |
| 998 | '__experimentalDefaultControls' => array( |
| 999 | 'fontSize' => true |
| 1000 | ) |
| 1001 | ), |
| 1002 | 'interactivity' => array( |
| 1003 | 'clientNavigation' => true |
| 1004 | ) |
| 1005 | ), |
| 1006 | 'style' => 'wp-block-calendar' |
| 1007 | ), |
| 1008 | 'categories' => array( |
| 1009 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1010 | 'apiVersion' => 3, |
| 1011 | 'name' => 'core/categories', |
| 1012 | 'title' => 'Terms List', |
| 1013 | 'category' => 'widgets', |
| 1014 | 'description' => 'Display a list of all terms of a given taxonomy.', |
| 1015 | 'keywords' => array( |
| 1016 | 'categories' |
| 1017 | ), |
| 1018 | 'textdomain' => 'default', |
| 1019 | 'attributes' => array( |
| 1020 | 'taxonomy' => array( |
| 1021 | 'type' => 'string', |
| 1022 | 'default' => 'category' |
| 1023 | ), |
| 1024 | 'displayAsDropdown' => array( |
| 1025 | 'type' => 'boolean', |
| 1026 | 'default' => false |
| 1027 | ), |
| 1028 | 'showHierarchy' => array( |
| 1029 | 'type' => 'boolean', |
| 1030 | 'default' => false |
| 1031 | ), |
| 1032 | 'showPostCounts' => array( |
| 1033 | 'type' => 'boolean', |
| 1034 | 'default' => false |
| 1035 | ), |
| 1036 | 'showOnlyTopLevel' => array( |
| 1037 | 'type' => 'boolean', |
| 1038 | 'default' => false |
| 1039 | ), |
| 1040 | 'showEmpty' => array( |
| 1041 | 'type' => 'boolean', |
| 1042 | 'default' => false |
| 1043 | ), |
| 1044 | 'label' => array( |
| 1045 | 'type' => 'string', |
| 1046 | 'role' => 'content' |
| 1047 | ), |
| 1048 | 'showLabel' => array( |
| 1049 | 'type' => 'boolean', |
| 1050 | 'default' => true |
| 1051 | ) |
| 1052 | ), |
| 1053 | 'usesContext' => array( |
| 1054 | 'enhancedPagination' |
| 1055 | ), |
| 1056 | 'supports' => array( |
| 1057 | 'anchor' => true, |
| 1058 | 'align' => true, |
| 1059 | 'html' => false, |
| 1060 | 'spacing' => array( |
| 1061 | 'margin' => true, |
| 1062 | 'padding' => true, |
| 1063 | '__experimentalDefaultControls' => array( |
| 1064 | 'margin' => false, |
| 1065 | 'padding' => false |
| 1066 | ) |
| 1067 | ), |
| 1068 | 'typography' => array( |
| 1069 | 'fontSize' => true, |
| 1070 | 'lineHeight' => true, |
| 1071 | '__experimentalFontFamily' => true, |
| 1072 | '__experimentalFontWeight' => true, |
| 1073 | '__experimentalFontStyle' => true, |
| 1074 | '__experimentalTextTransform' => true, |
| 1075 | '__experimentalTextDecoration' => true, |
| 1076 | '__experimentalLetterSpacing' => true, |
| 1077 | '__experimentalDefaultControls' => array( |
| 1078 | 'fontSize' => true |
| 1079 | ) |
| 1080 | ), |
| 1081 | 'color' => array( |
| 1082 | 'gradients' => true, |
| 1083 | 'link' => true, |
| 1084 | '__experimentalDefaultControls' => array( |
| 1085 | 'background' => true, |
| 1086 | 'text' => true, |
| 1087 | 'link' => true |
| 1088 | ) |
| 1089 | ), |
| 1090 | 'interactivity' => array( |
| 1091 | 'clientNavigation' => true |
| 1092 | ), |
| 1093 | '__experimentalBorder' => array( |
| 1094 | 'radius' => true, |
| 1095 | 'color' => true, |
| 1096 | 'width' => true, |
| 1097 | 'style' => true, |
| 1098 | '__experimentalDefaultControls' => array( |
| 1099 | 'radius' => true, |
| 1100 | 'color' => true, |
| 1101 | 'width' => true, |
| 1102 | 'style' => true |
| 1103 | ) |
| 1104 | ) |
| 1105 | ), |
| 1106 | 'editorStyle' => 'wp-block-categories-editor', |
| 1107 | 'style' => 'wp-block-categories' |
| 1108 | ), |
| 1109 | 'code' => array( |
| 1110 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1111 | 'apiVersion' => 3, |
| 1112 | 'name' => 'core/code', |
| 1113 | 'title' => 'Code', |
| 1114 | 'category' => 'text', |
| 1115 | 'description' => 'Display code snippets that respect your spacing and tabs.', |
| 1116 | 'textdomain' => 'default', |
| 1117 | 'attributes' => array( |
| 1118 | 'content' => array( |
| 1119 | 'type' => 'rich-text', |
| 1120 | 'source' => 'rich-text', |
| 1121 | 'selector' => 'code', |
| 1122 | '__unstablePreserveWhiteSpace' => true, |
| 1123 | 'role' => 'content' |
| 1124 | ) |
| 1125 | ), |
| 1126 | 'supports' => array( |
| 1127 | 'align' => array( |
| 1128 | 'wide' |
| 1129 | ), |
| 1130 | 'anchor' => true, |
| 1131 | 'typography' => array( |
| 1132 | 'fontSize' => true, |
| 1133 | 'lineHeight' => true, |
| 1134 | '__experimentalFontFamily' => true, |
| 1135 | '__experimentalFontWeight' => true, |
| 1136 | '__experimentalFontStyle' => true, |
| 1137 | '__experimentalTextTransform' => true, |
| 1138 | '__experimentalTextDecoration' => true, |
| 1139 | '__experimentalLetterSpacing' => true, |
| 1140 | '__experimentalDefaultControls' => array( |
| 1141 | 'fontSize' => true |
| 1142 | ) |
| 1143 | ), |
| 1144 | 'spacing' => array( |
| 1145 | 'margin' => array( |
| 1146 | 'top', |
| 1147 | 'bottom' |
| 1148 | ), |
| 1149 | 'padding' => true, |
| 1150 | '__experimentalDefaultControls' => array( |
| 1151 | 'margin' => false, |
| 1152 | 'padding' => false |
| 1153 | ) |
| 1154 | ), |
| 1155 | '__experimentalBorder' => array( |
| 1156 | 'radius' => true, |
| 1157 | 'color' => true, |
| 1158 | 'width' => true, |
| 1159 | 'style' => true, |
| 1160 | '__experimentalDefaultControls' => array( |
| 1161 | 'width' => true, |
| 1162 | 'color' => true |
| 1163 | ) |
| 1164 | ), |
| 1165 | 'color' => array( |
| 1166 | 'text' => true, |
| 1167 | 'background' => true, |
| 1168 | 'gradients' => true, |
| 1169 | '__experimentalDefaultControls' => array( |
| 1170 | 'background' => true, |
| 1171 | 'text' => true |
| 1172 | ) |
| 1173 | ), |
| 1174 | 'interactivity' => array( |
| 1175 | 'clientNavigation' => true |
| 1176 | ) |
| 1177 | ), |
| 1178 | 'style' => 'wp-block-code' |
| 1179 | ), |
| 1180 | 'column' => array( |
| 1181 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1182 | 'apiVersion' => 3, |
| 1183 | 'name' => 'core/column', |
| 1184 | 'title' => 'Column', |
| 1185 | 'category' => 'design', |
| 1186 | 'parent' => array( |
| 1187 | 'core/columns' |
| 1188 | ), |
| 1189 | 'description' => 'A single column within a columns block.', |
| 1190 | 'textdomain' => 'default', |
| 1191 | 'attributes' => array( |
| 1192 | 'verticalAlignment' => array( |
| 1193 | 'type' => 'string' |
| 1194 | ), |
| 1195 | 'width' => array( |
| 1196 | 'type' => 'string' |
| 1197 | ), |
| 1198 | 'templateLock' => array( |
| 1199 | 'type' => array( |
| 1200 | 'string', |
| 1201 | 'boolean' |
| 1202 | ), |
| 1203 | 'enum' => array( |
| 1204 | 'all', |
| 1205 | 'insert', |
| 1206 | 'contentOnly', |
| 1207 | false |
| 1208 | ) |
| 1209 | ) |
| 1210 | ), |
| 1211 | 'supports' => array( |
| 1212 | '__experimentalOnEnter' => true, |
| 1213 | 'anchor' => true, |
| 1214 | 'reusable' => false, |
| 1215 | 'html' => false, |
| 1216 | 'color' => array( |
| 1217 | 'gradients' => true, |
| 1218 | 'heading' => true, |
| 1219 | 'button' => true, |
| 1220 | 'link' => true, |
| 1221 | '__experimentalDefaultControls' => array( |
| 1222 | 'background' => true, |
| 1223 | 'text' => true |
| 1224 | ) |
| 1225 | ), |
| 1226 | 'shadow' => true, |
| 1227 | 'spacing' => array( |
| 1228 | 'blockGap' => true, |
| 1229 | 'padding' => true, |
| 1230 | '__experimentalDefaultControls' => array( |
| 1231 | 'padding' => true, |
| 1232 | 'blockGap' => true |
| 1233 | ) |
| 1234 | ), |
| 1235 | '__experimentalBorder' => array( |
| 1236 | 'color' => true, |
| 1237 | 'radius' => true, |
| 1238 | 'style' => true, |
| 1239 | 'width' => true, |
| 1240 | '__experimentalDefaultControls' => array( |
| 1241 | 'color' => true, |
| 1242 | 'radius' => true, |
| 1243 | 'style' => true, |
| 1244 | 'width' => true |
| 1245 | ) |
| 1246 | ), |
| 1247 | 'typography' => array( |
| 1248 | 'fontSize' => true, |
| 1249 | 'lineHeight' => true, |
| 1250 | '__experimentalFontFamily' => true, |
| 1251 | '__experimentalFontWeight' => true, |
| 1252 | '__experimentalFontStyle' => true, |
| 1253 | '__experimentalTextTransform' => true, |
| 1254 | '__experimentalTextDecoration' => true, |
| 1255 | '__experimentalLetterSpacing' => true, |
| 1256 | '__experimentalDefaultControls' => array( |
| 1257 | 'fontSize' => true |
| 1258 | ) |
| 1259 | ), |
| 1260 | 'layout' => true, |
| 1261 | 'interactivity' => array( |
| 1262 | 'clientNavigation' => true |
| 1263 | ), |
| 1264 | 'allowedBlocks' => true |
| 1265 | ) |
| 1266 | ), |
| 1267 | 'columns' => array( |
| 1268 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1269 | 'apiVersion' => 3, |
| 1270 | 'name' => 'core/columns', |
| 1271 | 'title' => 'Columns', |
| 1272 | 'category' => 'design', |
| 1273 | 'allowedBlocks' => array( |
| 1274 | 'core/column' |
| 1275 | ), |
| 1276 | 'description' => 'Display content in multiple columns, with blocks added to each column.', |
| 1277 | 'textdomain' => 'default', |
| 1278 | 'attributes' => array( |
| 1279 | 'verticalAlignment' => array( |
| 1280 | 'type' => 'string' |
| 1281 | ), |
| 1282 | 'isStackedOnMobile' => array( |
| 1283 | 'type' => 'boolean', |
| 1284 | 'default' => true |
| 1285 | ), |
| 1286 | 'templateLock' => array( |
| 1287 | 'type' => array( |
| 1288 | 'string', |
| 1289 | 'boolean' |
| 1290 | ), |
| 1291 | 'enum' => array( |
| 1292 | 'all', |
| 1293 | 'insert', |
| 1294 | 'contentOnly', |
| 1295 | false |
| 1296 | ) |
| 1297 | ) |
| 1298 | ), |
| 1299 | 'supports' => array( |
| 1300 | 'anchor' => true, |
| 1301 | 'align' => array( |
| 1302 | 'wide', |
| 1303 | 'full' |
| 1304 | ), |
| 1305 | 'html' => false, |
| 1306 | 'color' => array( |
| 1307 | 'gradients' => true, |
| 1308 | 'link' => true, |
| 1309 | 'heading' => true, |
| 1310 | 'button' => true, |
| 1311 | '__experimentalDefaultControls' => array( |
| 1312 | 'background' => true, |
| 1313 | 'text' => true |
| 1314 | ) |
| 1315 | ), |
| 1316 | 'spacing' => array( |
| 1317 | 'blockGap' => array( |
| 1318 | '__experimentalDefault' => '2em', |
| 1319 | 'sides' => array( |
| 1320 | 'horizontal', |
| 1321 | 'vertical' |
| 1322 | ) |
| 1323 | ), |
| 1324 | 'margin' => array( |
| 1325 | 'top', |
| 1326 | 'bottom' |
| 1327 | ), |
| 1328 | 'padding' => true, |
| 1329 | '__experimentalDefaultControls' => array( |
| 1330 | 'padding' => true, |
| 1331 | 'blockGap' => true |
| 1332 | ) |
| 1333 | ), |
| 1334 | 'layout' => array( |
| 1335 | 'allowSwitching' => false, |
| 1336 | 'allowInheriting' => false, |
| 1337 | 'allowEditing' => false, |
| 1338 | 'default' => array( |
| 1339 | 'type' => 'flex', |
| 1340 | 'flexWrap' => 'nowrap' |
| 1341 | ) |
| 1342 | ), |
| 1343 | '__experimentalBorder' => array( |
| 1344 | 'color' => true, |
| 1345 | 'radius' => true, |
| 1346 | 'style' => true, |
| 1347 | 'width' => true, |
| 1348 | '__experimentalDefaultControls' => array( |
| 1349 | 'color' => true, |
| 1350 | 'radius' => true, |
| 1351 | 'style' => true, |
| 1352 | 'width' => true |
| 1353 | ) |
| 1354 | ), |
| 1355 | 'typography' => array( |
| 1356 | 'fontSize' => true, |
| 1357 | 'lineHeight' => true, |
| 1358 | '__experimentalFontFamily' => true, |
| 1359 | '__experimentalFontWeight' => true, |
| 1360 | '__experimentalFontStyle' => true, |
| 1361 | '__experimentalTextTransform' => true, |
| 1362 | '__experimentalTextDecoration' => true, |
| 1363 | '__experimentalLetterSpacing' => true, |
| 1364 | '__experimentalDefaultControls' => array( |
| 1365 | 'fontSize' => true |
| 1366 | ) |
| 1367 | ), |
| 1368 | 'interactivity' => array( |
| 1369 | 'clientNavigation' => true |
| 1370 | ), |
| 1371 | 'shadow' => true |
| 1372 | ), |
| 1373 | 'editorStyle' => 'wp-block-columns-editor', |
| 1374 | 'style' => 'wp-block-columns' |
| 1375 | ), |
| 1376 | 'comment-author-avatar' => array( |
| 1377 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1378 | 'apiVersion' => 3, |
| 1379 | '__experimental' => 'fse', |
| 1380 | 'name' => 'core/comment-author-avatar', |
| 1381 | 'title' => 'Comment Author Avatar (deprecated)', |
| 1382 | 'category' => 'theme', |
| 1383 | 'ancestor' => array( |
| 1384 | 'core/comment-template' |
| 1385 | ), |
| 1386 | 'description' => 'This block is deprecated. Please use the Avatar block instead.', |
| 1387 | 'textdomain' => 'default', |
| 1388 | 'attributes' => array( |
| 1389 | 'width' => array( |
| 1390 | 'type' => 'number', |
| 1391 | 'default' => 96 |
| 1392 | ), |
| 1393 | 'height' => array( |
| 1394 | 'type' => 'number', |
| 1395 | 'default' => 96 |
| 1396 | ) |
| 1397 | ), |
| 1398 | 'usesContext' => array( |
| 1399 | 'commentId' |
| 1400 | ), |
| 1401 | 'supports' => array( |
| 1402 | 'html' => false, |
| 1403 | 'inserter' => false, |
| 1404 | '__experimentalBorder' => array( |
| 1405 | 'radius' => true, |
| 1406 | 'width' => true, |
| 1407 | 'color' => true, |
| 1408 | 'style' => true |
| 1409 | ), |
| 1410 | 'color' => array( |
| 1411 | 'background' => true, |
| 1412 | 'text' => false, |
| 1413 | '__experimentalDefaultControls' => array( |
| 1414 | 'background' => true |
| 1415 | ) |
| 1416 | ), |
| 1417 | 'spacing' => array( |
| 1418 | '__experimentalSkipSerialization' => true, |
| 1419 | 'margin' => true, |
| 1420 | 'padding' => true |
| 1421 | ), |
| 1422 | 'interactivity' => array( |
| 1423 | 'clientNavigation' => true |
| 1424 | ) |
| 1425 | ) |
| 1426 | ), |
| 1427 | 'comment-author-name' => array( |
| 1428 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1429 | 'apiVersion' => 3, |
| 1430 | 'name' => 'core/comment-author-name', |
| 1431 | 'title' => 'Comment Author Name', |
| 1432 | 'category' => 'theme', |
| 1433 | 'ancestor' => array( |
| 1434 | 'core/comment-template' |
| 1435 | ), |
| 1436 | 'description' => 'Displays the name of the author of the comment.', |
| 1437 | 'textdomain' => 'default', |
| 1438 | 'attributes' => array( |
| 1439 | 'isLink' => array( |
| 1440 | 'type' => 'boolean', |
| 1441 | 'default' => true |
| 1442 | ), |
| 1443 | 'linkTarget' => array( |
| 1444 | 'type' => 'string', |
| 1445 | 'default' => '_self' |
| 1446 | ) |
| 1447 | ), |
| 1448 | 'usesContext' => array( |
| 1449 | 'commentId' |
| 1450 | ), |
| 1451 | 'supports' => array( |
| 1452 | 'anchor' => true, |
| 1453 | 'html' => false, |
| 1454 | 'spacing' => array( |
| 1455 | 'margin' => true, |
| 1456 | 'padding' => true |
| 1457 | ), |
| 1458 | 'color' => array( |
| 1459 | 'gradients' => true, |
| 1460 | 'link' => true, |
| 1461 | '__experimentalDefaultControls' => array( |
| 1462 | 'background' => true, |
| 1463 | 'text' => true, |
| 1464 | 'link' => true |
| 1465 | ) |
| 1466 | ), |
| 1467 | 'typography' => array( |
| 1468 | 'fontSize' => true, |
| 1469 | 'lineHeight' => true, |
| 1470 | 'textAlign' => true, |
| 1471 | '__experimentalFontFamily' => true, |
| 1472 | '__experimentalFontWeight' => true, |
| 1473 | '__experimentalFontStyle' => true, |
| 1474 | '__experimentalTextTransform' => true, |
| 1475 | '__experimentalTextDecoration' => true, |
| 1476 | '__experimentalLetterSpacing' => true, |
| 1477 | '__experimentalDefaultControls' => array( |
| 1478 | 'fontSize' => true |
| 1479 | ) |
| 1480 | ), |
| 1481 | 'interactivity' => array( |
| 1482 | 'clientNavigation' => true |
| 1483 | ), |
| 1484 | '__experimentalBorder' => array( |
| 1485 | 'radius' => true, |
| 1486 | 'color' => true, |
| 1487 | 'width' => true, |
| 1488 | 'style' => true, |
| 1489 | '__experimentalDefaultControls' => array( |
| 1490 | 'radius' => true, |
| 1491 | 'color' => true, |
| 1492 | 'width' => true, |
| 1493 | 'style' => true |
| 1494 | ) |
| 1495 | ) |
| 1496 | ), |
| 1497 | 'style' => 'wp-block-comment-author-name' |
| 1498 | ), |
| 1499 | 'comment-content' => array( |
| 1500 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1501 | 'apiVersion' => 3, |
| 1502 | 'name' => 'core/comment-content', |
| 1503 | 'title' => 'Comment Content', |
| 1504 | 'category' => 'theme', |
| 1505 | 'ancestor' => array( |
| 1506 | 'core/comment-template' |
| 1507 | ), |
| 1508 | 'description' => 'Displays the contents of a comment.', |
| 1509 | 'textdomain' => 'default', |
| 1510 | 'usesContext' => array( |
| 1511 | 'commentId' |
| 1512 | ), |
| 1513 | 'supports' => array( |
| 1514 | 'anchor' => true, |
| 1515 | 'color' => array( |
| 1516 | 'gradients' => true, |
| 1517 | 'link' => true, |
| 1518 | '__experimentalDefaultControls' => array( |
| 1519 | 'background' => true, |
| 1520 | 'text' => true |
| 1521 | ) |
| 1522 | ), |
| 1523 | 'typography' => array( |
| 1524 | 'fontSize' => true, |
| 1525 | 'lineHeight' => true, |
| 1526 | 'textAlign' => true, |
| 1527 | '__experimentalFontFamily' => true, |
| 1528 | '__experimentalFontWeight' => true, |
| 1529 | '__experimentalFontStyle' => true, |
| 1530 | '__experimentalTextTransform' => true, |
| 1531 | '__experimentalTextDecoration' => true, |
| 1532 | '__experimentalLetterSpacing' => true, |
| 1533 | '__experimentalDefaultControls' => array( |
| 1534 | 'fontSize' => true |
| 1535 | ) |
| 1536 | ), |
| 1537 | '__experimentalBorder' => array( |
| 1538 | 'radius' => true, |
| 1539 | 'color' => true, |
| 1540 | 'width' => true, |
| 1541 | 'style' => true, |
| 1542 | '__experimentalDefaultControls' => array( |
| 1543 | 'radius' => true, |
| 1544 | 'color' => true, |
| 1545 | 'width' => true, |
| 1546 | 'style' => true |
| 1547 | ) |
| 1548 | ), |
| 1549 | 'spacing' => array( |
| 1550 | 'padding' => array( |
| 1551 | 'horizontal', |
| 1552 | 'vertical' |
| 1553 | ), |
| 1554 | '__experimentalDefaultControls' => array( |
| 1555 | 'padding' => true |
| 1556 | ) |
| 1557 | ), |
| 1558 | 'html' => false |
| 1559 | ), |
| 1560 | 'style' => 'wp-block-comment-content' |
| 1561 | ), |
| 1562 | 'comment-date' => array( |
| 1563 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1564 | 'apiVersion' => 3, |
| 1565 | 'name' => 'core/comment-date', |
| 1566 | 'title' => 'Comment Date', |
| 1567 | 'category' => 'theme', |
| 1568 | 'ancestor' => array( |
| 1569 | 'core/comment-template' |
| 1570 | ), |
| 1571 | 'description' => 'Displays the date on which the comment was posted.', |
| 1572 | 'textdomain' => 'default', |
| 1573 | 'attributes' => array( |
| 1574 | 'format' => array( |
| 1575 | 'type' => 'string' |
| 1576 | ), |
| 1577 | 'isLink' => array( |
| 1578 | 'type' => 'boolean', |
| 1579 | 'default' => true |
| 1580 | ) |
| 1581 | ), |
| 1582 | 'usesContext' => array( |
| 1583 | 'commentId' |
| 1584 | ), |
| 1585 | 'supports' => array( |
| 1586 | 'anchor' => true, |
| 1587 | 'html' => false, |
| 1588 | 'color' => array( |
| 1589 | 'gradients' => true, |
| 1590 | 'link' => true, |
| 1591 | '__experimentalDefaultControls' => array( |
| 1592 | 'background' => true, |
| 1593 | 'text' => true, |
| 1594 | 'link' => true |
| 1595 | ) |
| 1596 | ), |
| 1597 | 'spacing' => array( |
| 1598 | 'margin' => true, |
| 1599 | 'padding' => true |
| 1600 | ), |
| 1601 | 'typography' => array( |
| 1602 | 'fontSize' => true, |
| 1603 | 'lineHeight' => true, |
| 1604 | 'textAlign' => true, |
| 1605 | '__experimentalFontFamily' => true, |
| 1606 | '__experimentalFontWeight' => true, |
| 1607 | '__experimentalFontStyle' => true, |
| 1608 | '__experimentalTextTransform' => true, |
| 1609 | '__experimentalTextDecoration' => true, |
| 1610 | '__experimentalLetterSpacing' => true, |
| 1611 | '__experimentalDefaultControls' => array( |
| 1612 | 'fontSize' => true |
| 1613 | ) |
| 1614 | ), |
| 1615 | 'interactivity' => array( |
| 1616 | 'clientNavigation' => true |
| 1617 | ), |
| 1618 | '__experimentalBorder' => array( |
| 1619 | 'radius' => true, |
| 1620 | 'color' => true, |
| 1621 | 'width' => true, |
| 1622 | 'style' => true, |
| 1623 | '__experimentalDefaultControls' => array( |
| 1624 | 'radius' => true, |
| 1625 | 'color' => true, |
| 1626 | 'width' => true, |
| 1627 | 'style' => true |
| 1628 | ) |
| 1629 | ) |
| 1630 | ), |
| 1631 | 'style' => 'wp-block-comment-date' |
| 1632 | ), |
| 1633 | 'comment-edit-link' => array( |
| 1634 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1635 | 'apiVersion' => 3, |
| 1636 | 'name' => 'core/comment-edit-link', |
| 1637 | 'title' => 'Comment Edit Link', |
| 1638 | 'category' => 'theme', |
| 1639 | 'ancestor' => array( |
| 1640 | 'core/comment-template' |
| 1641 | ), |
| 1642 | 'description' => 'Displays a link to edit the comment in the WordPress Dashboard. This link is only visible to users with the edit comment capability.', |
| 1643 | 'textdomain' => 'default', |
| 1644 | 'usesContext' => array( |
| 1645 | 'commentId' |
| 1646 | ), |
| 1647 | 'attributes' => array( |
| 1648 | 'linkTarget' => array( |
| 1649 | 'type' => 'string', |
| 1650 | 'default' => '_self' |
| 1651 | ) |
| 1652 | ), |
| 1653 | 'supports' => array( |
| 1654 | 'anchor' => true, |
| 1655 | 'html' => false, |
| 1656 | 'color' => array( |
| 1657 | 'link' => true, |
| 1658 | 'gradients' => true, |
| 1659 | 'text' => false, |
| 1660 | '__experimentalDefaultControls' => array( |
| 1661 | 'background' => true, |
| 1662 | 'link' => true |
| 1663 | ) |
| 1664 | ), |
| 1665 | 'spacing' => array( |
| 1666 | 'margin' => true, |
| 1667 | 'padding' => true, |
| 1668 | '__experimentalDefaultControls' => array( |
| 1669 | 'margin' => false, |
| 1670 | 'padding' => false |
| 1671 | ) |
| 1672 | ), |
| 1673 | 'typography' => array( |
| 1674 | 'fontSize' => true, |
| 1675 | 'lineHeight' => true, |
| 1676 | 'textAlign' => true, |
| 1677 | '__experimentalFontFamily' => true, |
| 1678 | '__experimentalFontWeight' => true, |
| 1679 | '__experimentalFontStyle' => true, |
| 1680 | '__experimentalTextTransform' => true, |
| 1681 | '__experimentalTextDecoration' => true, |
| 1682 | '__experimentalLetterSpacing' => true, |
| 1683 | '__experimentalDefaultControls' => array( |
| 1684 | 'fontSize' => true |
| 1685 | ) |
| 1686 | ), |
| 1687 | 'interactivity' => array( |
| 1688 | 'clientNavigation' => true |
| 1689 | ), |
| 1690 | '__experimentalBorder' => array( |
| 1691 | 'radius' => true, |
| 1692 | 'color' => true, |
| 1693 | 'width' => true, |
| 1694 | 'style' => true |
| 1695 | ) |
| 1696 | ), |
| 1697 | 'style' => 'wp-block-comment-edit-link' |
| 1698 | ), |
| 1699 | 'comment-reply-link' => array( |
| 1700 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1701 | 'apiVersion' => 3, |
| 1702 | 'name' => 'core/comment-reply-link', |
| 1703 | 'title' => 'Comment Reply Link', |
| 1704 | 'category' => 'theme', |
| 1705 | 'ancestor' => array( |
| 1706 | 'core/comment-template' |
| 1707 | ), |
| 1708 | 'description' => 'Displays a link to reply to a comment.', |
| 1709 | 'textdomain' => 'default', |
| 1710 | 'usesContext' => array( |
| 1711 | 'commentId' |
| 1712 | ), |
| 1713 | 'supports' => array( |
| 1714 | 'anchor' => true, |
| 1715 | 'color' => array( |
| 1716 | 'gradients' => true, |
| 1717 | 'link' => true, |
| 1718 | 'text' => false, |
| 1719 | '__experimentalDefaultControls' => array( |
| 1720 | 'background' => true, |
| 1721 | 'link' => true |
| 1722 | ) |
| 1723 | ), |
| 1724 | 'spacing' => array( |
| 1725 | 'margin' => true, |
| 1726 | 'padding' => true, |
| 1727 | '__experimentalDefaultControls' => array( |
| 1728 | 'margin' => false, |
| 1729 | 'padding' => false |
| 1730 | ) |
| 1731 | ), |
| 1732 | 'typography' => array( |
| 1733 | 'fontSize' => true, |
| 1734 | 'lineHeight' => true, |
| 1735 | 'textAlign' => true, |
| 1736 | '__experimentalFontFamily' => true, |
| 1737 | '__experimentalFontWeight' => true, |
| 1738 | '__experimentalFontStyle' => true, |
| 1739 | '__experimentalTextTransform' => true, |
| 1740 | '__experimentalTextDecoration' => true, |
| 1741 | '__experimentalLetterSpacing' => true, |
| 1742 | '__experimentalDefaultControls' => array( |
| 1743 | 'fontSize' => true |
| 1744 | ) |
| 1745 | ), |
| 1746 | '__experimentalBorder' => array( |
| 1747 | 'radius' => true, |
| 1748 | 'color' => true, |
| 1749 | 'width' => true, |
| 1750 | 'style' => true |
| 1751 | ), |
| 1752 | 'html' => false |
| 1753 | ), |
| 1754 | 'style' => 'wp-block-comment-reply-link' |
| 1755 | ), |
| 1756 | 'comment-template' => array( |
| 1757 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1758 | 'apiVersion' => 3, |
| 1759 | 'name' => 'core/comment-template', |
| 1760 | 'title' => 'Comment Template', |
| 1761 | 'category' => 'design', |
| 1762 | 'parent' => array( |
| 1763 | 'core/comments' |
| 1764 | ), |
| 1765 | 'description' => 'Contains the block elements used to display a comment, like the title, date, author, avatar and more.', |
| 1766 | 'textdomain' => 'default', |
| 1767 | 'usesContext' => array( |
| 1768 | 'postId' |
| 1769 | ), |
| 1770 | 'supports' => array( |
| 1771 | 'anchor' => true, |
| 1772 | 'align' => true, |
| 1773 | 'html' => false, |
| 1774 | 'reusable' => false, |
| 1775 | 'spacing' => array( |
| 1776 | 'margin' => true, |
| 1777 | 'padding' => true |
| 1778 | ), |
| 1779 | 'typography' => array( |
| 1780 | 'fontSize' => true, |
| 1781 | 'lineHeight' => true, |
| 1782 | '__experimentalFontFamily' => true, |
| 1783 | '__experimentalFontWeight' => true, |
| 1784 | '__experimentalFontStyle' => true, |
| 1785 | '__experimentalTextTransform' => true, |
| 1786 | '__experimentalTextDecoration' => true, |
| 1787 | '__experimentalLetterSpacing' => true, |
| 1788 | '__experimentalDefaultControls' => array( |
| 1789 | 'fontSize' => true |
| 1790 | ) |
| 1791 | ), |
| 1792 | 'interactivity' => array( |
| 1793 | 'clientNavigation' => true |
| 1794 | ), |
| 1795 | '__experimentalBorder' => array( |
| 1796 | 'radius' => true, |
| 1797 | 'color' => true, |
| 1798 | 'width' => true, |
| 1799 | 'style' => true, |
| 1800 | '__experimentalDefaultControls' => array( |
| 1801 | 'radius' => true, |
| 1802 | 'color' => true, |
| 1803 | 'width' => true, |
| 1804 | 'style' => true |
| 1805 | ) |
| 1806 | ) |
| 1807 | ), |
| 1808 | 'style' => 'wp-block-comment-template' |
| 1809 | ), |
| 1810 | 'comments' => array( |
| 1811 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1812 | 'apiVersion' => 3, |
| 1813 | 'name' => 'core/comments', |
| 1814 | 'title' => 'Comments', |
| 1815 | 'category' => 'theme', |
| 1816 | 'description' => 'An advanced block that allows displaying post comments using different visual configurations.', |
| 1817 | 'textdomain' => 'default', |
| 1818 | 'attributes' => array( |
| 1819 | 'tagName' => array( |
| 1820 | 'type' => 'string', |
| 1821 | 'default' => 'div' |
| 1822 | ), |
| 1823 | 'legacy' => array( |
| 1824 | 'type' => 'boolean', |
| 1825 | 'default' => false |
| 1826 | ) |
| 1827 | ), |
| 1828 | 'supports' => array( |
| 1829 | 'anchor' => true, |
| 1830 | 'align' => array( |
| 1831 | 'wide', |
| 1832 | 'full' |
| 1833 | ), |
| 1834 | 'html' => false, |
| 1835 | 'color' => array( |
| 1836 | 'gradients' => true, |
| 1837 | 'heading' => true, |
| 1838 | 'link' => true, |
| 1839 | '__experimentalDefaultControls' => array( |
| 1840 | 'background' => true, |
| 1841 | 'text' => true, |
| 1842 | 'link' => true |
| 1843 | ) |
| 1844 | ), |
| 1845 | 'spacing' => array( |
| 1846 | 'margin' => true, |
| 1847 | 'padding' => true |
| 1848 | ), |
| 1849 | 'typography' => array( |
| 1850 | 'fontSize' => true, |
| 1851 | 'lineHeight' => true, |
| 1852 | '__experimentalFontFamily' => true, |
| 1853 | '__experimentalFontWeight' => true, |
| 1854 | '__experimentalFontStyle' => true, |
| 1855 | '__experimentalTextTransform' => true, |
| 1856 | '__experimentalTextDecoration' => true, |
| 1857 | '__experimentalLetterSpacing' => true, |
| 1858 | '__experimentalDefaultControls' => array( |
| 1859 | 'fontSize' => true |
| 1860 | ) |
| 1861 | ), |
| 1862 | '__experimentalBorder' => array( |
| 1863 | 'radius' => true, |
| 1864 | 'color' => true, |
| 1865 | 'width' => true, |
| 1866 | 'style' => true, |
| 1867 | '__experimentalDefaultControls' => array( |
| 1868 | 'radius' => true, |
| 1869 | 'color' => true, |
| 1870 | 'width' => true, |
| 1871 | 'style' => true |
| 1872 | ) |
| 1873 | ) |
| 1874 | ), |
| 1875 | 'editorStyle' => 'wp-block-comments-editor', |
| 1876 | 'usesContext' => array( |
| 1877 | 'postId', |
| 1878 | 'postType' |
| 1879 | ) |
| 1880 | ), |
| 1881 | 'comments-pagination' => array( |
| 1882 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1883 | 'apiVersion' => 3, |
| 1884 | 'name' => 'core/comments-pagination', |
| 1885 | 'title' => 'Comments Pagination', |
| 1886 | 'category' => 'theme', |
| 1887 | 'parent' => array( |
| 1888 | 'core/comments' |
| 1889 | ), |
| 1890 | 'allowedBlocks' => array( |
| 1891 | 'core/comments-pagination-previous', |
| 1892 | 'core/comments-pagination-numbers', |
| 1893 | 'core/comments-pagination-next' |
| 1894 | ), |
| 1895 | 'description' => 'Displays a paginated navigation to next/previous set of comments, when applicable.', |
| 1896 | 'textdomain' => 'default', |
| 1897 | 'attributes' => array( |
| 1898 | 'paginationArrow' => array( |
| 1899 | 'type' => 'string', |
| 1900 | 'default' => 'none' |
| 1901 | ) |
| 1902 | ), |
| 1903 | 'example' => array( |
| 1904 | 'attributes' => array( |
| 1905 | 'paginationArrow' => 'none' |
| 1906 | ) |
| 1907 | ), |
| 1908 | 'providesContext' => array( |
| 1909 | 'comments/paginationArrow' => 'paginationArrow' |
| 1910 | ), |
| 1911 | 'supports' => array( |
| 1912 | 'anchor' => true, |
| 1913 | 'align' => true, |
| 1914 | 'reusable' => false, |
| 1915 | 'html' => false, |
| 1916 | 'color' => array( |
| 1917 | 'gradients' => true, |
| 1918 | 'link' => true, |
| 1919 | '__experimentalDefaultControls' => array( |
| 1920 | 'background' => true, |
| 1921 | 'text' => true, |
| 1922 | 'link' => true |
| 1923 | ) |
| 1924 | ), |
| 1925 | 'layout' => array( |
| 1926 | 'allowSwitching' => false, |
| 1927 | 'allowInheriting' => false, |
| 1928 | 'default' => array( |
| 1929 | 'type' => 'flex' |
| 1930 | ) |
| 1931 | ), |
| 1932 | 'typography' => array( |
| 1933 | 'fontSize' => true, |
| 1934 | 'lineHeight' => true, |
| 1935 | '__experimentalFontFamily' => true, |
| 1936 | '__experimentalFontWeight' => true, |
| 1937 | '__experimentalFontStyle' => true, |
| 1938 | '__experimentalTextTransform' => true, |
| 1939 | '__experimentalTextDecoration' => true, |
| 1940 | '__experimentalLetterSpacing' => true, |
| 1941 | '__experimentalDefaultControls' => array( |
| 1942 | 'fontSize' => true |
| 1943 | ) |
| 1944 | ), |
| 1945 | 'interactivity' => array( |
| 1946 | 'clientNavigation' => true |
| 1947 | ) |
| 1948 | ), |
| 1949 | 'editorStyle' => 'wp-block-comments-pagination-editor', |
| 1950 | 'style' => 'wp-block-comments-pagination' |
| 1951 | ), |
| 1952 | 'comments-pagination-next' => array( |
| 1953 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 1954 | 'apiVersion' => 3, |
| 1955 | 'name' => 'core/comments-pagination-next', |
| 1956 | 'title' => 'Comments Next Page', |
| 1957 | 'category' => 'theme', |
| 1958 | 'parent' => array( |
| 1959 | 'core/comments-pagination' |
| 1960 | ), |
| 1961 | 'description' => 'Displays the next comment\'s page link.', |
| 1962 | 'textdomain' => 'default', |
| 1963 | 'attributes' => array( |
| 1964 | 'label' => array( |
| 1965 | 'type' => 'string' |
| 1966 | ) |
| 1967 | ), |
| 1968 | 'usesContext' => array( |
| 1969 | 'postId', |
| 1970 | 'comments/paginationArrow' |
| 1971 | ), |
| 1972 | 'supports' => array( |
| 1973 | 'anchor' => true, |
| 1974 | 'reusable' => false, |
| 1975 | 'html' => false, |
| 1976 | 'color' => array( |
| 1977 | 'gradients' => true, |
| 1978 | 'text' => false, |
| 1979 | '__experimentalDefaultControls' => array( |
| 1980 | 'background' => true |
| 1981 | ) |
| 1982 | ), |
| 1983 | 'typography' => array( |
| 1984 | 'fontSize' => true, |
| 1985 | 'lineHeight' => true, |
| 1986 | '__experimentalFontFamily' => true, |
| 1987 | '__experimentalFontWeight' => true, |
| 1988 | '__experimentalFontStyle' => true, |
| 1989 | '__experimentalTextTransform' => true, |
| 1990 | '__experimentalTextDecoration' => true, |
| 1991 | '__experimentalLetterSpacing' => true, |
| 1992 | '__experimentalDefaultControls' => array( |
| 1993 | 'fontSize' => true |
| 1994 | ) |
| 1995 | ), |
| 1996 | 'interactivity' => array( |
| 1997 | 'clientNavigation' => true |
| 1998 | ) |
| 1999 | ) |
| 2000 | ), |
| 2001 | 'comments-pagination-numbers' => array( |
| 2002 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2003 | 'apiVersion' => 3, |
| 2004 | 'name' => 'core/comments-pagination-numbers', |
| 2005 | 'title' => 'Comments Page Numbers', |
| 2006 | 'category' => 'theme', |
| 2007 | 'parent' => array( |
| 2008 | 'core/comments-pagination' |
| 2009 | ), |
| 2010 | 'description' => 'Displays a list of page numbers for comments pagination.', |
| 2011 | 'textdomain' => 'default', |
| 2012 | 'usesContext' => array( |
| 2013 | 'postId' |
| 2014 | ), |
| 2015 | 'supports' => array( |
| 2016 | 'anchor' => true, |
| 2017 | 'reusable' => false, |
| 2018 | 'html' => false, |
| 2019 | 'color' => array( |
| 2020 | 'gradients' => true, |
| 2021 | 'text' => false, |
| 2022 | '__experimentalDefaultControls' => array( |
| 2023 | 'background' => true |
| 2024 | ) |
| 2025 | ), |
| 2026 | 'typography' => array( |
| 2027 | 'fontSize' => true, |
| 2028 | 'lineHeight' => true, |
| 2029 | '__experimentalFontFamily' => true, |
| 2030 | '__experimentalFontWeight' => true, |
| 2031 | '__experimentalFontStyle' => true, |
| 2032 | '__experimentalTextTransform' => true, |
| 2033 | '__experimentalTextDecoration' => true, |
| 2034 | '__experimentalLetterSpacing' => true, |
| 2035 | '__experimentalDefaultControls' => array( |
| 2036 | 'fontSize' => true |
| 2037 | ) |
| 2038 | ), |
| 2039 | 'interactivity' => array( |
| 2040 | 'clientNavigation' => true |
| 2041 | ), |
| 2042 | 'spacing' => array( |
| 2043 | 'margin' => true, |
| 2044 | 'padding' => true, |
| 2045 | '__experimentalDefaultControls' => array( |
| 2046 | 'padding' => true |
| 2047 | ) |
| 2048 | ) |
| 2049 | ) |
| 2050 | ), |
| 2051 | 'comments-pagination-previous' => array( |
| 2052 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2053 | 'apiVersion' => 3, |
| 2054 | 'name' => 'core/comments-pagination-previous', |
| 2055 | 'title' => 'Comments Previous Page', |
| 2056 | 'category' => 'theme', |
| 2057 | 'parent' => array( |
| 2058 | 'core/comments-pagination' |
| 2059 | ), |
| 2060 | 'description' => 'Displays the previous comment\'s page link.', |
| 2061 | 'textdomain' => 'default', |
| 2062 | 'attributes' => array( |
| 2063 | 'label' => array( |
| 2064 | 'type' => 'string' |
| 2065 | ) |
| 2066 | ), |
| 2067 | 'usesContext' => array( |
| 2068 | 'postId', |
| 2069 | 'comments/paginationArrow' |
| 2070 | ), |
| 2071 | 'supports' => array( |
| 2072 | 'anchor' => true, |
| 2073 | 'reusable' => false, |
| 2074 | 'html' => false, |
| 2075 | 'color' => array( |
| 2076 | 'gradients' => true, |
| 2077 | 'text' => false, |
| 2078 | '__experimentalDefaultControls' => array( |
| 2079 | 'background' => true |
| 2080 | ) |
| 2081 | ), |
| 2082 | 'typography' => array( |
| 2083 | 'fontSize' => true, |
| 2084 | 'lineHeight' => true, |
| 2085 | '__experimentalFontFamily' => true, |
| 2086 | '__experimentalFontWeight' => true, |
| 2087 | '__experimentalFontStyle' => true, |
| 2088 | '__experimentalTextTransform' => true, |
| 2089 | '__experimentalTextDecoration' => true, |
| 2090 | '__experimentalLetterSpacing' => true, |
| 2091 | '__experimentalDefaultControls' => array( |
| 2092 | 'fontSize' => true |
| 2093 | ) |
| 2094 | ), |
| 2095 | 'interactivity' => array( |
| 2096 | 'clientNavigation' => true |
| 2097 | ) |
| 2098 | ) |
| 2099 | ), |
| 2100 | 'comments-title' => array( |
| 2101 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2102 | 'apiVersion' => 3, |
| 2103 | 'name' => 'core/comments-title', |
| 2104 | 'title' => 'Comments Title', |
| 2105 | 'category' => 'theme', |
| 2106 | 'ancestor' => array( |
| 2107 | 'core/comments' |
| 2108 | ), |
| 2109 | 'description' => 'Displays a title with the number of comments.', |
| 2110 | 'textdomain' => 'default', |
| 2111 | 'usesContext' => array( |
| 2112 | 'postId', |
| 2113 | 'postType' |
| 2114 | ), |
| 2115 | 'attributes' => array( |
| 2116 | 'showPostTitle' => array( |
| 2117 | 'type' => 'boolean', |
| 2118 | 'default' => true |
| 2119 | ), |
| 2120 | 'showCommentsCount' => array( |
| 2121 | 'type' => 'boolean', |
| 2122 | 'default' => true |
| 2123 | ), |
| 2124 | 'level' => array( |
| 2125 | 'type' => 'number', |
| 2126 | 'default' => 2 |
| 2127 | ), |
| 2128 | 'levelOptions' => array( |
| 2129 | 'type' => 'array' |
| 2130 | ) |
| 2131 | ), |
| 2132 | 'supports' => array( |
| 2133 | 'anchor' => true, |
| 2134 | 'align' => true, |
| 2135 | 'html' => false, |
| 2136 | '__experimentalBorder' => array( |
| 2137 | 'radius' => true, |
| 2138 | 'color' => true, |
| 2139 | 'width' => true, |
| 2140 | 'style' => true |
| 2141 | ), |
| 2142 | 'color' => array( |
| 2143 | 'gradients' => true, |
| 2144 | '__experimentalDefaultControls' => array( |
| 2145 | 'background' => true, |
| 2146 | 'text' => true |
| 2147 | ) |
| 2148 | ), |
| 2149 | 'spacing' => array( |
| 2150 | 'margin' => true, |
| 2151 | 'padding' => true |
| 2152 | ), |
| 2153 | 'typography' => array( |
| 2154 | 'fontSize' => true, |
| 2155 | 'lineHeight' => true, |
| 2156 | 'textAlign' => true, |
| 2157 | '__experimentalFontFamily' => true, |
| 2158 | '__experimentalFontWeight' => true, |
| 2159 | '__experimentalFontStyle' => true, |
| 2160 | '__experimentalTextTransform' => true, |
| 2161 | '__experimentalTextDecoration' => true, |
| 2162 | '__experimentalLetterSpacing' => true, |
| 2163 | '__experimentalDefaultControls' => array( |
| 2164 | 'fontSize' => true, |
| 2165 | '__experimentalFontFamily' => true, |
| 2166 | '__experimentalFontStyle' => true, |
| 2167 | '__experimentalFontWeight' => true |
| 2168 | ) |
| 2169 | ), |
| 2170 | 'interactivity' => array( |
| 2171 | 'clientNavigation' => true |
| 2172 | ) |
| 2173 | ) |
| 2174 | ), |
| 2175 | 'cover' => array( |
| 2176 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2177 | 'apiVersion' => 3, |
| 2178 | 'name' => 'core/cover', |
| 2179 | 'title' => 'Cover', |
| 2180 | 'category' => 'media', |
| 2181 | 'description' => 'Add an image or video with a text overlay.', |
| 2182 | 'textdomain' => 'default', |
| 2183 | 'attributes' => array( |
| 2184 | 'url' => array( |
| 2185 | 'type' => 'string', |
| 2186 | 'role' => 'content' |
| 2187 | ), |
| 2188 | 'useFeaturedImage' => array( |
| 2189 | 'type' => 'boolean', |
| 2190 | 'default' => false |
| 2191 | ), |
| 2192 | 'id' => array( |
| 2193 | 'type' => 'number' |
| 2194 | ), |
| 2195 | 'alt' => array( |
| 2196 | 'type' => 'string', |
| 2197 | 'default' => '' |
| 2198 | ), |
| 2199 | 'hasParallax' => array( |
| 2200 | 'type' => 'boolean', |
| 2201 | 'default' => false |
| 2202 | ), |
| 2203 | 'isRepeated' => array( |
| 2204 | 'type' => 'boolean', |
| 2205 | 'default' => false |
| 2206 | ), |
| 2207 | 'dimRatio' => array( |
| 2208 | 'type' => 'number', |
| 2209 | 'default' => 100 |
| 2210 | ), |
| 2211 | 'overlayColor' => array( |
| 2212 | 'type' => 'string' |
| 2213 | ), |
| 2214 | 'customOverlayColor' => array( |
| 2215 | 'type' => 'string' |
| 2216 | ), |
| 2217 | 'isUserOverlayColor' => array( |
| 2218 | 'type' => 'boolean' |
| 2219 | ), |
| 2220 | 'backgroundType' => array( |
| 2221 | 'type' => 'string', |
| 2222 | 'default' => 'image' |
| 2223 | ), |
| 2224 | 'focalPoint' => array( |
| 2225 | 'type' => 'object' |
| 2226 | ), |
| 2227 | 'minHeight' => array( |
| 2228 | 'type' => 'number' |
| 2229 | ), |
| 2230 | 'minHeightUnit' => array( |
| 2231 | 'type' => 'string' |
| 2232 | ), |
| 2233 | 'gradient' => array( |
| 2234 | 'type' => 'string' |
| 2235 | ), |
| 2236 | 'customGradient' => array( |
| 2237 | 'type' => 'string' |
| 2238 | ), |
| 2239 | 'contentPosition' => array( |
| 2240 | 'type' => 'string' |
| 2241 | ), |
| 2242 | 'isDark' => array( |
| 2243 | 'type' => 'boolean', |
| 2244 | 'default' => true |
| 2245 | ), |
| 2246 | 'templateLock' => array( |
| 2247 | 'type' => array( |
| 2248 | 'string', |
| 2249 | 'boolean' |
| 2250 | ), |
| 2251 | 'enum' => array( |
| 2252 | 'all', |
| 2253 | 'insert', |
| 2254 | 'contentOnly', |
| 2255 | false |
| 2256 | ) |
| 2257 | ), |
| 2258 | 'tagName' => array( |
| 2259 | 'type' => 'string', |
| 2260 | 'default' => 'div' |
| 2261 | ), |
| 2262 | 'sizeSlug' => array( |
| 2263 | 'type' => 'string' |
| 2264 | ), |
| 2265 | 'poster' => array( |
| 2266 | 'type' => 'string', |
| 2267 | 'source' => 'attribute', |
| 2268 | 'selector' => 'video', |
| 2269 | 'attribute' => 'poster' |
| 2270 | ) |
| 2271 | ), |
| 2272 | 'usesContext' => array( |
| 2273 | 'postId', |
| 2274 | 'postType' |
| 2275 | ), |
| 2276 | 'supports' => array( |
| 2277 | 'anchor' => true, |
| 2278 | 'align' => true, |
| 2279 | 'html' => false, |
| 2280 | 'shadow' => true, |
| 2281 | 'spacing' => array( |
| 2282 | 'padding' => true, |
| 2283 | 'margin' => array( |
| 2284 | 'top', |
| 2285 | 'bottom' |
| 2286 | ), |
| 2287 | 'blockGap' => true, |
| 2288 | '__experimentalDefaultControls' => array( |
| 2289 | 'padding' => true, |
| 2290 | 'blockGap' => true |
| 2291 | ) |
| 2292 | ), |
| 2293 | '__experimentalBorder' => array( |
| 2294 | 'color' => true, |
| 2295 | 'radius' => true, |
| 2296 | 'style' => true, |
| 2297 | 'width' => true, |
| 2298 | '__experimentalDefaultControls' => array( |
| 2299 | 'color' => true, |
| 2300 | 'radius' => true, |
| 2301 | 'style' => true, |
| 2302 | 'width' => true |
| 2303 | ) |
| 2304 | ), |
| 2305 | 'color' => array( |
| 2306 | 'heading' => true, |
| 2307 | 'text' => true, |
| 2308 | 'background' => false, |
| 2309 | '__experimentalSkipSerialization' => array( |
| 2310 | 'gradients' |
| 2311 | ), |
| 2312 | 'enableContrastChecker' => false |
| 2313 | ), |
| 2314 | 'dimensions' => array( |
| 2315 | 'aspectRatio' => true |
| 2316 | ), |
| 2317 | 'typography' => array( |
| 2318 | 'fontSize' => true, |
| 2319 | 'lineHeight' => true, |
| 2320 | '__experimentalFontFamily' => true, |
| 2321 | '__experimentalFontWeight' => true, |
| 2322 | '__experimentalFontStyle' => true, |
| 2323 | '__experimentalTextTransform' => true, |
| 2324 | '__experimentalTextDecoration' => true, |
| 2325 | '__experimentalLetterSpacing' => true, |
| 2326 | '__experimentalDefaultControls' => array( |
| 2327 | 'fontSize' => true |
| 2328 | ) |
| 2329 | ), |
| 2330 | 'layout' => array( |
| 2331 | 'allowJustification' => false |
| 2332 | ), |
| 2333 | 'interactivity' => array( |
| 2334 | 'clientNavigation' => true |
| 2335 | ), |
| 2336 | 'filter' => array( |
| 2337 | 'duotone' => true |
| 2338 | ), |
| 2339 | 'allowedBlocks' => true |
| 2340 | ), |
| 2341 | 'selectors' => array( |
| 2342 | 'filter' => array( |
| 2343 | 'duotone' => '.wp-block-cover > .wp-block-cover__image-background, .wp-block-cover > .wp-block-cover__video-background' |
| 2344 | ) |
| 2345 | ), |
| 2346 | 'editorStyle' => 'wp-block-cover-editor', |
| 2347 | 'style' => 'wp-block-cover' |
| 2348 | ), |
| 2349 | 'details' => array( |
| 2350 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2351 | 'apiVersion' => 3, |
| 2352 | 'name' => 'core/details', |
| 2353 | 'title' => 'Details', |
| 2354 | 'category' => 'text', |
| 2355 | 'description' => 'Hide and show additional content.', |
| 2356 | 'keywords' => array( |
| 2357 | 'summary', |
| 2358 | 'toggle', |
| 2359 | 'disclosure' |
| 2360 | ), |
| 2361 | 'textdomain' => 'default', |
| 2362 | 'attributes' => array( |
| 2363 | 'showContent' => array( |
| 2364 | 'type' => 'boolean', |
| 2365 | 'default' => false |
| 2366 | ), |
| 2367 | 'summary' => array( |
| 2368 | 'type' => 'rich-text', |
| 2369 | 'source' => 'rich-text', |
| 2370 | 'selector' => 'summary', |
| 2371 | 'role' => 'content' |
| 2372 | ), |
| 2373 | 'name' => array( |
| 2374 | 'type' => 'string', |
| 2375 | 'source' => 'attribute', |
| 2376 | 'attribute' => 'name', |
| 2377 | 'selector' => '.wp-block-details' |
| 2378 | ), |
| 2379 | 'placeholder' => array( |
| 2380 | 'type' => 'string' |
| 2381 | ) |
| 2382 | ), |
| 2383 | 'supports' => array( |
| 2384 | '__experimentalOnEnter' => true, |
| 2385 | 'align' => array( |
| 2386 | 'wide', |
| 2387 | 'full' |
| 2388 | ), |
| 2389 | 'anchor' => true, |
| 2390 | 'color' => array( |
| 2391 | 'gradients' => true, |
| 2392 | 'link' => true, |
| 2393 | '__experimentalDefaultControls' => array( |
| 2394 | 'background' => true, |
| 2395 | 'text' => true |
| 2396 | ) |
| 2397 | ), |
| 2398 | '__experimentalBorder' => array( |
| 2399 | 'color' => true, |
| 2400 | 'width' => true, |
| 2401 | 'style' => true |
| 2402 | ), |
| 2403 | 'html' => false, |
| 2404 | 'spacing' => array( |
| 2405 | 'margin' => true, |
| 2406 | 'padding' => true, |
| 2407 | 'blockGap' => true, |
| 2408 | '__experimentalDefaultControls' => array( |
| 2409 | 'margin' => false, |
| 2410 | 'padding' => false |
| 2411 | ) |
| 2412 | ), |
| 2413 | 'typography' => array( |
| 2414 | 'fontSize' => true, |
| 2415 | 'lineHeight' => true, |
| 2416 | '__experimentalFontFamily' => true, |
| 2417 | '__experimentalFontWeight' => true, |
| 2418 | '__experimentalFontStyle' => true, |
| 2419 | '__experimentalTextTransform' => true, |
| 2420 | '__experimentalTextDecoration' => true, |
| 2421 | '__experimentalLetterSpacing' => true, |
| 2422 | '__experimentalDefaultControls' => array( |
| 2423 | 'fontSize' => true |
| 2424 | ) |
| 2425 | ), |
| 2426 | 'layout' => array( |
| 2427 | 'allowEditing' => false |
| 2428 | ), |
| 2429 | 'interactivity' => array( |
| 2430 | 'clientNavigation' => true |
| 2431 | ), |
| 2432 | 'allowedBlocks' => true |
| 2433 | ), |
| 2434 | 'editorStyle' => 'wp-block-details-editor', |
| 2435 | 'style' => 'wp-block-details' |
| 2436 | ), |
| 2437 | 'embed' => array( |
| 2438 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2439 | 'apiVersion' => 3, |
| 2440 | 'name' => 'core/embed', |
| 2441 | 'title' => 'Embed', |
| 2442 | 'category' => 'embed', |
| 2443 | 'description' => 'Add a block that displays content pulled from other sites, like Twitter or YouTube.', |
| 2444 | 'textdomain' => 'default', |
| 2445 | 'attributes' => array( |
| 2446 | 'url' => array( |
| 2447 | 'type' => 'string', |
| 2448 | 'role' => 'content' |
| 2449 | ), |
| 2450 | 'caption' => array( |
| 2451 | 'type' => 'rich-text', |
| 2452 | 'source' => 'rich-text', |
| 2453 | 'selector' => 'figcaption', |
| 2454 | 'role' => 'content' |
| 2455 | ), |
| 2456 | 'type' => array( |
| 2457 | 'type' => 'string', |
| 2458 | 'role' => 'content' |
| 2459 | ), |
| 2460 | 'providerNameSlug' => array( |
| 2461 | 'type' => 'string', |
| 2462 | 'role' => 'content' |
| 2463 | ), |
| 2464 | 'allowResponsive' => array( |
| 2465 | 'type' => 'boolean', |
| 2466 | 'default' => true |
| 2467 | ), |
| 2468 | 'responsive' => array( |
| 2469 | 'type' => 'boolean', |
| 2470 | 'default' => false, |
| 2471 | 'role' => 'content' |
| 2472 | ), |
| 2473 | 'previewable' => array( |
| 2474 | 'type' => 'boolean', |
| 2475 | 'default' => true, |
| 2476 | 'role' => 'content' |
| 2477 | ) |
| 2478 | ), |
| 2479 | 'supports' => array( |
| 2480 | 'anchor' => true, |
| 2481 | 'align' => true, |
| 2482 | 'spacing' => array( |
| 2483 | 'margin' => true |
| 2484 | ), |
| 2485 | 'interactivity' => array( |
| 2486 | 'clientNavigation' => true |
| 2487 | ) |
| 2488 | ), |
| 2489 | 'editorStyle' => 'wp-block-embed-editor', |
| 2490 | 'style' => 'wp-block-embed' |
| 2491 | ), |
| 2492 | 'file' => array( |
| 2493 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2494 | 'apiVersion' => 3, |
| 2495 | 'name' => 'core/file', |
| 2496 | 'title' => 'File', |
| 2497 | 'category' => 'media', |
| 2498 | 'description' => 'Add a link to a downloadable file.', |
| 2499 | 'keywords' => array( |
| 2500 | 'document', |
| 2501 | 'pdf', |
| 2502 | 'download' |
| 2503 | ), |
| 2504 | 'textdomain' => 'default', |
| 2505 | 'attributes' => array( |
| 2506 | 'id' => array( |
| 2507 | 'type' => 'number' |
| 2508 | ), |
| 2509 | 'blob' => array( |
| 2510 | 'type' => 'string', |
| 2511 | 'role' => 'local' |
| 2512 | ), |
| 2513 | 'href' => array( |
| 2514 | 'type' => 'string', |
| 2515 | 'role' => 'content' |
| 2516 | ), |
| 2517 | 'fileId' => array( |
| 2518 | 'type' => 'string', |
| 2519 | 'source' => 'attribute', |
| 2520 | 'selector' => 'a:not([download])', |
| 2521 | 'attribute' => 'id' |
| 2522 | ), |
| 2523 | 'fileName' => array( |
| 2524 | 'type' => 'rich-text', |
| 2525 | 'source' => 'rich-text', |
| 2526 | 'selector' => 'a:not([download])', |
| 2527 | 'role' => 'content' |
| 2528 | ), |
| 2529 | 'textLinkHref' => array( |
| 2530 | 'type' => 'string', |
| 2531 | 'source' => 'attribute', |
| 2532 | 'selector' => 'a:not([download])', |
| 2533 | 'attribute' => 'href', |
| 2534 | 'role' => 'content' |
| 2535 | ), |
| 2536 | 'textLinkTarget' => array( |
| 2537 | 'type' => 'string', |
| 2538 | 'source' => 'attribute', |
| 2539 | 'selector' => 'a:not([download])', |
| 2540 | 'attribute' => 'target' |
| 2541 | ), |
| 2542 | 'showDownloadButton' => array( |
| 2543 | 'type' => 'boolean', |
| 2544 | 'default' => true |
| 2545 | ), |
| 2546 | 'downloadButtonText' => array( |
| 2547 | 'type' => 'rich-text', |
| 2548 | 'source' => 'rich-text', |
| 2549 | 'selector' => 'a[download]', |
| 2550 | 'role' => 'content' |
| 2551 | ), |
| 2552 | 'displayPreview' => array( |
| 2553 | 'type' => 'boolean' |
| 2554 | ), |
| 2555 | 'previewHeight' => array( |
| 2556 | 'type' => 'number', |
| 2557 | 'default' => 600 |
| 2558 | ) |
| 2559 | ), |
| 2560 | 'supports' => array( |
| 2561 | 'anchor' => true, |
| 2562 | 'align' => true, |
| 2563 | 'spacing' => array( |
| 2564 | 'margin' => true, |
| 2565 | 'padding' => true |
| 2566 | ), |
| 2567 | 'color' => array( |
| 2568 | 'gradients' => true, |
| 2569 | 'link' => true, |
| 2570 | 'text' => false, |
| 2571 | '__experimentalDefaultControls' => array( |
| 2572 | 'background' => true, |
| 2573 | 'link' => true |
| 2574 | ) |
| 2575 | ), |
| 2576 | '__experimentalBorder' => array( |
| 2577 | 'radius' => true, |
| 2578 | 'color' => true, |
| 2579 | 'width' => true, |
| 2580 | 'style' => true, |
| 2581 | '__experimentalDefaultControls' => array( |
| 2582 | 'radius' => true, |
| 2583 | 'color' => true, |
| 2584 | 'width' => true, |
| 2585 | 'style' => true |
| 2586 | ) |
| 2587 | ), |
| 2588 | 'interactivity' => true |
| 2589 | ), |
| 2590 | 'editorStyle' => 'wp-block-file-editor', |
| 2591 | 'style' => 'wp-block-file' |
| 2592 | ), |
| 2593 | 'footnotes' => array( |
| 2594 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2595 | 'apiVersion' => 3, |
| 2596 | 'name' => 'core/footnotes', |
| 2597 | 'title' => 'Footnotes', |
| 2598 | 'category' => 'text', |
| 2599 | 'description' => 'Display footnotes added to the page.', |
| 2600 | 'keywords' => array( |
| 2601 | 'references' |
| 2602 | ), |
| 2603 | 'textdomain' => 'default', |
| 2604 | 'usesContext' => array( |
| 2605 | 'postId', |
| 2606 | 'postType' |
| 2607 | ), |
| 2608 | 'supports' => array( |
| 2609 | 'anchor' => true, |
| 2610 | '__experimentalBorder' => array( |
| 2611 | 'radius' => true, |
| 2612 | 'color' => true, |
| 2613 | 'width' => true, |
| 2614 | 'style' => true, |
| 2615 | '__experimentalDefaultControls' => array( |
| 2616 | 'radius' => false, |
| 2617 | 'color' => false, |
| 2618 | 'width' => false, |
| 2619 | 'style' => false |
| 2620 | ) |
| 2621 | ), |
| 2622 | 'color' => array( |
| 2623 | 'background' => true, |
| 2624 | 'link' => true, |
| 2625 | 'text' => true, |
| 2626 | '__experimentalDefaultControls' => array( |
| 2627 | 'link' => true, |
| 2628 | 'text' => true |
| 2629 | ) |
| 2630 | ), |
| 2631 | 'html' => false, |
| 2632 | 'multiple' => false, |
| 2633 | 'reusable' => false, |
| 2634 | 'inserter' => false, |
| 2635 | 'spacing' => array( |
| 2636 | 'margin' => true, |
| 2637 | 'padding' => true, |
| 2638 | '__experimentalDefaultControls' => array( |
| 2639 | 'margin' => false, |
| 2640 | 'padding' => false |
| 2641 | ) |
| 2642 | ), |
| 2643 | 'typography' => array( |
| 2644 | 'fontSize' => true, |
| 2645 | 'lineHeight' => true, |
| 2646 | '__experimentalFontFamily' => true, |
| 2647 | '__experimentalTextDecoration' => true, |
| 2648 | '__experimentalFontStyle' => true, |
| 2649 | '__experimentalFontWeight' => true, |
| 2650 | '__experimentalLetterSpacing' => true, |
| 2651 | '__experimentalTextTransform' => true, |
| 2652 | '__experimentalWritingMode' => true, |
| 2653 | '__experimentalDefaultControls' => array( |
| 2654 | 'fontSize' => true |
| 2655 | ) |
| 2656 | ), |
| 2657 | 'interactivity' => array( |
| 2658 | 'clientNavigation' => true |
| 2659 | ) |
| 2660 | ), |
| 2661 | 'style' => 'wp-block-footnotes' |
| 2662 | ), |
| 2663 | 'form' => array( |
| 2664 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2665 | 'apiVersion' => 3, |
| 2666 | '__experimental' => true, |
| 2667 | 'name' => 'core/form', |
| 2668 | 'title' => 'Form', |
| 2669 | 'category' => 'widgets', |
| 2670 | 'allowedBlocks' => array( |
| 2671 | 'core/paragraph', |
| 2672 | 'core/heading', |
| 2673 | 'core/form-input', |
| 2674 | 'core/form-submit-button', |
| 2675 | 'core/form-submission-notification', |
| 2676 | 'core/group', |
| 2677 | 'core/columns' |
| 2678 | ), |
| 2679 | 'description' => 'A form.', |
| 2680 | 'keywords' => array( |
| 2681 | 'container', |
| 2682 | 'wrapper', |
| 2683 | 'row', |
| 2684 | 'section' |
| 2685 | ), |
| 2686 | 'textdomain' => 'default', |
| 2687 | 'attributes' => array( |
| 2688 | 'submissionMethod' => array( |
| 2689 | 'type' => 'string', |
| 2690 | 'default' => 'email' |
| 2691 | ), |
| 2692 | 'method' => array( |
| 2693 | 'type' => 'string', |
| 2694 | 'default' => 'post' |
| 2695 | ), |
| 2696 | 'action' => array( |
| 2697 | 'type' => 'string' |
| 2698 | ), |
| 2699 | 'email' => array( |
| 2700 | 'type' => 'string' |
| 2701 | ) |
| 2702 | ), |
| 2703 | 'supports' => array( |
| 2704 | 'anchor' => true, |
| 2705 | 'color' => array( |
| 2706 | 'gradients' => true, |
| 2707 | 'link' => true, |
| 2708 | '__experimentalDefaultControls' => array( |
| 2709 | 'background' => true, |
| 2710 | 'text' => true, |
| 2711 | 'link' => true |
| 2712 | ) |
| 2713 | ), |
| 2714 | 'spacing' => array( |
| 2715 | 'margin' => true, |
| 2716 | 'padding' => true |
| 2717 | ), |
| 2718 | 'typography' => array( |
| 2719 | 'fontSize' => true, |
| 2720 | 'lineHeight' => true, |
| 2721 | '__experimentalFontFamily' => true, |
| 2722 | '__experimentalTextDecoration' => true, |
| 2723 | '__experimentalFontStyle' => true, |
| 2724 | '__experimentalFontWeight' => true, |
| 2725 | '__experimentalLetterSpacing' => true, |
| 2726 | '__experimentalTextTransform' => true, |
| 2727 | '__experimentalDefaultControls' => array( |
| 2728 | 'fontSize' => true |
| 2729 | ) |
| 2730 | ) |
| 2731 | ) |
| 2732 | ), |
| 2733 | 'form-input' => array( |
| 2734 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2735 | 'apiVersion' => 3, |
| 2736 | '__experimental' => true, |
| 2737 | 'name' => 'core/form-input', |
| 2738 | 'title' => 'Input Field', |
| 2739 | 'category' => 'widgets', |
| 2740 | 'ancestor' => array( |
| 2741 | 'core/form' |
| 2742 | ), |
| 2743 | 'description' => 'The basic building block for forms.', |
| 2744 | 'keywords' => array( |
| 2745 | 'input', |
| 2746 | 'form' |
| 2747 | ), |
| 2748 | 'textdomain' => 'default', |
| 2749 | 'attributes' => array( |
| 2750 | 'type' => array( |
| 2751 | 'type' => 'string', |
| 2752 | 'default' => 'text' |
| 2753 | ), |
| 2754 | 'name' => array( |
| 2755 | 'type' => 'string' |
| 2756 | ), |
| 2757 | 'label' => array( |
| 2758 | 'type' => 'rich-text', |
| 2759 | 'default' => 'Label', |
| 2760 | 'selector' => '.wp-block-form-input__label-content', |
| 2761 | 'source' => 'rich-text', |
| 2762 | 'role' => 'content' |
| 2763 | ), |
| 2764 | 'inlineLabel' => array( |
| 2765 | 'type' => 'boolean', |
| 2766 | 'default' => false |
| 2767 | ), |
| 2768 | 'required' => array( |
| 2769 | 'type' => 'boolean', |
| 2770 | 'default' => false, |
| 2771 | 'selector' => '.wp-block-form-input__input', |
| 2772 | 'source' => 'attribute', |
| 2773 | 'attribute' => 'required' |
| 2774 | ), |
| 2775 | 'placeholder' => array( |
| 2776 | 'type' => 'string', |
| 2777 | 'selector' => '.wp-block-form-input__input', |
| 2778 | 'source' => 'attribute', |
| 2779 | 'attribute' => 'placeholder', |
| 2780 | 'role' => 'content' |
| 2781 | ), |
| 2782 | 'value' => array( |
| 2783 | 'type' => 'string', |
| 2784 | 'default' => '', |
| 2785 | 'selector' => 'input', |
| 2786 | 'source' => 'attribute', |
| 2787 | 'attribute' => 'value' |
| 2788 | ), |
| 2789 | 'visibilityPermissions' => array( |
| 2790 | 'type' => 'string', |
| 2791 | 'default' => 'all' |
| 2792 | ) |
| 2793 | ), |
| 2794 | 'supports' => array( |
| 2795 | 'anchor' => true, |
| 2796 | 'reusable' => false, |
| 2797 | 'spacing' => array( |
| 2798 | 'margin' => array( |
| 2799 | 'top', |
| 2800 | 'bottom' |
| 2801 | ) |
| 2802 | ), |
| 2803 | '__experimentalBorder' => array( |
| 2804 | 'radius' => true, |
| 2805 | '__experimentalSkipSerialization' => true, |
| 2806 | '__experimentalDefaultControls' => array( |
| 2807 | 'radius' => true |
| 2808 | ) |
| 2809 | ) |
| 2810 | ), |
| 2811 | 'style' => array( |
| 2812 | 'wp-block-form-input' |
| 2813 | ) |
| 2814 | ), |
| 2815 | 'form-submission-notification' => array( |
| 2816 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2817 | 'apiVersion' => 3, |
| 2818 | '__experimental' => true, |
| 2819 | 'name' => 'core/form-submission-notification', |
| 2820 | 'title' => 'Form Submission Notification', |
| 2821 | 'category' => 'widgets', |
| 2822 | 'ancestor' => array( |
| 2823 | 'core/form' |
| 2824 | ), |
| 2825 | 'description' => 'Provide a notification message after the form has been submitted.', |
| 2826 | 'keywords' => array( |
| 2827 | 'form', |
| 2828 | 'feedback', |
| 2829 | 'notification', |
| 2830 | 'message' |
| 2831 | ), |
| 2832 | 'textdomain' => 'default', |
| 2833 | 'icon' => 'feedback', |
| 2834 | 'attributes' => array( |
| 2835 | 'type' => array( |
| 2836 | 'type' => 'string', |
| 2837 | 'default' => 'success' |
| 2838 | ) |
| 2839 | ) |
| 2840 | ), |
| 2841 | 'form-submit-button' => array( |
| 2842 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2843 | 'apiVersion' => 3, |
| 2844 | '__experimental' => true, |
| 2845 | 'name' => 'core/form-submit-button', |
| 2846 | 'title' => 'Form Submit Button', |
| 2847 | 'category' => 'widgets', |
| 2848 | 'icon' => 'button', |
| 2849 | 'ancestor' => array( |
| 2850 | 'core/form' |
| 2851 | ), |
| 2852 | 'allowedBlocks' => array( |
| 2853 | 'core/buttons', |
| 2854 | 'core/button' |
| 2855 | ), |
| 2856 | 'description' => 'A submission button for forms.', |
| 2857 | 'keywords' => array( |
| 2858 | 'submit', |
| 2859 | 'button', |
| 2860 | 'form' |
| 2861 | ), |
| 2862 | 'textdomain' => 'default', |
| 2863 | 'style' => array( |
| 2864 | 'wp-block-form-submit-button' |
| 2865 | ) |
| 2866 | ), |
| 2867 | 'freeform' => array( |
| 2868 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2869 | 'apiVersion' => 3, |
| 2870 | 'name' => 'core/freeform', |
| 2871 | 'title' => 'Classic', |
| 2872 | 'category' => 'text', |
| 2873 | 'description' => 'Use the classic WordPress editor.', |
| 2874 | 'textdomain' => 'default', |
| 2875 | 'attributes' => array( |
| 2876 | 'content' => array( |
| 2877 | 'type' => 'string', |
| 2878 | 'source' => 'raw' |
| 2879 | ) |
| 2880 | ), |
| 2881 | 'supports' => array( |
| 2882 | 'className' => false, |
| 2883 | 'customClassName' => false, |
| 2884 | 'lock' => false, |
| 2885 | 'reusable' => false, |
| 2886 | 'renaming' => false, |
| 2887 | 'visibility' => false, |
| 2888 | 'customCSS' => false |
| 2889 | ), |
| 2890 | 'editorStyle' => 'wp-block-freeform-editor' |
| 2891 | ), |
| 2892 | 'gallery' => array( |
| 2893 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 2894 | 'apiVersion' => 3, |
| 2895 | 'name' => 'core/gallery', |
| 2896 | 'title' => 'Gallery', |
| 2897 | 'category' => 'media', |
| 2898 | 'usesContext' => array( |
| 2899 | 'galleryId' |
| 2900 | ), |
| 2901 | 'allowedBlocks' => array( |
| 2902 | 'core/image' |
| 2903 | ), |
| 2904 | 'description' => 'Display multiple images in a rich gallery.', |
| 2905 | 'keywords' => array( |
| 2906 | 'images', |
| 2907 | 'photos' |
| 2908 | ), |
| 2909 | 'textdomain' => 'default', |
| 2910 | 'attributes' => array( |
| 2911 | 'images' => array( |
| 2912 | 'type' => 'array', |
| 2913 | 'default' => array( |
| 2914 | |
| 2915 | ), |
| 2916 | 'source' => 'query', |
| 2917 | 'selector' => '.blocks-gallery-item', |
| 2918 | 'query' => array( |
| 2919 | 'url' => array( |
| 2920 | 'type' => 'string', |
| 2921 | 'source' => 'attribute', |
| 2922 | 'selector' => 'img', |
| 2923 | 'attribute' => 'src' |
| 2924 | ), |
| 2925 | 'fullUrl' => array( |
| 2926 | 'type' => 'string', |
| 2927 | 'source' => 'attribute', |
| 2928 | 'selector' => 'img', |
| 2929 | 'attribute' => 'data-full-url' |
| 2930 | ), |
| 2931 | 'link' => array( |
| 2932 | 'type' => 'string', |
| 2933 | 'source' => 'attribute', |
| 2934 | 'selector' => 'img', |
| 2935 | 'attribute' => 'data-link' |
| 2936 | ), |
| 2937 | 'alt' => array( |
| 2938 | 'type' => 'string', |
| 2939 | 'source' => 'attribute', |
| 2940 | 'selector' => 'img', |
| 2941 | 'attribute' => 'alt', |
| 2942 | 'default' => '' |
| 2943 | ), |
| 2944 | 'id' => array( |
| 2945 | 'type' => 'string', |
| 2946 | 'source' => 'attribute', |
| 2947 | 'selector' => 'img', |
| 2948 | 'attribute' => 'data-id' |
| 2949 | ), |
| 2950 | 'caption' => array( |
| 2951 | 'type' => 'rich-text', |
| 2952 | 'source' => 'rich-text', |
| 2953 | 'selector' => '.blocks-gallery-item__caption' |
| 2954 | ) |
| 2955 | ) |
| 2956 | ), |
| 2957 | 'ids' => array( |
| 2958 | 'type' => 'array', |
| 2959 | 'items' => array( |
| 2960 | 'type' => 'number' |
| 2961 | ), |
| 2962 | 'default' => array( |
| 2963 | |
| 2964 | ) |
| 2965 | ), |
| 2966 | 'navigationButtonType' => array( |
| 2967 | 'type' => 'string', |
| 2968 | 'default' => 'icon', |
| 2969 | 'enum' => array( |
| 2970 | 'icon', |
| 2971 | 'text', |
| 2972 | 'both' |
| 2973 | ) |
| 2974 | ), |
| 2975 | 'shortCodeTransforms' => array( |
| 2976 | 'type' => 'array', |
| 2977 | 'items' => array( |
| 2978 | 'type' => 'object' |
| 2979 | ), |
| 2980 | 'default' => array( |
| 2981 | |
| 2982 | ) |
| 2983 | ), |
| 2984 | 'columns' => array( |
| 2985 | 'type' => 'number', |
| 2986 | 'minimum' => 1, |
| 2987 | 'maximum' => 8 |
| 2988 | ), |
| 2989 | 'caption' => array( |
| 2990 | 'type' => 'rich-text', |
| 2991 | 'source' => 'rich-text', |
| 2992 | 'selector' => '.blocks-gallery-caption', |
| 2993 | 'role' => 'content' |
| 2994 | ), |
| 2995 | 'imageCrop' => array( |
| 2996 | 'type' => 'boolean', |
| 2997 | 'default' => true |
| 2998 | ), |
| 2999 | 'randomOrder' => array( |
| 3000 | 'type' => 'boolean', |
| 3001 | 'default' => false |
| 3002 | ), |
| 3003 | 'fixedHeight' => array( |
| 3004 | 'type' => 'boolean', |
| 3005 | 'default' => true |
| 3006 | ), |
| 3007 | 'linkTarget' => array( |
| 3008 | 'type' => 'string' |
| 3009 | ), |
| 3010 | 'linkTo' => array( |
| 3011 | 'type' => 'string' |
| 3012 | ), |
| 3013 | 'sizeSlug' => array( |
| 3014 | 'type' => 'string', |
| 3015 | 'default' => 'large' |
| 3016 | ), |
| 3017 | 'allowResize' => array( |
| 3018 | 'type' => 'boolean', |
| 3019 | 'default' => false |
| 3020 | ), |
| 3021 | 'aspectRatio' => array( |
| 3022 | 'type' => 'string', |
| 3023 | 'default' => 'auto' |
| 3024 | ) |
| 3025 | ), |
| 3026 | 'providesContext' => array( |
| 3027 | 'allowResize' => 'allowResize', |
| 3028 | 'imageCrop' => 'imageCrop', |
| 3029 | 'fixedHeight' => 'fixedHeight', |
| 3030 | 'navigationButtonType' => 'navigationButtonType' |
| 3031 | ), |
| 3032 | 'supports' => array( |
| 3033 | 'anchor' => true, |
| 3034 | 'align' => true, |
| 3035 | '__experimentalBorder' => array( |
| 3036 | 'radius' => true, |
| 3037 | 'color' => true, |
| 3038 | 'width' => true, |
| 3039 | 'style' => true, |
| 3040 | '__experimentalDefaultControls' => array( |
| 3041 | 'color' => true, |
| 3042 | 'radius' => true |
| 3043 | ) |
| 3044 | ), |
| 3045 | 'html' => false, |
| 3046 | 'units' => array( |
| 3047 | 'px', |
| 3048 | 'em', |
| 3049 | 'rem', |
| 3050 | 'vh', |
| 3051 | 'vw' |
| 3052 | ), |
| 3053 | 'spacing' => array( |
| 3054 | 'margin' => true, |
| 3055 | 'padding' => true, |
| 3056 | 'blockGap' => array( |
| 3057 | 'horizontal', |
| 3058 | 'vertical' |
| 3059 | ), |
| 3060 | '__experimentalSkipSerialization' => array( |
| 3061 | 'blockGap' |
| 3062 | ), |
| 3063 | '__experimentalDefaultControls' => array( |
| 3064 | 'blockGap' => true, |
| 3065 | 'margin' => false, |
| 3066 | 'padding' => false |
| 3067 | ) |
| 3068 | ), |
| 3069 | 'color' => array( |
| 3070 | 'text' => false, |
| 3071 | 'background' => true, |
| 3072 | 'gradients' => true |
| 3073 | ), |
| 3074 | 'layout' => array( |
| 3075 | 'allowSwitching' => false, |
| 3076 | 'allowInheriting' => false, |
| 3077 | 'allowEditing' => false, |
| 3078 | 'default' => array( |
| 3079 | 'type' => 'flex' |
| 3080 | ) |
| 3081 | ), |
| 3082 | 'interactivity' => array( |
| 3083 | 'clientNavigation' => true |
| 3084 | ), |
| 3085 | 'listView' => true |
| 3086 | ), |
| 3087 | 'editorStyle' => 'wp-block-gallery-editor', |
| 3088 | 'style' => 'wp-block-gallery' |
| 3089 | ), |
| 3090 | 'group' => array( |
| 3091 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 3092 | 'apiVersion' => 3, |
| 3093 | 'name' => 'core/group', |
| 3094 | 'title' => 'Group', |
| 3095 | 'category' => 'design', |
| 3096 | 'description' => 'Gather blocks in a layout container.', |
| 3097 | 'keywords' => array( |
| 3098 | 'container', |
| 3099 | 'wrapper', |
| 3100 | 'row', |
| 3101 | 'section' |
| 3102 | ), |
| 3103 | 'textdomain' => 'default', |
| 3104 | 'attributes' => array( |
| 3105 | 'tagName' => array( |
| 3106 | 'type' => 'string', |
| 3107 | 'default' => 'div' |
| 3108 | ), |
| 3109 | 'templateLock' => array( |
| 3110 | 'type' => array( |
| 3111 | 'string', |
| 3112 | 'boolean' |
| 3113 | ), |
| 3114 | 'enum' => array( |
| 3115 | 'all', |
| 3116 | 'insert', |
| 3117 | 'contentOnly', |
| 3118 | false |
| 3119 | ) |
| 3120 | ) |
| 3121 | ), |
| 3122 | 'supports' => array( |
| 3123 | '__experimentalOnEnter' => true, |
| 3124 | '__experimentalOnMerge' => true, |
| 3125 | '__experimentalSettings' => true, |
| 3126 | 'align' => array( |
| 3127 | 'wide', |
| 3128 | 'full' |
| 3129 | ), |
| 3130 | 'anchor' => true, |
| 3131 | 'ariaLabel' => true, |
| 3132 | 'html' => false, |
| 3133 | 'background' => array( |
| 3134 | 'backgroundImage' => true, |
| 3135 | 'backgroundSize' => true, |
| 3136 | 'gradient' => true, |
| 3137 | '__experimentalDefaultControls' => array( |
| 3138 | 'backgroundImage' => true, |
| 3139 | 'gradient' => true |
| 3140 | ) |
| 3141 | ), |
| 3142 | 'color' => array( |
| 3143 | 'gradients' => true, |
| 3144 | 'heading' => true, |
| 3145 | 'button' => true, |
| 3146 | 'link' => true, |
| 3147 | '__experimentalDefaultControls' => array( |
| 3148 | 'background' => true, |
| 3149 | 'text' => true |
| 3150 | ) |
| 3151 | ), |
| 3152 | 'shadow' => true, |
| 3153 | 'spacing' => array( |
| 3154 | 'margin' => array( |
| 3155 | 'top', |
| 3156 | 'bottom' |
| 3157 | ), |
| 3158 | 'padding' => true, |
| 3159 | 'blockGap' => true, |
| 3160 | '__experimentalDefaultControls' => array( |
| 3161 | 'padding' => true, |
| 3162 | 'blockGap' => true |
| 3163 | ) |
| 3164 | ), |
| 3165 | 'dimensions' => array( |
| 3166 | 'minHeight' => true, |
| 3167 | 'minWidth' => true |
| 3168 | ), |
| 3169 | '__experimentalBorder' => array( |
| 3170 | 'color' => true, |
| 3171 | 'radius' => true, |
| 3172 | 'style' => true, |
| 3173 | 'width' => true, |
| 3174 | '__experimentalDefaultControls' => array( |
| 3175 | 'color' => true, |
| 3176 | 'radius' => true, |
| 3177 | 'style' => true, |
| 3178 | 'width' => true |
| 3179 | ) |
| 3180 | ), |
| 3181 | 'position' => array( |
| 3182 | 'sticky' => true |
| 3183 | ), |
| 3184 | 'typography' => array( |
| 3185 | 'fontSize' => true, |
| 3186 | 'lineHeight' => true, |
| 3187 | '__experimentalFontFamily' => true, |
| 3188 | '__experimentalFontWeight' => true, |
| 3189 | '__experimentalFontStyle' => true, |
| 3190 | '__experimentalTextTransform' => true, |
| 3191 | '__experimentalTextDecoration' => true, |
| 3192 | '__experimentalLetterSpacing' => true, |
| 3193 | '__experimentalDefaultControls' => array( |
| 3194 | 'fontSize' => true |
| 3195 | ) |
| 3196 | ), |
| 3197 | 'layout' => array( |
| 3198 | 'allowSizingOnChildren' => true |
| 3199 | ), |
| 3200 | 'interactivity' => array( |
| 3201 | 'clientNavigation' => true |
| 3202 | ), |
| 3203 | 'allowedBlocks' => true |
| 3204 | ), |
| 3205 | 'editorStyle' => 'wp-block-group-editor', |
| 3206 | 'style' => 'wp-block-group' |
| 3207 | ), |
| 3208 | 'heading' => array( |
| 3209 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 3210 | 'apiVersion' => 3, |
| 3211 | 'name' => 'core/heading', |
| 3212 | 'title' => 'Heading', |
| 3213 | 'category' => 'text', |
| 3214 | 'description' => 'Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.', |
| 3215 | 'keywords' => array( |
| 3216 | 'title', |
| 3217 | 'subtitle' |
| 3218 | ), |
| 3219 | 'textdomain' => 'default', |
| 3220 | 'attributes' => array( |
| 3221 | 'content' => array( |
| 3222 | 'type' => 'rich-text', |
| 3223 | 'source' => 'rich-text', |
| 3224 | 'selector' => 'h1,h2,h3,h4,h5,h6', |
| 3225 | 'role' => 'content' |
| 3226 | ), |
| 3227 | 'level' => array( |
| 3228 | 'type' => 'number', |
| 3229 | 'default' => 2 |
| 3230 | ), |
| 3231 | 'levelOptions' => array( |
| 3232 | 'type' => 'array' |
| 3233 | ), |
| 3234 | 'placeholder' => array( |
| 3235 | 'type' => 'string' |
| 3236 | ) |
| 3237 | ), |
| 3238 | 'supports' => array( |
| 3239 | 'align' => array( |
| 3240 | 'wide', |
| 3241 | 'full' |
| 3242 | ), |
| 3243 | 'anchor' => true, |
| 3244 | 'className' => true, |
| 3245 | 'splitting' => true, |
| 3246 | '__experimentalBorder' => array( |
| 3247 | 'color' => true, |
| 3248 | 'radius' => true, |
| 3249 | 'style' => true, |
| 3250 | 'width' => true |
| 3251 | ), |
| 3252 | 'color' => array( |
| 3253 | 'gradients' => true, |
| 3254 | 'link' => true, |
| 3255 | '__experimentalDefaultControls' => array( |
| 3256 | 'background' => true, |
| 3257 | 'text' => true |
| 3258 | ) |
| 3259 | ), |
| 3260 | 'spacing' => array( |
| 3261 | 'margin' => true, |
| 3262 | 'padding' => true, |
| 3263 | '__experimentalDefaultControls' => array( |
| 3264 | 'margin' => false, |
| 3265 | 'padding' => false |
| 3266 | ) |
| 3267 | ), |
| 3268 | 'typography' => array( |
| 3269 | 'fontSize' => true, |
| 3270 | 'lineHeight' => true, |
| 3271 | 'textAlign' => true, |
| 3272 | '__experimentalFontFamily' => true, |
| 3273 | '__experimentalFontStyle' => true, |
| 3274 | '__experimentalFontWeight' => true, |
| 3275 | '__experimentalLetterSpacing' => true, |
| 3276 | '__experimentalTextTransform' => true, |
| 3277 | '__experimentalTextDecoration' => true, |
| 3278 | '__experimentalWritingMode' => true, |
| 3279 | 'fitText' => true, |
| 3280 | '__experimentalDefaultControls' => array( |
| 3281 | 'fontSize' => true |
| 3282 | ) |
| 3283 | ), |
| 3284 | '__unstablePasteTextInline' => true, |
| 3285 | '__experimentalSlashInserter' => true, |
| 3286 | 'interactivity' => array( |
| 3287 | 'clientNavigation' => true |
| 3288 | ) |
| 3289 | ), |
| 3290 | 'editorStyle' => 'wp-block-heading-editor', |
| 3291 | 'style' => 'wp-block-heading' |
| 3292 | ), |
| 3293 | 'home-link' => array( |
| 3294 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 3295 | 'apiVersion' => 3, |
| 3296 | 'name' => 'core/home-link', |
| 3297 | 'category' => 'design', |
| 3298 | 'parent' => array( |
| 3299 | 'core/navigation' |
| 3300 | ), |
| 3301 | 'title' => 'Home Link', |
| 3302 | 'description' => 'Create a link that always points to the homepage of the site. Usually not necessary if there is already a site title link present in the header.', |
| 3303 | 'textdomain' => 'default', |
| 3304 | 'attributes' => array( |
| 3305 | 'label' => array( |
| 3306 | 'type' => 'string', |
| 3307 | 'role' => 'content' |
| 3308 | ) |
| 3309 | ), |
| 3310 | 'usesContext' => array( |
| 3311 | 'textColor', |
| 3312 | 'customTextColor', |
| 3313 | 'backgroundColor', |
| 3314 | 'customBackgroundColor', |
| 3315 | 'fontSize', |
| 3316 | 'customFontSize', |
| 3317 | 'style' |
| 3318 | ), |
| 3319 | 'supports' => array( |
| 3320 | 'anchor' => true, |
| 3321 | 'reusable' => false, |
| 3322 | 'html' => false, |
| 3323 | 'typography' => array( |
| 3324 | 'fontSize' => true, |
| 3325 | 'lineHeight' => true, |
| 3326 | '__experimentalFontFamily' => true, |
| 3327 | '__experimentalFontWeight' => true, |
| 3328 | '__experimentalFontStyle' => true, |
| 3329 | '__experimentalTextTransform' => true, |
| 3330 | '__experimentalTextDecoration' => true, |
| 3331 | '__experimentalLetterSpacing' => true, |
| 3332 | '__experimentalDefaultControls' => array( |
| 3333 | 'fontSize' => true |
| 3334 | ) |
| 3335 | ), |
| 3336 | 'interactivity' => array( |
| 3337 | 'clientNavigation' => true |
| 3338 | ) |
| 3339 | ), |
| 3340 | 'editorStyle' => 'wp-block-home-link-editor', |
| 3341 | 'style' => 'wp-block-home-link' |
| 3342 | ), |
| 3343 | 'html' => array( |
| 3344 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 3345 | 'apiVersion' => 3, |
| 3346 | 'name' => 'core/html', |
| 3347 | 'title' => 'Custom HTML', |
| 3348 | 'category' => 'widgets', |
| 3349 | 'description' => 'Add custom HTML code and preview it as you edit.', |
| 3350 | 'keywords' => array( |
| 3351 | 'embed' |
| 3352 | ), |
| 3353 | 'textdomain' => 'default', |
| 3354 | 'attributes' => array( |
| 3355 | 'content' => array( |
| 3356 | 'type' => 'string', |
| 3357 | 'source' => 'raw', |
| 3358 | 'role' => 'content' |
| 3359 | ) |
| 3360 | ), |
| 3361 | 'supports' => array( |
| 3362 | 'customClassName' => false, |
| 3363 | 'className' => false, |
| 3364 | 'html' => false, |
| 3365 | 'interactivity' => array( |
| 3366 | 'clientNavigation' => true |
| 3367 | ), |
| 3368 | 'customCSS' => false, |
| 3369 | 'visibility' => false |
| 3370 | ), |
| 3371 | 'editorStyle' => 'wp-block-html-editor' |
| 3372 | ), |
| 3373 | 'icon' => array( |
| 3374 | 'apiVersion' => 3, |
| 3375 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 3376 | 'name' => 'core/icon', |
| 3377 | 'title' => 'Icon', |
| 3378 | 'category' => 'media', |
| 3379 | 'description' => 'Insert an SVG icon.', |
| 3380 | 'keywords' => array( |
| 3381 | 'icon', |
| 3382 | 'svg' |
| 3383 | ), |
| 3384 | 'textdomain' => 'default', |
| 3385 | 'attributes' => array( |
| 3386 | 'icon' => array( |
| 3387 | 'type' => 'string', |
| 3388 | 'role' => 'content' |
| 3389 | ) |
| 3390 | ), |
| 3391 | 'supports' => array( |
| 3392 | 'anchor' => true, |
| 3393 | 'ariaLabel' => array( |
| 3394 | '__experimentalSkipSerialization' => true |
| 3395 | ), |
| 3396 | 'align' => array( |
| 3397 | 'left', |
| 3398 | 'center', |
| 3399 | 'right' |
| 3400 | ), |
| 3401 | 'html' => false, |
| 3402 | 'color' => array( |
| 3403 | 'background' => true, |
| 3404 | 'text' => true, |
| 3405 | '__experimentalSkipSerialization' => true |
| 3406 | ), |
| 3407 | 'interactivity' => array( |
| 3408 | 'clientNavigation' => true |
| 3409 | ), |
| 3410 | '__experimentalBorder' => array( |
| 3411 | 'color' => true, |
| 3412 | 'radius' => true, |
| 3413 | 'style' => true, |
| 3414 | 'width' => true, |
| 3415 | '__experimentalSkipSerialization' => true, |
| 3416 | '__experimentalDefaultControls' => array( |
| 3417 | 'color' => false, |
| 3418 | 'radius' => false, |
| 3419 | 'style' => false, |
| 3420 | 'width' => false |
| 3421 | ) |
| 3422 | ), |
| 3423 | 'spacing' => array( |
| 3424 | 'padding' => true, |
| 3425 | 'margin' => true, |
| 3426 | '__experimentalSkipSerialization' => array( |
| 3427 | 'padding' |
| 3428 | ), |
| 3429 | '__experimentalDefaultControls' => array( |
| 3430 | 'margin' => false, |
| 3431 | 'padding' => false |
| 3432 | ) |
| 3433 | ), |
| 3434 | 'dimensions' => array( |
| 3435 | 'width' => true, |
| 3436 | '__experimentalSkipSerialization' => array( |
| 3437 | 'width' |
| 3438 | ), |
| 3439 | '__experimentalDefaultControls' => array( |
| 3440 | 'width' => true |
| 3441 | ) |
| 3442 | ) |
| 3443 | ), |
| 3444 | 'selectors' => array( |
| 3445 | 'root' => '.wp-block-icon svg', |
| 3446 | 'css' => '.wp-block-icon', |
| 3447 | 'spacing' => array( |
| 3448 | 'margin' => '.wp-block-icon' |
| 3449 | ) |
| 3450 | ), |
| 3451 | 'style' => 'wp-block-icon', |
| 3452 | 'editorStyle' => 'wp-block-icon-editor' |
| 3453 | ), |
| 3454 | 'image' => array( |
| 3455 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 3456 | 'apiVersion' => 3, |
| 3457 | 'name' => 'core/image', |
| 3458 | 'title' => 'Image', |
| 3459 | 'category' => 'media', |
| 3460 | 'usesContext' => array( |
| 3461 | 'allowResize', |
| 3462 | 'imageCrop', |
| 3463 | 'fixedHeight', |
| 3464 | 'navigationButtonType', |
| 3465 | 'postId', |
| 3466 | 'postType', |
| 3467 | 'queryId', |
| 3468 | 'galleryId' |
| 3469 | ), |
| 3470 | 'description' => 'Insert an image to make a visual statement.', |
| 3471 | 'keywords' => array( |
| 3472 | 'img', |
| 3473 | 'photo', |
| 3474 | 'picture' |
| 3475 | ), |
| 3476 | 'textdomain' => 'default', |
| 3477 | 'attributes' => array( |
| 3478 | 'blob' => array( |
| 3479 | 'type' => 'string', |
| 3480 | 'role' => 'local' |
| 3481 | ), |
| 3482 | 'url' => array( |
| 3483 | 'type' => 'string', |
| 3484 | 'source' => 'attribute', |
| 3485 | 'selector' => 'img', |
| 3486 | 'attribute' => 'src', |
| 3487 | 'role' => 'content' |
| 3488 | ), |
| 3489 | 'alt' => array( |
| 3490 | 'type' => 'string', |
| 3491 | 'source' => 'attribute', |
| 3492 | 'selector' => 'img', |
| 3493 | 'attribute' => 'alt', |
| 3494 | 'default' => '', |
| 3495 | 'role' => 'content' |
| 3496 | ), |
| 3497 | 'caption' => array( |
| 3498 | 'type' => 'rich-text', |
| 3499 | 'source' => 'rich-text', |
| 3500 | 'selector' => 'figcaption', |
| 3501 | 'role' => 'content' |
| 3502 | ), |
| 3503 | 'lightbox' => array( |
| 3504 | 'type' => 'object', |
| 3505 | 'enabled' => array( |
| 3506 | 'type' => 'boolean' |
| 3507 | ) |
| 3508 | ), |
| 3509 | 'title' => array( |
| 3510 | 'type' => 'string', |
| 3511 | 'source' => 'attribute', |
| 3512 | 'selector' => 'img', |
| 3513 | 'attribute' => 'title', |
| 3514 | 'role' => 'content' |
| 3515 | ), |
| 3516 | 'href' => array( |
| 3517 | 'type' => 'string', |
| 3518 | 'source' => 'attribute', |
| 3519 | 'selector' => 'figure > a', |
| 3520 | 'attribute' => 'href', |
| 3521 | 'role' => 'content' |
| 3522 | ), |
| 3523 | 'rel' => array( |
| 3524 | 'type' => 'string', |
| 3525 | 'source' => 'attribute', |
| 3526 | 'selector' => 'figure > a', |
| 3527 | 'attribute' => 'rel' |
| 3528 | ), |
| 3529 | 'linkClass' => array( |
| 3530 | 'type' => 'string', |
| 3531 | 'source' => 'attribute', |
| 3532 | 'selector' => 'figure > a', |
| 3533 | 'attribute' => 'class' |
| 3534 | ), |
| 3535 | 'id' => array( |
| 3536 | 'type' => 'number', |
| 3537 | 'role' => 'content' |
| 3538 | ), |
| 3539 | 'width' => array( |
| 3540 | 'type' => 'string' |
| 3541 | ), |
| 3542 | 'height' => array( |
| 3543 | 'type' => 'string' |
| 3544 | ), |
| 3545 | 'aspectRatio' => array( |
| 3546 | 'type' => 'string' |
| 3547 | ), |
| 3548 | 'scale' => array( |
| 3549 | 'type' => 'string' |
| 3550 | ), |
| 3551 | 'focalPoint' => array( |
| 3552 | 'type' => 'object' |
| 3553 | ), |
| 3554 | 'sizeSlug' => array( |
| 3555 | 'type' => 'string' |
| 3556 | ), |
| 3557 | 'linkDestination' => array( |
| 3558 | 'type' => 'string' |
| 3559 | ), |
| 3560 | 'linkTarget' => array( |
| 3561 | 'type' => 'string', |
| 3562 | 'source' => 'attribute', |
| 3563 | 'selector' => 'figure > a', |
| 3564 | 'attribute' => 'target' |
| 3565 | ) |
| 3566 | ), |
| 3567 | 'supports' => array( |
| 3568 | 'interactivity' => true, |
| 3569 | 'align' => array( |
| 3570 | 'left', |
| 3571 | 'center', |
| 3572 | 'right', |
| 3573 | 'wide', |
| 3574 | 'full' |
| 3575 | ), |
| 3576 | 'anchor' => true, |
| 3577 | 'color' => array( |
| 3578 | 'text' => false, |
| 3579 | 'background' => false |
| 3580 | ), |
| 3581 | 'filter' => array( |
| 3582 | 'duotone' => true |
| 3583 | ), |
| 3584 | 'spacing' => array( |
| 3585 | 'margin' => true |
| 3586 | ), |
| 3587 | '__experimentalBorder' => array( |
| 3588 | 'color' => true, |
| 3589 | 'radius' => true, |
| 3590 | 'width' => true, |
| 3591 | '__experimentalSkipSerialization' => true, |
| 3592 | '__experimentalDefaultControls' => array( |
| 3593 | 'color' => true, |
| 3594 | 'radius' => true, |
| 3595 | 'width' => true |
| 3596 | ) |
| 3597 | ), |
| 3598 | 'shadow' => array( |
| 3599 | '__experimentalSkipSerialization' => true |
| 3600 | ) |
| 3601 | ), |
| 3602 | 'selectors' => array( |
| 3603 | 'border' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder', |
| 3604 | 'shadow' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder', |
| 3605 | 'filter' => array( |
| 3606 | 'duotone' => '.wp-block-image img, .wp-block-image .components-placeholder' |
| 3607 | ) |
| 3608 | ), |
| 3609 | 'styles' => array( |
| 3610 | array( |
| 3611 | 'name' => 'default', |
| 3612 | 'label' => 'Default', |
| 3613 | 'isDefault' => true |
| 3614 | ), |
| 3615 | array( |
| 3616 | 'name' => 'rounded', |
| 3617 | 'label' => 'Rounded' |
| 3618 | ) |
| 3619 | ), |
| 3620 | 'editorStyle' => 'wp-block-image-editor', |
| 3621 | 'style' => 'wp-block-image' |
| 3622 | ), |
| 3623 | 'latest-comments' => array( |
| 3624 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 3625 | 'apiVersion' => 3, |
| 3626 | 'name' => 'core/latest-comments', |
| 3627 | 'title' => 'Latest Comments', |
| 3628 | 'category' => 'widgets', |
| 3629 | 'description' => 'Display a list of your most recent comments.', |
| 3630 | 'keywords' => array( |
| 3631 | 'recent comments' |
| 3632 | ), |
| 3633 | 'textdomain' => 'default', |
| 3634 | 'attributes' => array( |
| 3635 | 'commentsToShow' => array( |
| 3636 | 'type' => 'number', |
| 3637 | 'default' => 5, |
| 3638 | 'minimum' => 1, |
| 3639 | 'maximum' => 100 |
| 3640 | ), |
| 3641 | 'displayAvatar' => array( |
| 3642 | 'type' => 'boolean', |
| 3643 | 'default' => true |
| 3644 | ), |
| 3645 | 'displayDate' => array( |
| 3646 | 'type' => 'boolean', |
| 3647 | 'default' => true |
| 3648 | ), |
| 3649 | 'displayContent' => array( |
| 3650 | 'type' => 'string', |
| 3651 | 'default' => 'excerpt', |
| 3652 | 'enum' => array( |
| 3653 | 'none', |
| 3654 | 'excerpt', |
| 3655 | 'full' |
| 3656 | ) |
| 3657 | ) |
| 3658 | ), |
| 3659 | 'supports' => array( |
| 3660 | 'anchor' => true, |
| 3661 | 'align' => true, |
| 3662 | 'color' => array( |
| 3663 | 'gradients' => true, |
| 3664 | 'link' => true, |
| 3665 | '__experimentalDefaultControls' => array( |
| 3666 | 'background' => true, |
| 3667 | 'text' => true, |
| 3668 | 'link' => true |
| 3669 | ) |
| 3670 | ), |
| 3671 | 'html' => false, |
| 3672 | 'spacing' => array( |
| 3673 | 'margin' => true, |
| 3674 | 'padding' => true |
| 3675 | ), |
| 3676 | 'typography' => array( |
| 3677 | 'fontSize' => true, |
| 3678 | 'lineHeight' => true, |
| 3679 | '__experimentalFontFamily' => true, |
| 3680 | '__experimentalFontWeight' => true, |
| 3681 | '__experimentalFontStyle' => true, |
| 3682 | '__experimentalTextTransform' => true, |
| 3683 | '__experimentalTextDecoration' => true, |
| 3684 | '__experimentalLetterSpacing' => true, |
| 3685 | '__experimentalDefaultControls' => array( |
| 3686 | 'fontSize' => true |
| 3687 | ) |
| 3688 | ), |
| 3689 | 'interactivity' => array( |
| 3690 | 'clientNavigation' => true |
| 3691 | ) |
| 3692 | ), |
| 3693 | 'style' => 'wp-block-latest-comments' |
| 3694 | ), |
| 3695 | 'latest-posts' => array( |
| 3696 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 3697 | 'apiVersion' => 3, |
| 3698 | 'name' => 'core/latest-posts', |
| 3699 | 'title' => 'Latest Posts', |
| 3700 | 'category' => 'widgets', |
| 3701 | 'description' => 'Display a list of your most recent posts.', |
| 3702 | 'keywords' => array( |
| 3703 | 'recent posts' |
| 3704 | ), |
| 3705 | 'textdomain' => 'default', |
| 3706 | 'attributes' => array( |
| 3707 | 'categories' => array( |
| 3708 | 'type' => 'array', |
| 3709 | 'items' => array( |
| 3710 | 'type' => 'object' |
| 3711 | ) |
| 3712 | ), |
| 3713 | 'selectedAuthor' => array( |
| 3714 | 'type' => 'number' |
| 3715 | ), |
| 3716 | 'postsToShow' => array( |
| 3717 | 'type' => 'number', |
| 3718 | 'default' => 5 |
| 3719 | ), |
| 3720 | 'displayPostContent' => array( |
| 3721 | 'type' => 'boolean', |
| 3722 | 'default' => false |
| 3723 | ), |
| 3724 | 'displayPostContentRadio' => array( |
| 3725 | 'type' => 'string', |
| 3726 | 'default' => 'excerpt' |
| 3727 | ), |
| 3728 | 'excerptLength' => array( |
| 3729 | 'type' => 'number', |
| 3730 | 'default' => 55 |
| 3731 | ), |
| 3732 | 'displayAuthor' => array( |
| 3733 | 'type' => 'boolean', |
| 3734 | 'default' => false |
| 3735 | ), |
| 3736 | 'displayPostDate' => array( |
| 3737 | 'type' => 'boolean', |
| 3738 | 'default' => false |
| 3739 | ), |
| 3740 | 'postLayout' => array( |
| 3741 | 'type' => 'string', |
| 3742 | 'default' => 'list' |
| 3743 | ), |
| 3744 | 'columns' => array( |
| 3745 | 'type' => 'number', |
| 3746 | 'default' => 3 |
| 3747 | ), |
| 3748 | 'order' => array( |
| 3749 | 'type' => 'string', |
| 3750 | 'default' => 'desc' |
| 3751 | ), |
| 3752 | 'orderBy' => array( |
| 3753 | 'type' => 'string', |
| 3754 | 'default' => 'date' |
| 3755 | ), |
| 3756 | 'displayFeaturedImage' => array( |
| 3757 | 'type' => 'boolean', |
| 3758 | 'default' => false |
| 3759 | ), |
| 3760 | 'featuredImageAlign' => array( |
| 3761 | 'type' => 'string', |
| 3762 | 'enum' => array( |
| 3763 | 'left', |
| 3764 | 'center', |
| 3765 | 'right' |
| 3766 | ) |
| 3767 | ), |
| 3768 | 'featuredImageSizeSlug' => array( |
| 3769 | 'type' => 'string', |
| 3770 | 'default' => 'thumbnail' |
| 3771 | ), |
| 3772 | 'featuredImageSizeWidth' => array( |
| 3773 | 'type' => 'number', |
| 3774 | 'default' => null |
| 3775 | ), |
| 3776 | 'featuredImageSizeHeight' => array( |
| 3777 | 'type' => 'number', |
| 3778 | 'default' => null |
| 3779 | ), |
| 3780 | 'addLinkToFeaturedImage' => array( |
| 3781 | 'type' => 'boolean', |
| 3782 | 'default' => false |
| 3783 | ) |
| 3784 | ), |
| 3785 | 'supports' => array( |
| 3786 | 'anchor' => true, |
| 3787 | 'align' => true, |
| 3788 | 'html' => false, |
| 3789 | 'color' => array( |
| 3790 | 'gradients' => true, |
| 3791 | 'link' => true, |
| 3792 | '__experimentalDefaultControls' => array( |
| 3793 | 'background' => true, |
| 3794 | 'text' => true, |
| 3795 | 'link' => true |
| 3796 | ) |
| 3797 | ), |
| 3798 | 'spacing' => array( |
| 3799 | 'margin' => true, |
| 3800 | 'padding' => true |
| 3801 | ), |
| 3802 | 'typography' => array( |
| 3803 | 'fontSize' => true, |
| 3804 | 'lineHeight' => true, |
| 3805 | '__experimentalFontFamily' => true, |
| 3806 | '__experimentalFontWeight' => true, |
| 3807 | '__experimentalFontStyle' => true, |
| 3808 | '__experimentalTextTransform' => true, |
| 3809 | '__experimentalTextDecoration' => true, |
| 3810 | '__experimentalLetterSpacing' => true, |
| 3811 | '__experimentalDefaultControls' => array( |
| 3812 | 'fontSize' => true |
| 3813 | ) |
| 3814 | ), |
| 3815 | '__experimentalBorder' => array( |
| 3816 | 'radius' => true, |
| 3817 | 'color' => true, |
| 3818 | 'width' => true, |
| 3819 | 'style' => true, |
| 3820 | '__experimentalDefaultControls' => array( |
| 3821 | 'radius' => true, |
| 3822 | 'color' => true, |
| 3823 | 'width' => true, |
| 3824 | 'style' => true |
| 3825 | ) |
| 3826 | ), |
| 3827 | 'interactivity' => array( |
| 3828 | 'clientNavigation' => true |
| 3829 | ) |
| 3830 | ), |
| 3831 | 'editorStyle' => 'wp-block-latest-posts-editor', |
| 3832 | 'style' => 'wp-block-latest-posts' |
| 3833 | ), |
| 3834 | 'list' => array( |
| 3835 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 3836 | 'apiVersion' => 3, |
| 3837 | 'name' => 'core/list', |
| 3838 | 'title' => 'List', |
| 3839 | 'category' => 'text', |
| 3840 | 'allowedBlocks' => array( |
| 3841 | 'core/list-item' |
| 3842 | ), |
| 3843 | 'description' => 'An organized collection of items displayed in a specific order.', |
| 3844 | 'keywords' => array( |
| 3845 | 'bullet list', |
| 3846 | 'ordered list', |
| 3847 | 'numbered list' |
| 3848 | ), |
| 3849 | 'textdomain' => 'default', |
| 3850 | 'attributes' => array( |
| 3851 | 'ordered' => array( |
| 3852 | 'type' => 'boolean', |
| 3853 | 'default' => false, |
| 3854 | 'role' => 'content' |
| 3855 | ), |
| 3856 | 'values' => array( |
| 3857 | 'type' => 'string', |
| 3858 | 'source' => 'html', |
| 3859 | 'selector' => 'ol,ul', |
| 3860 | 'multiline' => 'li', |
| 3861 | 'default' => '', |
| 3862 | 'role' => 'content' |
| 3863 | ), |
| 3864 | 'type' => array( |
| 3865 | 'type' => 'string' |
| 3866 | ), |
| 3867 | 'start' => array( |
| 3868 | 'type' => 'number' |
| 3869 | ), |
| 3870 | 'reversed' => array( |
| 3871 | 'type' => 'boolean' |
| 3872 | ), |
| 3873 | 'placeholder' => array( |
| 3874 | 'type' => 'string' |
| 3875 | ) |
| 3876 | ), |
| 3877 | 'supports' => array( |
| 3878 | 'anchor' => true, |
| 3879 | 'html' => false, |
| 3880 | '__experimentalBorder' => array( |
| 3881 | 'color' => true, |
| 3882 | 'radius' => true, |
| 3883 | 'style' => true, |
| 3884 | 'width' => true |
| 3885 | ), |
| 3886 | 'typography' => array( |
| 3887 | 'fontSize' => true, |
| 3888 | 'lineHeight' => true, |
| 3889 | '__experimentalFontFamily' => true, |
| 3890 | '__experimentalFontWeight' => true, |
| 3891 | '__experimentalFontStyle' => true, |
| 3892 | '__experimentalTextTransform' => true, |
| 3893 | '__experimentalTextDecoration' => true, |
| 3894 | '__experimentalLetterSpacing' => true, |
| 3895 | '__experimentalDefaultControls' => array( |
| 3896 | 'fontSize' => true |
| 3897 | ) |
| 3898 | ), |
| 3899 | 'color' => array( |
| 3900 | 'gradients' => true, |
| 3901 | 'link' => true, |
| 3902 | '__experimentalDefaultControls' => array( |
| 3903 | 'background' => true, |
| 3904 | 'text' => true |
| 3905 | ) |
| 3906 | ), |
| 3907 | 'spacing' => array( |
| 3908 | 'margin' => true, |
| 3909 | 'padding' => true, |
| 3910 | '__experimentalDefaultControls' => array( |
| 3911 | 'margin' => false, |
| 3912 | 'padding' => false |
| 3913 | ) |
| 3914 | ), |
| 3915 | '__unstablePasteTextInline' => true, |
| 3916 | '__experimentalOnMerge' => true, |
| 3917 | '__experimentalSlashInserter' => true, |
| 3918 | 'interactivity' => array( |
| 3919 | 'clientNavigation' => true |
| 3920 | ), |
| 3921 | 'listView' => true |
| 3922 | ), |
| 3923 | 'selectors' => array( |
| 3924 | 'border' => '.wp-block-list:not(.wp-block-list .wp-block-list)' |
| 3925 | ), |
| 3926 | 'editorStyle' => 'wp-block-list-editor', |
| 3927 | 'style' => 'wp-block-list' |
| 3928 | ), |
| 3929 | 'list-item' => array( |
| 3930 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 3931 | 'apiVersion' => 3, |
| 3932 | 'name' => 'core/list-item', |
| 3933 | 'title' => 'List Item', |
| 3934 | 'category' => 'text', |
| 3935 | 'parent' => array( |
| 3936 | 'core/list' |
| 3937 | ), |
| 3938 | 'allowedBlocks' => array( |
| 3939 | 'core/list' |
| 3940 | ), |
| 3941 | 'description' => 'An individual item within a list.', |
| 3942 | 'textdomain' => 'default', |
| 3943 | 'attributes' => array( |
| 3944 | 'placeholder' => array( |
| 3945 | 'type' => 'string' |
| 3946 | ), |
| 3947 | 'content' => array( |
| 3948 | 'type' => 'rich-text', |
| 3949 | 'source' => 'rich-text', |
| 3950 | 'selector' => 'li', |
| 3951 | 'role' => 'content' |
| 3952 | ) |
| 3953 | ), |
| 3954 | 'supports' => array( |
| 3955 | 'anchor' => true, |
| 3956 | 'html' => false, |
| 3957 | 'className' => false, |
| 3958 | 'splitting' => true, |
| 3959 | '__experimentalBorder' => array( |
| 3960 | 'color' => true, |
| 3961 | 'radius' => true, |
| 3962 | 'style' => true, |
| 3963 | 'width' => true |
| 3964 | ), |
| 3965 | 'color' => array( |
| 3966 | 'gradients' => true, |
| 3967 | 'link' => true, |
| 3968 | 'background' => true, |
| 3969 | '__experimentalDefaultControls' => array( |
| 3970 | 'text' => true |
| 3971 | ) |
| 3972 | ), |
| 3973 | 'spacing' => array( |
| 3974 | 'margin' => true, |
| 3975 | 'padding' => true, |
| 3976 | '__experimentalDefaultControls' => array( |
| 3977 | 'margin' => false, |
| 3978 | 'padding' => false |
| 3979 | ) |
| 3980 | ), |
| 3981 | 'typography' => array( |
| 3982 | 'fontSize' => true, |
| 3983 | 'lineHeight' => true, |
| 3984 | '__experimentalFontFamily' => true, |
| 3985 | '__experimentalFontWeight' => true, |
| 3986 | '__experimentalFontStyle' => true, |
| 3987 | '__experimentalTextTransform' => true, |
| 3988 | '__experimentalTextDecoration' => true, |
| 3989 | '__experimentalLetterSpacing' => true, |
| 3990 | '__experimentalDefaultControls' => array( |
| 3991 | 'fontSize' => true |
| 3992 | ) |
| 3993 | ), |
| 3994 | 'interactivity' => array( |
| 3995 | 'clientNavigation' => true |
| 3996 | ) |
| 3997 | ), |
| 3998 | 'selectors' => array( |
| 3999 | 'root' => '.wp-block-list > li', |
| 4000 | 'border' => '.wp-block-list:not(.wp-block-list .wp-block-list) > li' |
| 4001 | ) |
| 4002 | ), |
| 4003 | 'loginout' => array( |
| 4004 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4005 | 'apiVersion' => 3, |
| 4006 | 'name' => 'core/loginout', |
| 4007 | 'title' => 'Login/out', |
| 4008 | 'category' => 'theme', |
| 4009 | 'description' => 'Show login & logout links.', |
| 4010 | 'keywords' => array( |
| 4011 | 'login', |
| 4012 | 'logout', |
| 4013 | 'form' |
| 4014 | ), |
| 4015 | 'textdomain' => 'default', |
| 4016 | 'attributes' => array( |
| 4017 | 'displayLoginAsForm' => array( |
| 4018 | 'type' => 'boolean', |
| 4019 | 'default' => false |
| 4020 | ), |
| 4021 | 'redirectToCurrent' => array( |
| 4022 | 'type' => 'boolean', |
| 4023 | 'default' => true |
| 4024 | ) |
| 4025 | ), |
| 4026 | 'example' => array( |
| 4027 | 'viewportWidth' => 350 |
| 4028 | ), |
| 4029 | 'supports' => array( |
| 4030 | 'anchor' => true, |
| 4031 | 'className' => true, |
| 4032 | 'color' => array( |
| 4033 | 'background' => true, |
| 4034 | 'text' => false, |
| 4035 | 'gradients' => true, |
| 4036 | 'link' => true |
| 4037 | ), |
| 4038 | 'spacing' => array( |
| 4039 | 'margin' => true, |
| 4040 | 'padding' => true, |
| 4041 | '__experimentalDefaultControls' => array( |
| 4042 | 'margin' => false, |
| 4043 | 'padding' => false |
| 4044 | ) |
| 4045 | ), |
| 4046 | 'typography' => array( |
| 4047 | 'fontSize' => true, |
| 4048 | 'lineHeight' => true, |
| 4049 | '__experimentalFontFamily' => true, |
| 4050 | '__experimentalFontWeight' => true, |
| 4051 | '__experimentalFontStyle' => true, |
| 4052 | '__experimentalTextTransform' => true, |
| 4053 | '__experimentalTextDecoration' => true, |
| 4054 | '__experimentalLetterSpacing' => true, |
| 4055 | '__experimentalDefaultControls' => array( |
| 4056 | 'fontSize' => true |
| 4057 | ) |
| 4058 | ), |
| 4059 | '__experimentalBorder' => array( |
| 4060 | 'radius' => true, |
| 4061 | 'color' => true, |
| 4062 | 'width' => true, |
| 4063 | 'style' => true |
| 4064 | ), |
| 4065 | 'interactivity' => array( |
| 4066 | 'clientNavigation' => true |
| 4067 | ) |
| 4068 | ), |
| 4069 | 'style' => 'wp-block-loginout' |
| 4070 | ), |
| 4071 | 'math' => array( |
| 4072 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4073 | 'apiVersion' => 3, |
| 4074 | 'name' => 'core/math', |
| 4075 | 'title' => 'Math', |
| 4076 | 'category' => 'text', |
| 4077 | 'description' => 'Display mathematical notation using LaTeX.', |
| 4078 | 'keywords' => array( |
| 4079 | 'equation', |
| 4080 | 'formula', |
| 4081 | 'latex', |
| 4082 | 'mathematics' |
| 4083 | ), |
| 4084 | 'textdomain' => 'default', |
| 4085 | 'supports' => array( |
| 4086 | 'anchor' => true, |
| 4087 | 'html' => false, |
| 4088 | '__experimentalBorder' => array( |
| 4089 | 'color' => true, |
| 4090 | 'radius' => true, |
| 4091 | 'style' => true, |
| 4092 | 'width' => true |
| 4093 | ), |
| 4094 | 'color' => array( |
| 4095 | 'gradients' => true, |
| 4096 | '__experimentalDefaultControls' => array( |
| 4097 | 'background' => true, |
| 4098 | 'text' => true |
| 4099 | ) |
| 4100 | ), |
| 4101 | 'spacing' => array( |
| 4102 | 'margin' => true, |
| 4103 | 'padding' => true, |
| 4104 | '__experimentalDefaultControls' => array( |
| 4105 | 'margin' => false, |
| 4106 | 'padding' => false |
| 4107 | ) |
| 4108 | ), |
| 4109 | 'typography' => array( |
| 4110 | 'fontSize' => true, |
| 4111 | '__experimentalDefaultControls' => array( |
| 4112 | 'fontSize' => true |
| 4113 | ) |
| 4114 | ) |
| 4115 | ), |
| 4116 | 'attributes' => array( |
| 4117 | 'latex' => array( |
| 4118 | 'type' => 'string', |
| 4119 | 'role' => 'content' |
| 4120 | ), |
| 4121 | 'mathML' => array( |
| 4122 | 'type' => 'string', |
| 4123 | 'source' => 'html', |
| 4124 | 'selector' => 'math' |
| 4125 | ) |
| 4126 | ) |
| 4127 | ), |
| 4128 | 'media-text' => array( |
| 4129 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4130 | 'apiVersion' => 3, |
| 4131 | 'name' => 'core/media-text', |
| 4132 | 'title' => 'Media & Text', |
| 4133 | 'category' => 'media', |
| 4134 | 'description' => 'Set media and words side-by-side for a richer layout.', |
| 4135 | 'keywords' => array( |
| 4136 | 'image', |
| 4137 | 'video' |
| 4138 | ), |
| 4139 | 'textdomain' => 'default', |
| 4140 | 'attributes' => array( |
| 4141 | 'align' => array( |
| 4142 | 'type' => 'string', |
| 4143 | 'default' => 'none' |
| 4144 | ), |
| 4145 | 'mediaAlt' => array( |
| 4146 | 'type' => 'string', |
| 4147 | 'source' => 'attribute', |
| 4148 | 'selector' => 'figure img', |
| 4149 | 'attribute' => 'alt', |
| 4150 | 'default' => '', |
| 4151 | 'role' => 'content' |
| 4152 | ), |
| 4153 | 'mediaPosition' => array( |
| 4154 | 'type' => 'string', |
| 4155 | 'default' => 'left' |
| 4156 | ), |
| 4157 | 'mediaId' => array( |
| 4158 | 'type' => 'number', |
| 4159 | 'role' => 'content' |
| 4160 | ), |
| 4161 | 'mediaUrl' => array( |
| 4162 | 'type' => 'string', |
| 4163 | 'source' => 'attribute', |
| 4164 | 'selector' => 'figure video,figure img', |
| 4165 | 'attribute' => 'src', |
| 4166 | 'role' => 'content' |
| 4167 | ), |
| 4168 | 'mediaLink' => array( |
| 4169 | 'type' => 'string' |
| 4170 | ), |
| 4171 | 'linkDestination' => array( |
| 4172 | 'type' => 'string' |
| 4173 | ), |
| 4174 | 'linkTarget' => array( |
| 4175 | 'type' => 'string', |
| 4176 | 'source' => 'attribute', |
| 4177 | 'selector' => 'figure a', |
| 4178 | 'attribute' => 'target' |
| 4179 | ), |
| 4180 | 'href' => array( |
| 4181 | 'type' => 'string', |
| 4182 | 'source' => 'attribute', |
| 4183 | 'selector' => 'figure a', |
| 4184 | 'attribute' => 'href', |
| 4185 | 'role' => 'content' |
| 4186 | ), |
| 4187 | 'rel' => array( |
| 4188 | 'type' => 'string', |
| 4189 | 'source' => 'attribute', |
| 4190 | 'selector' => 'figure a', |
| 4191 | 'attribute' => 'rel' |
| 4192 | ), |
| 4193 | 'linkClass' => array( |
| 4194 | 'type' => 'string', |
| 4195 | 'source' => 'attribute', |
| 4196 | 'selector' => 'figure a', |
| 4197 | 'attribute' => 'class' |
| 4198 | ), |
| 4199 | 'mediaType' => array( |
| 4200 | 'type' => 'string', |
| 4201 | 'role' => 'content' |
| 4202 | ), |
| 4203 | 'mediaWidth' => array( |
| 4204 | 'type' => 'number', |
| 4205 | 'default' => 50 |
| 4206 | ), |
| 4207 | 'mediaSizeSlug' => array( |
| 4208 | 'type' => 'string' |
| 4209 | ), |
| 4210 | 'isStackedOnMobile' => array( |
| 4211 | 'type' => 'boolean', |
| 4212 | 'default' => true |
| 4213 | ), |
| 4214 | 'verticalAlignment' => array( |
| 4215 | 'type' => 'string' |
| 4216 | ), |
| 4217 | 'imageFill' => array( |
| 4218 | 'type' => 'boolean' |
| 4219 | ), |
| 4220 | 'focalPoint' => array( |
| 4221 | 'type' => 'object' |
| 4222 | ), |
| 4223 | 'useFeaturedImage' => array( |
| 4224 | 'type' => 'boolean', |
| 4225 | 'default' => false |
| 4226 | ) |
| 4227 | ), |
| 4228 | 'usesContext' => array( |
| 4229 | 'postId', |
| 4230 | 'postType' |
| 4231 | ), |
| 4232 | 'supports' => array( |
| 4233 | 'anchor' => true, |
| 4234 | 'align' => array( |
| 4235 | 'wide', |
| 4236 | 'full' |
| 4237 | ), |
| 4238 | 'html' => false, |
| 4239 | '__experimentalBorder' => array( |
| 4240 | 'color' => true, |
| 4241 | 'radius' => true, |
| 4242 | 'style' => true, |
| 4243 | 'width' => true, |
| 4244 | '__experimentalDefaultControls' => array( |
| 4245 | 'color' => true, |
| 4246 | 'radius' => true, |
| 4247 | 'style' => true, |
| 4248 | 'width' => true |
| 4249 | ) |
| 4250 | ), |
| 4251 | 'color' => array( |
| 4252 | 'gradients' => true, |
| 4253 | 'heading' => true, |
| 4254 | 'link' => true, |
| 4255 | '__experimentalDefaultControls' => array( |
| 4256 | 'background' => true, |
| 4257 | 'text' => true |
| 4258 | ) |
| 4259 | ), |
| 4260 | 'spacing' => array( |
| 4261 | 'margin' => true, |
| 4262 | 'padding' => true |
| 4263 | ), |
| 4264 | 'typography' => array( |
| 4265 | 'fontSize' => true, |
| 4266 | 'lineHeight' => true, |
| 4267 | '__experimentalFontFamily' => true, |
| 4268 | '__experimentalFontWeight' => true, |
| 4269 | '__experimentalFontStyle' => true, |
| 4270 | '__experimentalTextTransform' => true, |
| 4271 | '__experimentalTextDecoration' => true, |
| 4272 | '__experimentalLetterSpacing' => true, |
| 4273 | '__experimentalDefaultControls' => array( |
| 4274 | 'fontSize' => true |
| 4275 | ) |
| 4276 | ), |
| 4277 | 'interactivity' => array( |
| 4278 | 'clientNavigation' => true |
| 4279 | ), |
| 4280 | 'allowedBlocks' => true |
| 4281 | ), |
| 4282 | 'editorStyle' => 'wp-block-media-text-editor', |
| 4283 | 'style' => 'wp-block-media-text' |
| 4284 | ), |
| 4285 | 'missing' => array( |
| 4286 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4287 | 'apiVersion' => 3, |
| 4288 | 'name' => 'core/missing', |
| 4289 | 'title' => 'Unsupported', |
| 4290 | 'category' => 'text', |
| 4291 | 'description' => 'Your site doesn’t include support for this block.', |
| 4292 | 'textdomain' => 'default', |
| 4293 | 'attributes' => array( |
| 4294 | 'originalName' => array( |
| 4295 | 'type' => 'string' |
| 4296 | ), |
| 4297 | 'originalUndelimitedContent' => array( |
| 4298 | 'type' => 'string' |
| 4299 | ), |
| 4300 | 'originalContent' => array( |
| 4301 | 'type' => 'string', |
| 4302 | 'source' => 'raw' |
| 4303 | ) |
| 4304 | ), |
| 4305 | 'supports' => array( |
| 4306 | 'className' => false, |
| 4307 | 'customClassName' => false, |
| 4308 | 'inserter' => false, |
| 4309 | 'html' => false, |
| 4310 | 'lock' => false, |
| 4311 | 'reusable' => false, |
| 4312 | 'renaming' => false, |
| 4313 | 'visibility' => false, |
| 4314 | 'interactivity' => array( |
| 4315 | 'clientNavigation' => true |
| 4316 | ), |
| 4317 | 'customCSS' => false |
| 4318 | ) |
| 4319 | ), |
| 4320 | 'more' => array( |
| 4321 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4322 | 'apiVersion' => 3, |
| 4323 | 'name' => 'core/more', |
| 4324 | 'title' => 'More', |
| 4325 | 'category' => 'design', |
| 4326 | 'description' => 'Content before this block will be shown in the excerpt on your archives page.', |
| 4327 | 'keywords' => array( |
| 4328 | 'read more' |
| 4329 | ), |
| 4330 | 'textdomain' => 'default', |
| 4331 | 'attributes' => array( |
| 4332 | 'customText' => array( |
| 4333 | 'type' => 'string', |
| 4334 | 'default' => '', |
| 4335 | 'role' => 'content' |
| 4336 | ), |
| 4337 | 'noTeaser' => array( |
| 4338 | 'type' => 'boolean', |
| 4339 | 'default' => false |
| 4340 | ) |
| 4341 | ), |
| 4342 | 'supports' => array( |
| 4343 | 'customClassName' => false, |
| 4344 | 'className' => false, |
| 4345 | 'html' => false, |
| 4346 | 'multiple' => false, |
| 4347 | 'visibility' => false, |
| 4348 | 'interactivity' => array( |
| 4349 | 'clientNavigation' => true |
| 4350 | ), |
| 4351 | 'customCSS' => false |
| 4352 | ), |
| 4353 | 'editorStyle' => 'wp-block-more-editor' |
| 4354 | ), |
| 4355 | 'navigation' => array( |
| 4356 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4357 | 'apiVersion' => 3, |
| 4358 | 'name' => 'core/navigation', |
| 4359 | 'title' => 'Navigation', |
| 4360 | 'category' => 'theme', |
| 4361 | 'allowedBlocks' => array( |
| 4362 | 'core/navigation-link', |
| 4363 | 'core/search', |
| 4364 | 'core/social-links', |
| 4365 | 'core/page-list', |
| 4366 | 'core/spacer', |
| 4367 | 'core/home-link', |
| 4368 | 'core/icon', |
| 4369 | 'core/site-title', |
| 4370 | 'core/site-logo', |
| 4371 | 'core/navigation-submenu', |
| 4372 | 'core/loginout', |
| 4373 | 'core/buttons' |
| 4374 | ), |
| 4375 | 'description' => 'A collection of blocks that allow visitors to get around your site.', |
| 4376 | 'keywords' => array( |
| 4377 | 'menu', |
| 4378 | 'navigation', |
| 4379 | 'links' |
| 4380 | ), |
| 4381 | 'textdomain' => 'default', |
| 4382 | 'attributes' => array( |
| 4383 | 'ref' => array( |
| 4384 | 'type' => 'number' |
| 4385 | ), |
| 4386 | 'textColor' => array( |
| 4387 | 'type' => 'string' |
| 4388 | ), |
| 4389 | 'customTextColor' => array( |
| 4390 | 'type' => 'string' |
| 4391 | ), |
| 4392 | 'rgbTextColor' => array( |
| 4393 | 'type' => 'string' |
| 4394 | ), |
| 4395 | 'backgroundColor' => array( |
| 4396 | 'type' => 'string' |
| 4397 | ), |
| 4398 | 'customBackgroundColor' => array( |
| 4399 | 'type' => 'string' |
| 4400 | ), |
| 4401 | 'rgbBackgroundColor' => array( |
| 4402 | 'type' => 'string' |
| 4403 | ), |
| 4404 | 'showSubmenuIcon' => array( |
| 4405 | 'type' => 'boolean', |
| 4406 | 'default' => true |
| 4407 | ), |
| 4408 | 'submenuVisibility' => array( |
| 4409 | 'type' => 'string', |
| 4410 | 'enum' => array( |
| 4411 | 'hover', |
| 4412 | 'click', |
| 4413 | 'always' |
| 4414 | ), |
| 4415 | 'default' => 'hover' |
| 4416 | ), |
| 4417 | 'overlayMenu' => array( |
| 4418 | 'type' => 'string', |
| 4419 | 'default' => 'mobile' |
| 4420 | ), |
| 4421 | 'overlay' => array( |
| 4422 | 'type' => 'string' |
| 4423 | ), |
| 4424 | 'icon' => array( |
| 4425 | 'type' => 'string', |
| 4426 | 'default' => 'handle' |
| 4427 | ), |
| 4428 | 'hasIcon' => array( |
| 4429 | 'type' => 'boolean', |
| 4430 | 'default' => true |
| 4431 | ), |
| 4432 | '__unstableLocation' => array( |
| 4433 | 'type' => 'string' |
| 4434 | ), |
| 4435 | 'overlayBackgroundColor' => array( |
| 4436 | 'type' => 'string' |
| 4437 | ), |
| 4438 | 'customOverlayBackgroundColor' => array( |
| 4439 | 'type' => 'string' |
| 4440 | ), |
| 4441 | 'overlayTextColor' => array( |
| 4442 | 'type' => 'string' |
| 4443 | ), |
| 4444 | 'customOverlayTextColor' => array( |
| 4445 | 'type' => 'string' |
| 4446 | ), |
| 4447 | 'maxNestingLevel' => array( |
| 4448 | 'type' => 'number', |
| 4449 | 'default' => 5 |
| 4450 | ), |
| 4451 | 'templateLock' => array( |
| 4452 | 'type' => array( |
| 4453 | 'string', |
| 4454 | 'boolean' |
| 4455 | ), |
| 4456 | 'enum' => array( |
| 4457 | 'all', |
| 4458 | 'insert', |
| 4459 | 'contentOnly', |
| 4460 | false |
| 4461 | ) |
| 4462 | ) |
| 4463 | ), |
| 4464 | 'providesContext' => array( |
| 4465 | 'textColor' => 'textColor', |
| 4466 | 'customTextColor' => 'customTextColor', |
| 4467 | 'backgroundColor' => 'backgroundColor', |
| 4468 | 'customBackgroundColor' => 'customBackgroundColor', |
| 4469 | 'overlayTextColor' => 'overlayTextColor', |
| 4470 | 'customOverlayTextColor' => 'customOverlayTextColor', |
| 4471 | 'overlayBackgroundColor' => 'overlayBackgroundColor', |
| 4472 | 'customOverlayBackgroundColor' => 'customOverlayBackgroundColor', |
| 4473 | 'fontSize' => 'fontSize', |
| 4474 | 'customFontSize' => 'customFontSize', |
| 4475 | 'showSubmenuIcon' => 'showSubmenuIcon', |
| 4476 | 'submenuVisibility' => 'submenuVisibility', |
| 4477 | 'openSubmenusOnClick' => 'openSubmenusOnClick', |
| 4478 | 'style' => 'style', |
| 4479 | 'maxNestingLevel' => 'maxNestingLevel' |
| 4480 | ), |
| 4481 | 'supports' => array( |
| 4482 | 'anchor' => true, |
| 4483 | 'align' => array( |
| 4484 | 'wide', |
| 4485 | 'full' |
| 4486 | ), |
| 4487 | 'ariaLabel' => true, |
| 4488 | 'contentRole' => true, |
| 4489 | 'html' => false, |
| 4490 | 'inserter' => true, |
| 4491 | 'typography' => array( |
| 4492 | 'fontSize' => true, |
| 4493 | 'lineHeight' => true, |
| 4494 | '__experimentalFontStyle' => true, |
| 4495 | '__experimentalFontWeight' => true, |
| 4496 | '__experimentalTextTransform' => true, |
| 4497 | '__experimentalFontFamily' => true, |
| 4498 | '__experimentalLetterSpacing' => true, |
| 4499 | '__experimentalTextDecoration' => true, |
| 4500 | '__experimentalSkipSerialization' => array( |
| 4501 | 'textDecoration' |
| 4502 | ), |
| 4503 | '__experimentalDefaultControls' => array( |
| 4504 | 'fontSize' => true |
| 4505 | ) |
| 4506 | ), |
| 4507 | 'spacing' => array( |
| 4508 | 'blockGap' => true, |
| 4509 | 'units' => array( |
| 4510 | 'px', |
| 4511 | 'em', |
| 4512 | 'rem', |
| 4513 | 'vh', |
| 4514 | 'vw' |
| 4515 | ), |
| 4516 | '__experimentalDefaultControls' => array( |
| 4517 | 'blockGap' => true |
| 4518 | ) |
| 4519 | ), |
| 4520 | 'layout' => array( |
| 4521 | 'allowSwitching' => false, |
| 4522 | 'allowInheriting' => false, |
| 4523 | 'allowVerticalAlignment' => false, |
| 4524 | 'allowSizingOnChildren' => true, |
| 4525 | 'default' => array( |
| 4526 | 'type' => 'flex' |
| 4527 | ) |
| 4528 | ), |
| 4529 | 'interactivity' => true, |
| 4530 | 'renaming' => false |
| 4531 | ), |
| 4532 | 'editorStyle' => 'wp-block-navigation-editor', |
| 4533 | 'style' => 'wp-block-navigation' |
| 4534 | ), |
| 4535 | 'navigation-link' => array( |
| 4536 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4537 | 'apiVersion' => 3, |
| 4538 | 'name' => 'core/navigation-link', |
| 4539 | 'title' => 'Custom Link', |
| 4540 | 'category' => 'design', |
| 4541 | 'parent' => array( |
| 4542 | 'core/navigation' |
| 4543 | ), |
| 4544 | 'allowedBlocks' => array( |
| 4545 | 'core/navigation-link', |
| 4546 | 'core/navigation-submenu', |
| 4547 | 'core/page-list' |
| 4548 | ), |
| 4549 | 'description' => 'Add a page, link, or another item to your navigation.', |
| 4550 | 'textdomain' => 'default', |
| 4551 | 'attributes' => array( |
| 4552 | 'label' => array( |
| 4553 | 'type' => 'string', |
| 4554 | 'role' => 'content' |
| 4555 | ), |
| 4556 | 'type' => array( |
| 4557 | 'type' => 'string' |
| 4558 | ), |
| 4559 | 'description' => array( |
| 4560 | 'type' => 'string' |
| 4561 | ), |
| 4562 | 'rel' => array( |
| 4563 | 'type' => 'string' |
| 4564 | ), |
| 4565 | 'id' => array( |
| 4566 | 'type' => 'number' |
| 4567 | ), |
| 4568 | 'opensInNewTab' => array( |
| 4569 | 'type' => 'boolean', |
| 4570 | 'default' => false |
| 4571 | ), |
| 4572 | 'url' => array( |
| 4573 | 'type' => 'string', |
| 4574 | 'role' => 'content' |
| 4575 | ), |
| 4576 | 'title' => array( |
| 4577 | 'type' => 'string' |
| 4578 | ), |
| 4579 | 'kind' => array( |
| 4580 | 'type' => 'string' |
| 4581 | ), |
| 4582 | 'isTopLevelLink' => array( |
| 4583 | 'type' => 'boolean' |
| 4584 | ) |
| 4585 | ), |
| 4586 | 'usesContext' => array( |
| 4587 | 'textColor', |
| 4588 | 'customTextColor', |
| 4589 | 'backgroundColor', |
| 4590 | 'customBackgroundColor', |
| 4591 | 'overlayTextColor', |
| 4592 | 'customOverlayTextColor', |
| 4593 | 'overlayBackgroundColor', |
| 4594 | 'customOverlayBackgroundColor', |
| 4595 | 'fontSize', |
| 4596 | 'customFontSize', |
| 4597 | 'showSubmenuIcon', |
| 4598 | 'maxNestingLevel', |
| 4599 | 'style' |
| 4600 | ), |
| 4601 | 'supports' => array( |
| 4602 | 'anchor' => true, |
| 4603 | 'reusable' => false, |
| 4604 | 'html' => false, |
| 4605 | '__experimentalSlashInserter' => true, |
| 4606 | 'typography' => array( |
| 4607 | 'fontSize' => true, |
| 4608 | 'lineHeight' => true, |
| 4609 | '__experimentalFontFamily' => true, |
| 4610 | '__experimentalFontWeight' => true, |
| 4611 | '__experimentalFontStyle' => true, |
| 4612 | '__experimentalTextTransform' => true, |
| 4613 | '__experimentalTextDecoration' => true, |
| 4614 | '__experimentalLetterSpacing' => true, |
| 4615 | '__experimentalDefaultControls' => array( |
| 4616 | 'fontSize' => true |
| 4617 | ) |
| 4618 | ), |
| 4619 | 'renaming' => false, |
| 4620 | 'interactivity' => array( |
| 4621 | 'clientNavigation' => true |
| 4622 | ) |
| 4623 | ), |
| 4624 | 'selectors' => array( |
| 4625 | 'states' => array( |
| 4626 | '@current' => '.wp-block-navigation .current-menu-item' |
| 4627 | ) |
| 4628 | ), |
| 4629 | 'editorStyle' => 'wp-block-navigation-link-editor', |
| 4630 | 'style' => 'wp-block-navigation-link' |
| 4631 | ), |
| 4632 | 'navigation-overlay-close' => array( |
| 4633 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4634 | 'apiVersion' => 3, |
| 4635 | 'name' => 'core/navigation-overlay-close', |
| 4636 | 'title' => 'Navigation Overlay Close', |
| 4637 | 'category' => 'design', |
| 4638 | 'description' => 'A customizable button to close overlays.', |
| 4639 | 'keywords' => array( |
| 4640 | 'close', |
| 4641 | 'overlay', |
| 4642 | 'navigation', |
| 4643 | 'menu' |
| 4644 | ), |
| 4645 | 'textdomain' => 'default', |
| 4646 | 'attributes' => array( |
| 4647 | 'displayMode' => array( |
| 4648 | 'type' => 'string', |
| 4649 | 'enum' => array( |
| 4650 | 'icon', |
| 4651 | 'text', |
| 4652 | 'both' |
| 4653 | ), |
| 4654 | 'default' => 'icon' |
| 4655 | ), |
| 4656 | 'text' => array( |
| 4657 | 'type' => 'string' |
| 4658 | ) |
| 4659 | ), |
| 4660 | 'supports' => array( |
| 4661 | 'color' => array( |
| 4662 | 'gradients' => false, |
| 4663 | '__experimentalDefaultControls' => array( |
| 4664 | 'background' => true, |
| 4665 | 'text' => true |
| 4666 | ) |
| 4667 | ), |
| 4668 | 'spacing' => array( |
| 4669 | 'padding' => true, |
| 4670 | '__experimentalDefaultControls' => array( |
| 4671 | 'padding' => true |
| 4672 | ) |
| 4673 | ), |
| 4674 | 'typography' => array( |
| 4675 | 'fontSize' => true, |
| 4676 | 'lineHeight' => true, |
| 4677 | '__experimentalFontFamily' => true, |
| 4678 | '__experimentalFontWeight' => true, |
| 4679 | '__experimentalFontStyle' => true, |
| 4680 | '__experimentalTextTransform' => true, |
| 4681 | '__experimentalTextDecoration' => true, |
| 4682 | '__experimentalLetterSpacing' => true, |
| 4683 | '__experimentalDefaultControls' => array( |
| 4684 | 'fontSize' => true |
| 4685 | ) |
| 4686 | ) |
| 4687 | ), |
| 4688 | 'style' => 'wp-block-navigation-overlay-close' |
| 4689 | ), |
| 4690 | 'navigation-submenu' => array( |
| 4691 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4692 | 'apiVersion' => 3, |
| 4693 | 'name' => 'core/navigation-submenu', |
| 4694 | 'title' => 'Submenu', |
| 4695 | 'category' => 'design', |
| 4696 | 'parent' => array( |
| 4697 | 'core/navigation' |
| 4698 | ), |
| 4699 | 'description' => 'Add a submenu to your navigation.', |
| 4700 | 'textdomain' => 'default', |
| 4701 | 'attributes' => array( |
| 4702 | 'label' => array( |
| 4703 | 'type' => 'string', |
| 4704 | 'role' => 'content' |
| 4705 | ), |
| 4706 | 'type' => array( |
| 4707 | 'type' => 'string' |
| 4708 | ), |
| 4709 | 'description' => array( |
| 4710 | 'type' => 'string' |
| 4711 | ), |
| 4712 | 'rel' => array( |
| 4713 | 'type' => 'string' |
| 4714 | ), |
| 4715 | 'id' => array( |
| 4716 | 'type' => 'number' |
| 4717 | ), |
| 4718 | 'opensInNewTab' => array( |
| 4719 | 'type' => 'boolean', |
| 4720 | 'default' => false |
| 4721 | ), |
| 4722 | 'url' => array( |
| 4723 | 'type' => 'string', |
| 4724 | 'role' => 'content' |
| 4725 | ), |
| 4726 | 'title' => array( |
| 4727 | 'type' => 'string' |
| 4728 | ), |
| 4729 | 'kind' => array( |
| 4730 | 'type' => 'string' |
| 4731 | ), |
| 4732 | 'isTopLevelItem' => array( |
| 4733 | 'type' => 'boolean' |
| 4734 | ) |
| 4735 | ), |
| 4736 | 'usesContext' => array( |
| 4737 | 'textColor', |
| 4738 | 'customTextColor', |
| 4739 | 'backgroundColor', |
| 4740 | 'customBackgroundColor', |
| 4741 | 'overlayTextColor', |
| 4742 | 'customOverlayTextColor', |
| 4743 | 'overlayBackgroundColor', |
| 4744 | 'customOverlayBackgroundColor', |
| 4745 | 'fontSize', |
| 4746 | 'customFontSize', |
| 4747 | 'showSubmenuIcon', |
| 4748 | 'maxNestingLevel', |
| 4749 | 'openSubmenusOnClick', |
| 4750 | 'submenuVisibility', |
| 4751 | 'style' |
| 4752 | ), |
| 4753 | 'supports' => array( |
| 4754 | 'anchor' => true, |
| 4755 | 'reusable' => false, |
| 4756 | 'html' => false, |
| 4757 | 'typography' => array( |
| 4758 | 'fontSize' => true, |
| 4759 | 'lineHeight' => true, |
| 4760 | '__experimentalFontFamily' => true, |
| 4761 | '__experimentalFontWeight' => true, |
| 4762 | '__experimentalFontStyle' => true, |
| 4763 | '__experimentalTextTransform' => true, |
| 4764 | '__experimentalTextDecoration' => true, |
| 4765 | '__experimentalLetterSpacing' => true, |
| 4766 | '__experimentalDefaultControls' => array( |
| 4767 | 'fontSize' => true |
| 4768 | ) |
| 4769 | ), |
| 4770 | 'interactivity' => array( |
| 4771 | 'clientNavigation' => true |
| 4772 | ) |
| 4773 | ), |
| 4774 | 'editorStyle' => 'wp-block-navigation-submenu-editor', |
| 4775 | 'style' => 'wp-block-navigation-submenu' |
| 4776 | ), |
| 4777 | 'nextpage' => array( |
| 4778 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4779 | 'apiVersion' => 3, |
| 4780 | 'name' => 'core/nextpage', |
| 4781 | 'title' => 'Page Break', |
| 4782 | 'category' => 'design', |
| 4783 | 'description' => 'Separate your content into a multi-page experience.', |
| 4784 | 'keywords' => array( |
| 4785 | 'next page', |
| 4786 | 'pagination' |
| 4787 | ), |
| 4788 | 'parent' => array( |
| 4789 | 'core/post-content' |
| 4790 | ), |
| 4791 | 'textdomain' => 'default', |
| 4792 | 'supports' => array( |
| 4793 | 'customClassName' => false, |
| 4794 | 'className' => false, |
| 4795 | 'html' => false, |
| 4796 | 'visibility' => false, |
| 4797 | 'interactivity' => array( |
| 4798 | 'clientNavigation' => true |
| 4799 | ), |
| 4800 | 'customCSS' => false |
| 4801 | ), |
| 4802 | 'editorStyle' => 'wp-block-nextpage-editor' |
| 4803 | ), |
| 4804 | 'page-list' => array( |
| 4805 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4806 | 'apiVersion' => 3, |
| 4807 | 'name' => 'core/page-list', |
| 4808 | 'title' => 'Page List', |
| 4809 | 'category' => 'widgets', |
| 4810 | 'allowedBlocks' => array( |
| 4811 | 'core/page-list-item' |
| 4812 | ), |
| 4813 | 'description' => 'Display a list of all pages.', |
| 4814 | 'keywords' => array( |
| 4815 | 'menu', |
| 4816 | 'navigation' |
| 4817 | ), |
| 4818 | 'textdomain' => 'default', |
| 4819 | 'attributes' => array( |
| 4820 | 'parentPageID' => array( |
| 4821 | 'type' => 'integer', |
| 4822 | 'default' => 0 |
| 4823 | ), |
| 4824 | 'isNested' => array( |
| 4825 | 'type' => 'boolean', |
| 4826 | 'default' => false |
| 4827 | ) |
| 4828 | ), |
| 4829 | 'usesContext' => array( |
| 4830 | 'textColor', |
| 4831 | 'customTextColor', |
| 4832 | 'backgroundColor', |
| 4833 | 'customBackgroundColor', |
| 4834 | 'overlayTextColor', |
| 4835 | 'customOverlayTextColor', |
| 4836 | 'overlayBackgroundColor', |
| 4837 | 'customOverlayBackgroundColor', |
| 4838 | 'fontSize', |
| 4839 | 'customFontSize', |
| 4840 | 'showSubmenuIcon', |
| 4841 | 'style', |
| 4842 | 'openSubmenusOnClick', |
| 4843 | 'submenuVisibility' |
| 4844 | ), |
| 4845 | 'supports' => array( |
| 4846 | 'anchor' => true, |
| 4847 | 'reusable' => false, |
| 4848 | 'html' => false, |
| 4849 | 'typography' => array( |
| 4850 | 'fontSize' => true, |
| 4851 | 'lineHeight' => true, |
| 4852 | '__experimentalFontFamily' => true, |
| 4853 | '__experimentalFontWeight' => true, |
| 4854 | '__experimentalFontStyle' => true, |
| 4855 | '__experimentalTextTransform' => true, |
| 4856 | '__experimentalTextDecoration' => true, |
| 4857 | '__experimentalLetterSpacing' => true, |
| 4858 | '__experimentalDefaultControls' => array( |
| 4859 | 'fontSize' => true |
| 4860 | ) |
| 4861 | ), |
| 4862 | 'interactivity' => array( |
| 4863 | 'clientNavigation' => true |
| 4864 | ), |
| 4865 | 'color' => array( |
| 4866 | 'text' => true, |
| 4867 | 'background' => true, |
| 4868 | 'link' => true, |
| 4869 | 'gradients' => true, |
| 4870 | '__experimentalDefaultControls' => array( |
| 4871 | 'background' => true, |
| 4872 | 'text' => true, |
| 4873 | 'link' => true |
| 4874 | ) |
| 4875 | ), |
| 4876 | '__experimentalBorder' => array( |
| 4877 | 'radius' => true, |
| 4878 | 'color' => true, |
| 4879 | 'width' => true, |
| 4880 | 'style' => true |
| 4881 | ), |
| 4882 | 'spacing' => array( |
| 4883 | 'padding' => true, |
| 4884 | 'margin' => true, |
| 4885 | '__experimentalDefaultControls' => array( |
| 4886 | 'padding' => false, |
| 4887 | 'margin' => false |
| 4888 | ) |
| 4889 | ), |
| 4890 | 'contentRole' => true |
| 4891 | ), |
| 4892 | 'editorStyle' => 'wp-block-page-list-editor', |
| 4893 | 'style' => 'wp-block-page-list' |
| 4894 | ), |
| 4895 | 'page-list-item' => array( |
| 4896 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4897 | 'apiVersion' => 3, |
| 4898 | 'name' => 'core/page-list-item', |
| 4899 | 'title' => 'Page List Item', |
| 4900 | 'category' => 'widgets', |
| 4901 | 'parent' => array( |
| 4902 | 'core/page-list' |
| 4903 | ), |
| 4904 | 'description' => 'Displays a page inside a list of all pages.', |
| 4905 | 'keywords' => array( |
| 4906 | 'page', |
| 4907 | 'menu', |
| 4908 | 'navigation' |
| 4909 | ), |
| 4910 | 'textdomain' => 'default', |
| 4911 | 'attributes' => array( |
| 4912 | 'id' => array( |
| 4913 | 'type' => 'number' |
| 4914 | ), |
| 4915 | 'label' => array( |
| 4916 | 'type' => 'string' |
| 4917 | ), |
| 4918 | 'title' => array( |
| 4919 | 'type' => 'string' |
| 4920 | ), |
| 4921 | 'link' => array( |
| 4922 | 'type' => 'string' |
| 4923 | ), |
| 4924 | 'hasChildren' => array( |
| 4925 | 'type' => 'boolean' |
| 4926 | ) |
| 4927 | ), |
| 4928 | 'usesContext' => array( |
| 4929 | 'textColor', |
| 4930 | 'customTextColor', |
| 4931 | 'backgroundColor', |
| 4932 | 'customBackgroundColor', |
| 4933 | 'overlayTextColor', |
| 4934 | 'customOverlayTextColor', |
| 4935 | 'overlayBackgroundColor', |
| 4936 | 'customOverlayBackgroundColor', |
| 4937 | 'fontSize', |
| 4938 | 'customFontSize', |
| 4939 | 'showSubmenuIcon', |
| 4940 | 'style', |
| 4941 | 'openSubmenusOnClick', |
| 4942 | 'submenuVisibility' |
| 4943 | ), |
| 4944 | 'supports' => array( |
| 4945 | 'anchor' => true, |
| 4946 | 'reusable' => false, |
| 4947 | 'html' => false, |
| 4948 | 'lock' => false, |
| 4949 | 'inserter' => false, |
| 4950 | '__experimentalToolbar' => false, |
| 4951 | 'interactivity' => array( |
| 4952 | 'clientNavigation' => true |
| 4953 | ) |
| 4954 | ), |
| 4955 | 'editorStyle' => 'wp-block-page-list-editor', |
| 4956 | 'style' => 'wp-block-page-list' |
| 4957 | ), |
| 4958 | 'paragraph' => array( |
| 4959 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 4960 | 'apiVersion' => 3, |
| 4961 | 'name' => 'core/paragraph', |
| 4962 | 'title' => 'Paragraph', |
| 4963 | 'category' => 'text', |
| 4964 | 'description' => 'Start with the basic building block of all narrative.', |
| 4965 | 'keywords' => array( |
| 4966 | 'text' |
| 4967 | ), |
| 4968 | 'textdomain' => 'default', |
| 4969 | 'attributes' => array( |
| 4970 | 'content' => array( |
| 4971 | 'type' => 'rich-text', |
| 4972 | 'source' => 'rich-text', |
| 4973 | 'selector' => 'p', |
| 4974 | 'role' => 'content' |
| 4975 | ), |
| 4976 | 'dropCap' => array( |
| 4977 | 'type' => 'boolean', |
| 4978 | 'default' => false |
| 4979 | ), |
| 4980 | 'placeholder' => array( |
| 4981 | 'type' => 'string' |
| 4982 | ), |
| 4983 | 'direction' => array( |
| 4984 | 'type' => 'string', |
| 4985 | 'enum' => array( |
| 4986 | 'ltr', |
| 4987 | 'rtl' |
| 4988 | ) |
| 4989 | ) |
| 4990 | ), |
| 4991 | 'supports' => array( |
| 4992 | 'align' => array( |
| 4993 | 'wide', |
| 4994 | 'full' |
| 4995 | ), |
| 4996 | 'splitting' => true, |
| 4997 | 'anchor' => true, |
| 4998 | 'className' => false, |
| 4999 | '__experimentalBorder' => array( |
| 5000 | 'color' => true, |
| 5001 | 'radius' => true, |
| 5002 | 'style' => true, |
| 5003 | 'width' => true |
| 5004 | ), |
| 5005 | 'color' => array( |
| 5006 | 'gradients' => true, |
| 5007 | 'link' => true, |
| 5008 | '__experimentalDefaultControls' => array( |
| 5009 | 'background' => true, |
| 5010 | 'text' => true |
| 5011 | ) |
| 5012 | ), |
| 5013 | 'spacing' => array( |
| 5014 | 'margin' => true, |
| 5015 | 'padding' => true, |
| 5016 | '__experimentalDefaultControls' => array( |
| 5017 | 'margin' => false, |
| 5018 | 'padding' => false |
| 5019 | ) |
| 5020 | ), |
| 5021 | 'typography' => array( |
| 5022 | 'fontSize' => true, |
| 5023 | 'lineHeight' => true, |
| 5024 | 'textAlign' => true, |
| 5025 | 'textColumns' => true, |
| 5026 | 'textIndent' => true, |
| 5027 | '__experimentalFontFamily' => true, |
| 5028 | '__experimentalTextDecoration' => true, |
| 5029 | '__experimentalFontStyle' => true, |
| 5030 | '__experimentalFontWeight' => true, |
| 5031 | '__experimentalLetterSpacing' => true, |
| 5032 | '__experimentalTextTransform' => true, |
| 5033 | '__experimentalWritingMode' => true, |
| 5034 | 'fitText' => true, |
| 5035 | '__experimentalDefaultControls' => array( |
| 5036 | 'fontSize' => true |
| 5037 | ) |
| 5038 | ), |
| 5039 | '__experimentalSelector' => 'p', |
| 5040 | '__unstablePasteTextInline' => true, |
| 5041 | 'interactivity' => array( |
| 5042 | 'clientNavigation' => true |
| 5043 | ) |
| 5044 | ), |
| 5045 | 'selectors' => array( |
| 5046 | 'root' => 'p', |
| 5047 | 'typography' => array( |
| 5048 | 'textIndent' => '.wp-block-paragraph + .wp-block-paragraph' |
| 5049 | ) |
| 5050 | ), |
| 5051 | 'editorStyle' => 'wp-block-paragraph-editor', |
| 5052 | 'style' => 'wp-block-paragraph' |
| 5053 | ), |
| 5054 | 'pattern' => array( |
| 5055 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5056 | 'apiVersion' => 3, |
| 5057 | 'name' => 'core/pattern', |
| 5058 | 'title' => 'Pattern Placeholder', |
| 5059 | 'category' => 'theme', |
| 5060 | 'description' => 'Show a block pattern.', |
| 5061 | 'supports' => array( |
| 5062 | 'html' => false, |
| 5063 | 'inserter' => false, |
| 5064 | 'renaming' => false, |
| 5065 | 'visibility' => false, |
| 5066 | 'interactivity' => array( |
| 5067 | 'clientNavigation' => true |
| 5068 | ) |
| 5069 | ), |
| 5070 | 'textdomain' => 'default', |
| 5071 | 'attributes' => array( |
| 5072 | 'slug' => array( |
| 5073 | 'type' => 'string' |
| 5074 | ) |
| 5075 | ) |
| 5076 | ), |
| 5077 | 'playlist' => array( |
| 5078 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5079 | 'apiVersion' => 3, |
| 5080 | '__experimental' => true, |
| 5081 | 'name' => 'core/playlist', |
| 5082 | 'title' => 'Playlist', |
| 5083 | 'category' => 'media', |
| 5084 | 'description' => 'Embed a simple playlist.', |
| 5085 | 'keywords' => array( |
| 5086 | 'music', |
| 5087 | 'sound' |
| 5088 | ), |
| 5089 | 'textdomain' => 'default', |
| 5090 | 'allowedBlocks' => array( |
| 5091 | 'core/playlist-track' |
| 5092 | ), |
| 5093 | 'attributes' => array( |
| 5094 | 'currentTrack' => array( |
| 5095 | 'type' => 'string' |
| 5096 | ), |
| 5097 | 'type' => array( |
| 5098 | 'type' => 'string', |
| 5099 | 'default' => 'audio' |
| 5100 | ), |
| 5101 | 'order' => array( |
| 5102 | 'type' => 'string', |
| 5103 | 'default' => 'asc' |
| 5104 | ), |
| 5105 | 'showTracklist' => array( |
| 5106 | 'type' => 'boolean', |
| 5107 | 'default' => true |
| 5108 | ), |
| 5109 | 'showImages' => array( |
| 5110 | 'type' => 'boolean', |
| 5111 | 'default' => true |
| 5112 | ), |
| 5113 | 'showArtists' => array( |
| 5114 | 'type' => 'boolean', |
| 5115 | 'default' => true |
| 5116 | ), |
| 5117 | 'showNumbers' => array( |
| 5118 | 'type' => 'boolean', |
| 5119 | 'default' => true |
| 5120 | ), |
| 5121 | 'caption' => array( |
| 5122 | 'type' => 'string' |
| 5123 | ) |
| 5124 | ), |
| 5125 | 'providesContext' => array( |
| 5126 | 'showArtists' => 'showArtists', |
| 5127 | 'currentTrack' => 'currentTrack' |
| 5128 | ), |
| 5129 | 'supports' => array( |
| 5130 | 'anchor' => true, |
| 5131 | 'align' => true, |
| 5132 | 'color' => array( |
| 5133 | 'gradients' => true, |
| 5134 | 'link' => true, |
| 5135 | '__experimentalDefaultControls' => array( |
| 5136 | 'background' => true, |
| 5137 | 'text' => true |
| 5138 | ) |
| 5139 | ), |
| 5140 | '__experimentalBorder' => array( |
| 5141 | 'color' => true, |
| 5142 | 'radius' => true, |
| 5143 | 'style' => true, |
| 5144 | 'width' => true, |
| 5145 | '__experimentalDefaultControls' => array( |
| 5146 | 'color' => true, |
| 5147 | 'radius' => true, |
| 5148 | 'style' => true, |
| 5149 | 'width' => true |
| 5150 | ) |
| 5151 | ), |
| 5152 | 'interactivity' => true, |
| 5153 | 'spacing' => array( |
| 5154 | 'margin' => true, |
| 5155 | 'padding' => true |
| 5156 | ) |
| 5157 | ), |
| 5158 | 'editorStyle' => 'wp-block-playlist-editor', |
| 5159 | 'style' => 'wp-block-playlist' |
| 5160 | ), |
| 5161 | 'playlist-track' => array( |
| 5162 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5163 | 'apiVersion' => 3, |
| 5164 | '__experimental' => true, |
| 5165 | 'name' => 'core/playlist-track', |
| 5166 | 'title' => 'Playlist track', |
| 5167 | 'category' => 'media', |
| 5168 | 'parent' => array( |
| 5169 | 'core/playlist' |
| 5170 | ), |
| 5171 | 'description' => 'Playlist track.', |
| 5172 | 'keywords' => array( |
| 5173 | 'music', |
| 5174 | 'sound' |
| 5175 | ), |
| 5176 | 'textdomain' => 'default', |
| 5177 | 'usesContext' => array( |
| 5178 | 'showArtists', |
| 5179 | 'currentTrack' |
| 5180 | ), |
| 5181 | 'attributes' => array( |
| 5182 | 'blob' => array( |
| 5183 | 'type' => 'string', |
| 5184 | 'role' => 'local' |
| 5185 | ), |
| 5186 | 'id' => array( |
| 5187 | 'type' => 'number' |
| 5188 | ), |
| 5189 | 'uniqueId' => array( |
| 5190 | 'type' => 'string' |
| 5191 | ), |
| 5192 | 'src' => array( |
| 5193 | 'type' => 'string' |
| 5194 | ), |
| 5195 | 'type' => array( |
| 5196 | 'type' => 'string', |
| 5197 | 'default' => 'audio' |
| 5198 | ), |
| 5199 | 'album' => array( |
| 5200 | 'type' => 'string' |
| 5201 | ), |
| 5202 | 'artist' => array( |
| 5203 | 'type' => 'string' |
| 5204 | ), |
| 5205 | 'image' => array( |
| 5206 | 'type' => 'string' |
| 5207 | ), |
| 5208 | 'length' => array( |
| 5209 | 'type' => 'string' |
| 5210 | ), |
| 5211 | 'title' => array( |
| 5212 | 'type' => 'string' |
| 5213 | ) |
| 5214 | ), |
| 5215 | 'supports' => array( |
| 5216 | 'html' => false, |
| 5217 | 'interactivity' => array( |
| 5218 | 'clientNavigation' => true |
| 5219 | ), |
| 5220 | 'reusable' => false |
| 5221 | ), |
| 5222 | 'style' => 'wp-block-playlist-track' |
| 5223 | ), |
| 5224 | 'post-author' => array( |
| 5225 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5226 | 'apiVersion' => 3, |
| 5227 | 'name' => 'core/post-author', |
| 5228 | 'title' => 'Author (deprecated)', |
| 5229 | 'category' => 'theme', |
| 5230 | 'description' => 'This block is deprecated. Please use the Avatar block, the Author Name block, and the Author Biography block instead.', |
| 5231 | 'textdomain' => 'default', |
| 5232 | 'attributes' => array( |
| 5233 | 'textAlign' => array( |
| 5234 | 'type' => 'string' |
| 5235 | ), |
| 5236 | 'avatarSize' => array( |
| 5237 | 'type' => 'number', |
| 5238 | 'default' => 48 |
| 5239 | ), |
| 5240 | 'showAvatar' => array( |
| 5241 | 'type' => 'boolean', |
| 5242 | 'default' => true |
| 5243 | ), |
| 5244 | 'showBio' => array( |
| 5245 | 'type' => 'boolean' |
| 5246 | ), |
| 5247 | 'byline' => array( |
| 5248 | 'type' => 'string' |
| 5249 | ), |
| 5250 | 'isLink' => array( |
| 5251 | 'type' => 'boolean', |
| 5252 | 'default' => false, |
| 5253 | 'role' => 'content' |
| 5254 | ), |
| 5255 | 'linkTarget' => array( |
| 5256 | 'type' => 'string', |
| 5257 | 'default' => '_self', |
| 5258 | 'role' => 'content' |
| 5259 | ) |
| 5260 | ), |
| 5261 | 'usesContext' => array( |
| 5262 | 'postType', |
| 5263 | 'postId', |
| 5264 | 'queryId' |
| 5265 | ), |
| 5266 | 'supports' => array( |
| 5267 | 'inserter' => false, |
| 5268 | 'anchor' => true, |
| 5269 | 'html' => false, |
| 5270 | 'spacing' => array( |
| 5271 | 'margin' => true, |
| 5272 | 'padding' => true |
| 5273 | ), |
| 5274 | 'typography' => array( |
| 5275 | 'fontSize' => true, |
| 5276 | 'lineHeight' => true, |
| 5277 | '__experimentalFontFamily' => true, |
| 5278 | '__experimentalFontWeight' => true, |
| 5279 | '__experimentalFontStyle' => true, |
| 5280 | '__experimentalTextTransform' => true, |
| 5281 | '__experimentalTextDecoration' => true, |
| 5282 | '__experimentalLetterSpacing' => true, |
| 5283 | '__experimentalDefaultControls' => array( |
| 5284 | 'fontSize' => true |
| 5285 | ) |
| 5286 | ), |
| 5287 | 'color' => array( |
| 5288 | 'gradients' => true, |
| 5289 | 'link' => true, |
| 5290 | '__experimentalDefaultControls' => array( |
| 5291 | 'background' => true, |
| 5292 | 'text' => true |
| 5293 | ) |
| 5294 | ), |
| 5295 | 'interactivity' => array( |
| 5296 | 'clientNavigation' => true |
| 5297 | ), |
| 5298 | '__experimentalBorder' => array( |
| 5299 | 'radius' => true, |
| 5300 | 'color' => true, |
| 5301 | 'width' => true, |
| 5302 | 'style' => true, |
| 5303 | '__experimentalDefaultControls' => array( |
| 5304 | 'radius' => true, |
| 5305 | 'color' => true, |
| 5306 | 'width' => true, |
| 5307 | 'style' => true |
| 5308 | ) |
| 5309 | ), |
| 5310 | 'filter' => array( |
| 5311 | 'duotone' => true |
| 5312 | ) |
| 5313 | ), |
| 5314 | 'selectors' => array( |
| 5315 | 'filter' => array( |
| 5316 | 'duotone' => '.wp-block-post-author .wp-block-post-author__avatar img' |
| 5317 | ) |
| 5318 | ), |
| 5319 | 'editorStyle' => 'wp-block-post-author-editor', |
| 5320 | 'style' => 'wp-block-post-author' |
| 5321 | ), |
| 5322 | 'post-author-biography' => array( |
| 5323 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5324 | 'apiVersion' => 3, |
| 5325 | 'name' => 'core/post-author-biography', |
| 5326 | 'title' => 'Author Biography', |
| 5327 | 'category' => 'theme', |
| 5328 | 'description' => 'The author biography.', |
| 5329 | 'textdomain' => 'default', |
| 5330 | 'usesContext' => array( |
| 5331 | 'postType', |
| 5332 | 'postId' |
| 5333 | ), |
| 5334 | 'example' => array( |
| 5335 | 'viewportWidth' => 350 |
| 5336 | ), |
| 5337 | 'supports' => array( |
| 5338 | 'anchor' => true, |
| 5339 | 'spacing' => array( |
| 5340 | 'margin' => true, |
| 5341 | 'padding' => true |
| 5342 | ), |
| 5343 | 'color' => array( |
| 5344 | 'gradients' => true, |
| 5345 | 'link' => true, |
| 5346 | '__experimentalDefaultControls' => array( |
| 5347 | 'background' => true, |
| 5348 | 'text' => true |
| 5349 | ) |
| 5350 | ), |
| 5351 | 'typography' => array( |
| 5352 | 'fontSize' => true, |
| 5353 | 'lineHeight' => true, |
| 5354 | 'textAlign' => true, |
| 5355 | '__experimentalFontFamily' => true, |
| 5356 | '__experimentalFontWeight' => true, |
| 5357 | '__experimentalFontStyle' => true, |
| 5358 | '__experimentalTextTransform' => true, |
| 5359 | '__experimentalTextDecoration' => true, |
| 5360 | '__experimentalLetterSpacing' => true, |
| 5361 | '__experimentalDefaultControls' => array( |
| 5362 | 'fontSize' => true |
| 5363 | ) |
| 5364 | ), |
| 5365 | 'interactivity' => array( |
| 5366 | 'clientNavigation' => true |
| 5367 | ), |
| 5368 | '__experimentalBorder' => array( |
| 5369 | 'radius' => true, |
| 5370 | 'color' => true, |
| 5371 | 'width' => true, |
| 5372 | 'style' => true, |
| 5373 | '__experimentalDefaultControls' => array( |
| 5374 | 'radius' => true, |
| 5375 | 'color' => true, |
| 5376 | 'width' => true, |
| 5377 | 'style' => true |
| 5378 | ) |
| 5379 | ) |
| 5380 | ), |
| 5381 | 'style' => 'wp-block-post-author-biography' |
| 5382 | ), |
| 5383 | 'post-author-name' => array( |
| 5384 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5385 | 'apiVersion' => 3, |
| 5386 | 'name' => 'core/post-author-name', |
| 5387 | 'title' => 'Author Name', |
| 5388 | 'category' => 'theme', |
| 5389 | 'description' => 'The author name.', |
| 5390 | 'textdomain' => 'default', |
| 5391 | 'attributes' => array( |
| 5392 | 'isLink' => array( |
| 5393 | 'type' => 'boolean', |
| 5394 | 'default' => false, |
| 5395 | 'role' => 'content' |
| 5396 | ), |
| 5397 | 'linkTarget' => array( |
| 5398 | 'type' => 'string', |
| 5399 | 'default' => '_self', |
| 5400 | 'role' => 'content' |
| 5401 | ) |
| 5402 | ), |
| 5403 | 'usesContext' => array( |
| 5404 | 'postType', |
| 5405 | 'postId' |
| 5406 | ), |
| 5407 | 'example' => array( |
| 5408 | 'viewportWidth' => 350 |
| 5409 | ), |
| 5410 | 'supports' => array( |
| 5411 | 'anchor' => true, |
| 5412 | 'html' => false, |
| 5413 | 'spacing' => array( |
| 5414 | 'margin' => true, |
| 5415 | 'padding' => true |
| 5416 | ), |
| 5417 | 'color' => array( |
| 5418 | 'gradients' => true, |
| 5419 | 'link' => true, |
| 5420 | '__experimentalDefaultControls' => array( |
| 5421 | 'background' => true, |
| 5422 | 'text' => true, |
| 5423 | 'link' => true |
| 5424 | ) |
| 5425 | ), |
| 5426 | 'typography' => array( |
| 5427 | 'fontSize' => true, |
| 5428 | 'lineHeight' => true, |
| 5429 | 'textAlign' => true, |
| 5430 | '__experimentalFontFamily' => true, |
| 5431 | '__experimentalFontWeight' => true, |
| 5432 | '__experimentalFontStyle' => true, |
| 5433 | '__experimentalTextTransform' => true, |
| 5434 | '__experimentalTextDecoration' => true, |
| 5435 | '__experimentalLetterSpacing' => true, |
| 5436 | '__experimentalDefaultControls' => array( |
| 5437 | 'fontSize' => true |
| 5438 | ) |
| 5439 | ), |
| 5440 | 'interactivity' => array( |
| 5441 | 'clientNavigation' => true |
| 5442 | ), |
| 5443 | '__experimentalBorder' => array( |
| 5444 | 'radius' => true, |
| 5445 | 'color' => true, |
| 5446 | 'width' => true, |
| 5447 | 'style' => true, |
| 5448 | '__experimentalDefaultControls' => array( |
| 5449 | 'radius' => true, |
| 5450 | 'color' => true, |
| 5451 | 'width' => true, |
| 5452 | 'style' => true |
| 5453 | ) |
| 5454 | ) |
| 5455 | ), |
| 5456 | 'style' => 'wp-block-post-author-name' |
| 5457 | ), |
| 5458 | 'post-comment' => array( |
| 5459 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5460 | 'apiVersion' => 3, |
| 5461 | '__experimental' => 'fse', |
| 5462 | 'name' => 'core/post-comment', |
| 5463 | 'title' => 'Comment (deprecated)', |
| 5464 | 'category' => 'theme', |
| 5465 | 'allowedBlocks' => array( |
| 5466 | 'core/avatar', |
| 5467 | 'core/comment-author-name', |
| 5468 | 'core/comment-content', |
| 5469 | 'core/comment-date', |
| 5470 | 'core/comment-edit-link', |
| 5471 | 'core/comment-reply-link' |
| 5472 | ), |
| 5473 | 'description' => 'This block is deprecated. Please use the Comments block instead.', |
| 5474 | 'textdomain' => 'default', |
| 5475 | 'attributes' => array( |
| 5476 | 'commentId' => array( |
| 5477 | 'type' => 'number' |
| 5478 | ) |
| 5479 | ), |
| 5480 | 'providesContext' => array( |
| 5481 | 'commentId' => 'commentId' |
| 5482 | ), |
| 5483 | 'supports' => array( |
| 5484 | 'html' => false, |
| 5485 | 'inserter' => false, |
| 5486 | 'interactivity' => array( |
| 5487 | 'clientNavigation' => true |
| 5488 | ) |
| 5489 | ) |
| 5490 | ), |
| 5491 | 'post-comments-count' => array( |
| 5492 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5493 | 'apiVersion' => 3, |
| 5494 | 'name' => 'core/post-comments-count', |
| 5495 | 'title' => 'Comments Count', |
| 5496 | 'category' => 'theme', |
| 5497 | 'description' => 'Display a post\'s comments count.', |
| 5498 | 'textdomain' => 'default', |
| 5499 | 'usesContext' => array( |
| 5500 | 'postId' |
| 5501 | ), |
| 5502 | 'example' => array( |
| 5503 | 'viewportWidth' => 350 |
| 5504 | ), |
| 5505 | 'supports' => array( |
| 5506 | 'anchor' => true, |
| 5507 | 'html' => false, |
| 5508 | 'color' => array( |
| 5509 | 'gradients' => true, |
| 5510 | '__experimentalDefaultControls' => array( |
| 5511 | 'background' => true, |
| 5512 | 'text' => true |
| 5513 | ) |
| 5514 | ), |
| 5515 | 'spacing' => array( |
| 5516 | 'margin' => true, |
| 5517 | 'padding' => true |
| 5518 | ), |
| 5519 | 'typography' => array( |
| 5520 | 'fontSize' => true, |
| 5521 | 'lineHeight' => true, |
| 5522 | 'textAlign' => true, |
| 5523 | '__experimentalFontFamily' => true, |
| 5524 | '__experimentalFontWeight' => true, |
| 5525 | '__experimentalFontStyle' => true, |
| 5526 | '__experimentalTextTransform' => true, |
| 5527 | '__experimentalTextDecoration' => true, |
| 5528 | '__experimentalLetterSpacing' => true, |
| 5529 | '__experimentalDefaultControls' => array( |
| 5530 | 'fontSize' => true |
| 5531 | ) |
| 5532 | ), |
| 5533 | '__experimentalBorder' => array( |
| 5534 | 'radius' => true, |
| 5535 | 'color' => true, |
| 5536 | 'width' => true, |
| 5537 | 'style' => true |
| 5538 | ), |
| 5539 | 'interactivity' => array( |
| 5540 | 'clientNavigation' => true |
| 5541 | ) |
| 5542 | ), |
| 5543 | 'style' => 'wp-block-post-comments-count' |
| 5544 | ), |
| 5545 | 'post-comments-form' => array( |
| 5546 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5547 | 'apiVersion' => 3, |
| 5548 | 'name' => 'core/post-comments-form', |
| 5549 | 'title' => 'Comments Form', |
| 5550 | 'category' => 'theme', |
| 5551 | 'description' => 'Display a post\'s comments form.', |
| 5552 | 'textdomain' => 'default', |
| 5553 | 'usesContext' => array( |
| 5554 | 'postId', |
| 5555 | 'postType' |
| 5556 | ), |
| 5557 | 'supports' => array( |
| 5558 | 'anchor' => true, |
| 5559 | 'html' => false, |
| 5560 | 'color' => array( |
| 5561 | 'gradients' => true, |
| 5562 | 'heading' => true, |
| 5563 | 'link' => true, |
| 5564 | '__experimentalDefaultControls' => array( |
| 5565 | 'background' => true, |
| 5566 | 'text' => true |
| 5567 | ) |
| 5568 | ), |
| 5569 | 'spacing' => array( |
| 5570 | 'margin' => true, |
| 5571 | 'padding' => true |
| 5572 | ), |
| 5573 | 'typography' => array( |
| 5574 | 'fontSize' => true, |
| 5575 | 'lineHeight' => true, |
| 5576 | 'textAlign' => true, |
| 5577 | '__experimentalFontStyle' => true, |
| 5578 | '__experimentalFontWeight' => true, |
| 5579 | '__experimentalLetterSpacing' => true, |
| 5580 | '__experimentalTextTransform' => true, |
| 5581 | '__experimentalDefaultControls' => array( |
| 5582 | 'fontSize' => true |
| 5583 | ) |
| 5584 | ), |
| 5585 | '__experimentalBorder' => array( |
| 5586 | 'radius' => true, |
| 5587 | 'color' => true, |
| 5588 | 'width' => true, |
| 5589 | 'style' => true, |
| 5590 | '__experimentalDefaultControls' => array( |
| 5591 | 'radius' => true, |
| 5592 | 'color' => true, |
| 5593 | 'width' => true, |
| 5594 | 'style' => true |
| 5595 | ) |
| 5596 | ) |
| 5597 | ), |
| 5598 | 'editorStyle' => 'wp-block-post-comments-form-editor', |
| 5599 | 'style' => array( |
| 5600 | 'wp-block-post-comments-form', |
| 5601 | 'wp-block-buttons', |
| 5602 | 'wp-block-button' |
| 5603 | ), |
| 5604 | 'example' => array( |
| 5605 | 'attributes' => array( |
| 5606 | 'style' => array( |
| 5607 | 'typography' => array( |
| 5608 | 'textAlign' => 'center' |
| 5609 | ) |
| 5610 | ) |
| 5611 | ) |
| 5612 | ) |
| 5613 | ), |
| 5614 | 'post-comments-link' => array( |
| 5615 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5616 | 'apiVersion' => 3, |
| 5617 | 'name' => 'core/post-comments-link', |
| 5618 | 'title' => 'Comments Link', |
| 5619 | 'category' => 'theme', |
| 5620 | 'description' => 'Displays the link to the current post comments.', |
| 5621 | 'textdomain' => 'default', |
| 5622 | 'usesContext' => array( |
| 5623 | 'postType', |
| 5624 | 'postId' |
| 5625 | ), |
| 5626 | 'example' => array( |
| 5627 | 'viewportWidth' => 350 |
| 5628 | ), |
| 5629 | 'supports' => array( |
| 5630 | 'anchor' => true, |
| 5631 | 'html' => false, |
| 5632 | 'color' => array( |
| 5633 | 'link' => true, |
| 5634 | 'text' => false, |
| 5635 | '__experimentalDefaultControls' => array( |
| 5636 | 'background' => true, |
| 5637 | 'link' => true |
| 5638 | ) |
| 5639 | ), |
| 5640 | 'spacing' => array( |
| 5641 | 'margin' => true, |
| 5642 | 'padding' => true |
| 5643 | ), |
| 5644 | 'typography' => array( |
| 5645 | 'fontSize' => true, |
| 5646 | 'lineHeight' => true, |
| 5647 | 'textAlign' => true, |
| 5648 | '__experimentalFontFamily' => true, |
| 5649 | '__experimentalFontWeight' => true, |
| 5650 | '__experimentalFontStyle' => true, |
| 5651 | '__experimentalTextTransform' => true, |
| 5652 | '__experimentalTextDecoration' => true, |
| 5653 | '__experimentalLetterSpacing' => true, |
| 5654 | '__experimentalDefaultControls' => array( |
| 5655 | 'fontSize' => true |
| 5656 | ) |
| 5657 | ), |
| 5658 | 'interactivity' => array( |
| 5659 | 'clientNavigation' => true |
| 5660 | ), |
| 5661 | '__experimentalBorder' => array( |
| 5662 | 'radius' => true, |
| 5663 | 'color' => true, |
| 5664 | 'width' => true, |
| 5665 | 'style' => true, |
| 5666 | '__experimentalDefaultControls' => array( |
| 5667 | 'radius' => true, |
| 5668 | 'color' => true, |
| 5669 | 'width' => true, |
| 5670 | 'style' => true |
| 5671 | ) |
| 5672 | ) |
| 5673 | ), |
| 5674 | 'style' => 'wp-block-post-comments-link' |
| 5675 | ), |
| 5676 | 'post-content' => array( |
| 5677 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5678 | 'apiVersion' => 3, |
| 5679 | 'name' => 'core/post-content', |
| 5680 | 'title' => 'Content', |
| 5681 | 'category' => 'theme', |
| 5682 | 'description' => 'Displays the contents of a post or page.', |
| 5683 | 'textdomain' => 'default', |
| 5684 | 'usesContext' => array( |
| 5685 | 'postId', |
| 5686 | 'postType', |
| 5687 | 'queryId' |
| 5688 | ), |
| 5689 | 'attributes' => array( |
| 5690 | 'tagName' => array( |
| 5691 | 'type' => 'string', |
| 5692 | 'default' => 'div' |
| 5693 | ) |
| 5694 | ), |
| 5695 | 'example' => array( |
| 5696 | 'viewportWidth' => 350 |
| 5697 | ), |
| 5698 | 'supports' => array( |
| 5699 | 'anchor' => true, |
| 5700 | 'align' => array( |
| 5701 | 'wide', |
| 5702 | 'full' |
| 5703 | ), |
| 5704 | 'html' => false, |
| 5705 | 'layout' => true, |
| 5706 | 'background' => array( |
| 5707 | 'backgroundImage' => true, |
| 5708 | 'backgroundSize' => true, |
| 5709 | '__experimentalDefaultControls' => array( |
| 5710 | 'backgroundImage' => true |
| 5711 | ) |
| 5712 | ), |
| 5713 | 'dimensions' => array( |
| 5714 | 'minHeight' => true |
| 5715 | ), |
| 5716 | 'spacing' => array( |
| 5717 | 'blockGap' => true, |
| 5718 | 'padding' => true, |
| 5719 | 'margin' => true, |
| 5720 | '__experimentalDefaultControls' => array( |
| 5721 | 'margin' => false, |
| 5722 | 'padding' => false |
| 5723 | ) |
| 5724 | ), |
| 5725 | 'color' => array( |
| 5726 | 'gradients' => true, |
| 5727 | 'heading' => true, |
| 5728 | 'link' => true, |
| 5729 | '__experimentalDefaultControls' => array( |
| 5730 | 'background' => false, |
| 5731 | 'text' => false |
| 5732 | ) |
| 5733 | ), |
| 5734 | 'typography' => array( |
| 5735 | 'fontSize' => true, |
| 5736 | 'lineHeight' => true, |
| 5737 | '__experimentalFontFamily' => true, |
| 5738 | '__experimentalFontWeight' => true, |
| 5739 | '__experimentalFontStyle' => true, |
| 5740 | '__experimentalTextTransform' => true, |
| 5741 | '__experimentalTextDecoration' => true, |
| 5742 | '__experimentalLetterSpacing' => true, |
| 5743 | '__experimentalDefaultControls' => array( |
| 5744 | 'fontSize' => true |
| 5745 | ) |
| 5746 | ), |
| 5747 | 'interactivity' => array( |
| 5748 | 'clientNavigation' => true |
| 5749 | ), |
| 5750 | '__experimentalBorder' => array( |
| 5751 | 'radius' => true, |
| 5752 | 'color' => true, |
| 5753 | 'width' => true, |
| 5754 | 'style' => true, |
| 5755 | '__experimentalDefaultControls' => array( |
| 5756 | 'radius' => true, |
| 5757 | 'color' => true, |
| 5758 | 'width' => true, |
| 5759 | 'style' => true |
| 5760 | ) |
| 5761 | ) |
| 5762 | ), |
| 5763 | 'style' => 'wp-block-post-content', |
| 5764 | 'editorStyle' => 'wp-block-post-content-editor' |
| 5765 | ), |
| 5766 | 'post-date' => array( |
| 5767 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5768 | 'apiVersion' => 3, |
| 5769 | 'name' => 'core/post-date', |
| 5770 | 'title' => 'Date', |
| 5771 | 'category' => 'theme', |
| 5772 | 'description' => 'Display a custom date.', |
| 5773 | 'textdomain' => 'default', |
| 5774 | 'attributes' => array( |
| 5775 | 'datetime' => array( |
| 5776 | 'type' => 'string', |
| 5777 | 'role' => 'content' |
| 5778 | ), |
| 5779 | 'format' => array( |
| 5780 | 'type' => 'string' |
| 5781 | ), |
| 5782 | 'isLink' => array( |
| 5783 | 'type' => 'boolean', |
| 5784 | 'default' => false, |
| 5785 | 'role' => 'content' |
| 5786 | ) |
| 5787 | ), |
| 5788 | 'usesContext' => array( |
| 5789 | 'postId', |
| 5790 | 'postType', |
| 5791 | 'queryId' |
| 5792 | ), |
| 5793 | 'example' => array( |
| 5794 | 'viewportWidth' => 350 |
| 5795 | ), |
| 5796 | 'supports' => array( |
| 5797 | 'anchor' => true, |
| 5798 | 'html' => false, |
| 5799 | 'color' => array( |
| 5800 | 'gradients' => true, |
| 5801 | 'link' => true, |
| 5802 | '__experimentalDefaultControls' => array( |
| 5803 | 'background' => true, |
| 5804 | 'text' => true, |
| 5805 | 'link' => true |
| 5806 | ) |
| 5807 | ), |
| 5808 | 'spacing' => array( |
| 5809 | 'margin' => true, |
| 5810 | 'padding' => true |
| 5811 | ), |
| 5812 | 'typography' => array( |
| 5813 | 'fontSize' => true, |
| 5814 | 'lineHeight' => true, |
| 5815 | 'textAlign' => true, |
| 5816 | '__experimentalFontFamily' => true, |
| 5817 | '__experimentalFontWeight' => true, |
| 5818 | '__experimentalFontStyle' => true, |
| 5819 | '__experimentalTextTransform' => true, |
| 5820 | '__experimentalTextDecoration' => true, |
| 5821 | '__experimentalLetterSpacing' => true, |
| 5822 | '__experimentalDefaultControls' => array( |
| 5823 | 'fontSize' => true |
| 5824 | ) |
| 5825 | ), |
| 5826 | 'interactivity' => array( |
| 5827 | 'clientNavigation' => true |
| 5828 | ), |
| 5829 | '__experimentalBorder' => array( |
| 5830 | 'radius' => true, |
| 5831 | 'color' => true, |
| 5832 | 'width' => true, |
| 5833 | 'style' => true, |
| 5834 | '__experimentalDefaultControls' => array( |
| 5835 | 'radius' => true, |
| 5836 | 'color' => true, |
| 5837 | 'width' => true, |
| 5838 | 'style' => true |
| 5839 | ) |
| 5840 | ) |
| 5841 | ) |
| 5842 | ), |
| 5843 | 'post-excerpt' => array( |
| 5844 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5845 | 'apiVersion' => 3, |
| 5846 | 'name' => 'core/post-excerpt', |
| 5847 | 'title' => 'Excerpt', |
| 5848 | 'category' => 'theme', |
| 5849 | 'description' => 'Display the excerpt.', |
| 5850 | 'textdomain' => 'default', |
| 5851 | 'attributes' => array( |
| 5852 | 'moreText' => array( |
| 5853 | 'type' => 'string', |
| 5854 | 'role' => 'content' |
| 5855 | ), |
| 5856 | 'showMoreOnNewLine' => array( |
| 5857 | 'type' => 'boolean', |
| 5858 | 'default' => true |
| 5859 | ), |
| 5860 | 'excerptLength' => array( |
| 5861 | 'type' => 'number', |
| 5862 | 'default' => 55 |
| 5863 | ) |
| 5864 | ), |
| 5865 | 'usesContext' => array( |
| 5866 | 'postId', |
| 5867 | 'postType', |
| 5868 | 'queryId' |
| 5869 | ), |
| 5870 | 'example' => array( |
| 5871 | 'viewportWidth' => 350 |
| 5872 | ), |
| 5873 | 'supports' => array( |
| 5874 | 'anchor' => true, |
| 5875 | 'html' => false, |
| 5876 | 'color' => array( |
| 5877 | 'gradients' => true, |
| 5878 | 'link' => true, |
| 5879 | '__experimentalDefaultControls' => array( |
| 5880 | 'background' => true, |
| 5881 | 'text' => true, |
| 5882 | 'link' => true |
| 5883 | ) |
| 5884 | ), |
| 5885 | 'spacing' => array( |
| 5886 | 'margin' => true, |
| 5887 | 'padding' => true |
| 5888 | ), |
| 5889 | 'typography' => array( |
| 5890 | 'fontSize' => true, |
| 5891 | 'lineHeight' => true, |
| 5892 | 'textAlign' => true, |
| 5893 | 'textColumns' => true, |
| 5894 | '__experimentalFontFamily' => true, |
| 5895 | '__experimentalFontWeight' => true, |
| 5896 | '__experimentalFontStyle' => true, |
| 5897 | '__experimentalTextTransform' => true, |
| 5898 | '__experimentalTextDecoration' => true, |
| 5899 | '__experimentalLetterSpacing' => true, |
| 5900 | '__experimentalDefaultControls' => array( |
| 5901 | 'fontSize' => true |
| 5902 | ) |
| 5903 | ), |
| 5904 | 'interactivity' => array( |
| 5905 | 'clientNavigation' => true |
| 5906 | ), |
| 5907 | '__experimentalBorder' => array( |
| 5908 | 'radius' => true, |
| 5909 | 'color' => true, |
| 5910 | 'width' => true, |
| 5911 | 'style' => true, |
| 5912 | '__experimentalDefaultControls' => array( |
| 5913 | 'radius' => true, |
| 5914 | 'color' => true, |
| 5915 | 'width' => true, |
| 5916 | 'style' => true |
| 5917 | ) |
| 5918 | ) |
| 5919 | ), |
| 5920 | 'editorStyle' => 'wp-block-post-excerpt-editor', |
| 5921 | 'style' => 'wp-block-post-excerpt' |
| 5922 | ), |
| 5923 | 'post-featured-image' => array( |
| 5924 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 5925 | 'apiVersion' => 3, |
| 5926 | 'name' => 'core/post-featured-image', |
| 5927 | 'title' => 'Featured Image', |
| 5928 | 'category' => 'theme', |
| 5929 | 'description' => 'Display a post\'s featured image.', |
| 5930 | 'textdomain' => 'default', |
| 5931 | 'attributes' => array( |
| 5932 | 'isLink' => array( |
| 5933 | 'type' => 'boolean', |
| 5934 | 'default' => false, |
| 5935 | 'role' => 'content' |
| 5936 | ), |
| 5937 | 'aspectRatio' => array( |
| 5938 | 'type' => 'string' |
| 5939 | ), |
| 5940 | 'width' => array( |
| 5941 | 'type' => 'string' |
| 5942 | ), |
| 5943 | 'height' => array( |
| 5944 | 'type' => 'string' |
| 5945 | ), |
| 5946 | 'scale' => array( |
| 5947 | 'type' => 'string', |
| 5948 | 'default' => 'cover' |
| 5949 | ), |
| 5950 | 'sizeSlug' => array( |
| 5951 | 'type' => 'string' |
| 5952 | ), |
| 5953 | 'rel' => array( |
| 5954 | 'type' => 'string', |
| 5955 | 'attribute' => 'rel', |
| 5956 | 'default' => '', |
| 5957 | 'role' => 'content' |
| 5958 | ), |
| 5959 | 'linkTarget' => array( |
| 5960 | 'type' => 'string', |
| 5961 | 'default' => '_self', |
| 5962 | 'role' => 'content' |
| 5963 | ), |
| 5964 | 'overlayColor' => array( |
| 5965 | 'type' => 'string' |
| 5966 | ), |
| 5967 | 'customOverlayColor' => array( |
| 5968 | 'type' => 'string' |
| 5969 | ), |
| 5970 | 'dimRatio' => array( |
| 5971 | 'type' => 'number', |
| 5972 | 'default' => 0 |
| 5973 | ), |
| 5974 | 'gradient' => array( |
| 5975 | 'type' => 'string' |
| 5976 | ), |
| 5977 | 'customGradient' => array( |
| 5978 | 'type' => 'string' |
| 5979 | ), |
| 5980 | 'useFirstImageFromPost' => array( |
| 5981 | 'type' => 'boolean', |
| 5982 | 'default' => false |
| 5983 | ) |
| 5984 | ), |
| 5985 | 'usesContext' => array( |
| 5986 | 'postId', |
| 5987 | 'postType', |
| 5988 | 'queryId' |
| 5989 | ), |
| 5990 | 'example' => array( |
| 5991 | 'viewportWidth' => 350 |
| 5992 | ), |
| 5993 | 'supports' => array( |
| 5994 | 'anchor' => true, |
| 5995 | 'align' => array( |
| 5996 | 'left', |
| 5997 | 'right', |
| 5998 | 'center', |
| 5999 | 'wide', |
| 6000 | 'full' |
| 6001 | ), |
| 6002 | 'color' => array( |
| 6003 | 'text' => false, |
| 6004 | 'background' => false |
| 6005 | ), |
| 6006 | '__experimentalBorder' => array( |
| 6007 | 'color' => true, |
| 6008 | 'radius' => true, |
| 6009 | 'width' => true, |
| 6010 | '__experimentalSkipSerialization' => true, |
| 6011 | '__experimentalDefaultControls' => array( |
| 6012 | 'color' => true, |
| 6013 | 'radius' => true, |
| 6014 | 'width' => true |
| 6015 | ) |
| 6016 | ), |
| 6017 | 'filter' => array( |
| 6018 | 'duotone' => true |
| 6019 | ), |
| 6020 | 'shadow' => array( |
| 6021 | '__experimentalSkipSerialization' => true |
| 6022 | ), |
| 6023 | 'html' => false, |
| 6024 | 'spacing' => array( |
| 6025 | 'margin' => true, |
| 6026 | 'padding' => true |
| 6027 | ), |
| 6028 | 'interactivity' => array( |
| 6029 | 'clientNavigation' => true |
| 6030 | ) |
| 6031 | ), |
| 6032 | 'selectors' => array( |
| 6033 | 'border' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .block-editor-media-placeholder, .wp-block-post-featured-image .wp-block-post-featured-image__overlay', |
| 6034 | 'shadow' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .components-placeholder', |
| 6035 | 'filter' => array( |
| 6036 | 'duotone' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .wp-block-post-featured-image__placeholder, .wp-block-post-featured-image .components-placeholder__illustration, .wp-block-post-featured-image .components-placeholder::before' |
| 6037 | ) |
| 6038 | ), |
| 6039 | 'editorStyle' => 'wp-block-post-featured-image-editor', |
| 6040 | 'style' => 'wp-block-post-featured-image' |
| 6041 | ), |
| 6042 | 'post-navigation-link' => array( |
| 6043 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6044 | 'apiVersion' => 3, |
| 6045 | 'name' => 'core/post-navigation-link', |
| 6046 | 'title' => 'Post Navigation Link', |
| 6047 | 'category' => 'theme', |
| 6048 | 'description' => 'Displays the next or previous post link that is adjacent to the current post.', |
| 6049 | 'textdomain' => 'default', |
| 6050 | 'attributes' => array( |
| 6051 | 'type' => array( |
| 6052 | 'type' => 'string', |
| 6053 | 'default' => 'next' |
| 6054 | ), |
| 6055 | 'label' => array( |
| 6056 | 'type' => 'string', |
| 6057 | 'role' => 'content' |
| 6058 | ), |
| 6059 | 'showTitle' => array( |
| 6060 | 'type' => 'boolean', |
| 6061 | 'default' => false |
| 6062 | ), |
| 6063 | 'linkLabel' => array( |
| 6064 | 'type' => 'boolean', |
| 6065 | 'default' => false |
| 6066 | ), |
| 6067 | 'arrow' => array( |
| 6068 | 'type' => 'string', |
| 6069 | 'default' => 'none' |
| 6070 | ), |
| 6071 | 'taxonomy' => array( |
| 6072 | 'type' => 'string', |
| 6073 | 'default' => '' |
| 6074 | ) |
| 6075 | ), |
| 6076 | 'usesContext' => array( |
| 6077 | 'postType' |
| 6078 | ), |
| 6079 | 'supports' => array( |
| 6080 | 'anchor' => true, |
| 6081 | 'reusable' => false, |
| 6082 | 'html' => false, |
| 6083 | 'color' => array( |
| 6084 | 'link' => true |
| 6085 | ), |
| 6086 | 'typography' => array( |
| 6087 | 'fontSize' => true, |
| 6088 | 'lineHeight' => true, |
| 6089 | 'textAlign' => true, |
| 6090 | '__experimentalFontFamily' => true, |
| 6091 | '__experimentalFontWeight' => true, |
| 6092 | '__experimentalFontStyle' => true, |
| 6093 | '__experimentalTextTransform' => true, |
| 6094 | '__experimentalTextDecoration' => true, |
| 6095 | '__experimentalLetterSpacing' => true, |
| 6096 | '__experimentalWritingMode' => true, |
| 6097 | '__experimentalDefaultControls' => array( |
| 6098 | 'fontSize' => true |
| 6099 | ) |
| 6100 | ), |
| 6101 | 'interactivity' => array( |
| 6102 | 'clientNavigation' => true |
| 6103 | ) |
| 6104 | ), |
| 6105 | 'style' => 'wp-block-post-navigation-link' |
| 6106 | ), |
| 6107 | 'post-template' => array( |
| 6108 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6109 | 'apiVersion' => 3, |
| 6110 | 'name' => 'core/post-template', |
| 6111 | 'title' => 'Post Template', |
| 6112 | 'category' => 'theme', |
| 6113 | 'ancestor' => array( |
| 6114 | 'core/query' |
| 6115 | ), |
| 6116 | 'description' => 'Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.', |
| 6117 | 'textdomain' => 'default', |
| 6118 | 'usesContext' => array( |
| 6119 | 'queryId', |
| 6120 | 'query', |
| 6121 | 'displayLayout', |
| 6122 | 'templateSlug', |
| 6123 | 'previewPostType', |
| 6124 | 'enhancedPagination', |
| 6125 | 'postType' |
| 6126 | ), |
| 6127 | 'supports' => array( |
| 6128 | 'anchor' => true, |
| 6129 | 'reusable' => false, |
| 6130 | 'html' => false, |
| 6131 | 'align' => array( |
| 6132 | 'wide', |
| 6133 | 'full' |
| 6134 | ), |
| 6135 | 'layout' => true, |
| 6136 | 'color' => array( |
| 6137 | 'gradients' => true, |
| 6138 | 'link' => true, |
| 6139 | '__experimentalDefaultControls' => array( |
| 6140 | 'background' => true, |
| 6141 | 'text' => true |
| 6142 | ) |
| 6143 | ), |
| 6144 | 'typography' => array( |
| 6145 | 'fontSize' => true, |
| 6146 | 'lineHeight' => true, |
| 6147 | '__experimentalFontFamily' => true, |
| 6148 | '__experimentalFontWeight' => true, |
| 6149 | '__experimentalFontStyle' => true, |
| 6150 | '__experimentalTextTransform' => true, |
| 6151 | '__experimentalTextDecoration' => true, |
| 6152 | '__experimentalLetterSpacing' => true, |
| 6153 | '__experimentalDefaultControls' => array( |
| 6154 | 'fontSize' => true |
| 6155 | ) |
| 6156 | ), |
| 6157 | 'spacing' => array( |
| 6158 | 'margin' => true, |
| 6159 | 'padding' => true, |
| 6160 | 'blockGap' => array( |
| 6161 | '__experimentalDefault' => '1.25em' |
| 6162 | ), |
| 6163 | '__experimentalDefaultControls' => array( |
| 6164 | 'blockGap' => true, |
| 6165 | 'padding' => false, |
| 6166 | 'margin' => false |
| 6167 | ) |
| 6168 | ), |
| 6169 | 'interactivity' => array( |
| 6170 | 'clientNavigation' => true |
| 6171 | ), |
| 6172 | '__experimentalBorder' => array( |
| 6173 | 'radius' => true, |
| 6174 | 'color' => true, |
| 6175 | 'width' => true, |
| 6176 | 'style' => true |
| 6177 | ) |
| 6178 | ), |
| 6179 | 'style' => 'wp-block-post-template', |
| 6180 | 'editorStyle' => 'wp-block-post-template-editor' |
| 6181 | ), |
| 6182 | 'post-terms' => array( |
| 6183 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6184 | 'apiVersion' => 3, |
| 6185 | 'name' => 'core/post-terms', |
| 6186 | 'title' => 'Post Terms', |
| 6187 | 'category' => 'theme', |
| 6188 | 'description' => 'Post terms.', |
| 6189 | 'textdomain' => 'default', |
| 6190 | 'attributes' => array( |
| 6191 | 'term' => array( |
| 6192 | 'type' => 'string' |
| 6193 | ), |
| 6194 | 'separator' => array( |
| 6195 | 'type' => 'string', |
| 6196 | 'default' => ', ' |
| 6197 | ), |
| 6198 | 'prefix' => array( |
| 6199 | 'type' => 'string', |
| 6200 | 'default' => '', |
| 6201 | 'role' => 'content' |
| 6202 | ), |
| 6203 | 'suffix' => array( |
| 6204 | 'type' => 'string', |
| 6205 | 'default' => '', |
| 6206 | 'role' => 'content' |
| 6207 | ) |
| 6208 | ), |
| 6209 | 'usesContext' => array( |
| 6210 | 'postId', |
| 6211 | 'postType' |
| 6212 | ), |
| 6213 | 'example' => array( |
| 6214 | 'viewportWidth' => 350 |
| 6215 | ), |
| 6216 | 'supports' => array( |
| 6217 | 'anchor' => true, |
| 6218 | 'html' => false, |
| 6219 | 'color' => array( |
| 6220 | 'gradients' => true, |
| 6221 | 'link' => true, |
| 6222 | '__experimentalDefaultControls' => array( |
| 6223 | 'background' => true, |
| 6224 | 'text' => true, |
| 6225 | 'link' => true |
| 6226 | ) |
| 6227 | ), |
| 6228 | 'spacing' => array( |
| 6229 | 'margin' => true, |
| 6230 | 'padding' => true |
| 6231 | ), |
| 6232 | 'typography' => array( |
| 6233 | 'fontSize' => true, |
| 6234 | 'lineHeight' => true, |
| 6235 | 'textAlign' => true, |
| 6236 | '__experimentalFontFamily' => true, |
| 6237 | '__experimentalFontWeight' => true, |
| 6238 | '__experimentalFontStyle' => true, |
| 6239 | '__experimentalTextTransform' => true, |
| 6240 | '__experimentalTextDecoration' => true, |
| 6241 | '__experimentalLetterSpacing' => true, |
| 6242 | '__experimentalDefaultControls' => array( |
| 6243 | 'fontSize' => true |
| 6244 | ) |
| 6245 | ), |
| 6246 | 'interactivity' => array( |
| 6247 | 'clientNavigation' => true |
| 6248 | ), |
| 6249 | '__experimentalBorder' => array( |
| 6250 | 'radius' => true, |
| 6251 | 'color' => true, |
| 6252 | 'width' => true, |
| 6253 | 'style' => true, |
| 6254 | '__experimentalDefaultControls' => array( |
| 6255 | 'radius' => true, |
| 6256 | 'color' => true, |
| 6257 | 'width' => true, |
| 6258 | 'style' => true |
| 6259 | ) |
| 6260 | ) |
| 6261 | ), |
| 6262 | 'style' => 'wp-block-post-terms' |
| 6263 | ), |
| 6264 | 'post-time-to-read' => array( |
| 6265 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6266 | 'apiVersion' => 3, |
| 6267 | 'name' => 'core/post-time-to-read', |
| 6268 | 'title' => 'Time to Read', |
| 6269 | 'category' => 'theme', |
| 6270 | 'description' => 'Show minutes required to finish reading the post. Can also show a word count.', |
| 6271 | 'textdomain' => 'default', |
| 6272 | 'usesContext' => array( |
| 6273 | 'postId', |
| 6274 | 'postType' |
| 6275 | ), |
| 6276 | 'attributes' => array( |
| 6277 | 'displayAsRange' => array( |
| 6278 | 'type' => 'boolean', |
| 6279 | 'default' => true |
| 6280 | ), |
| 6281 | 'displayMode' => array( |
| 6282 | 'type' => 'string', |
| 6283 | 'default' => 'time' |
| 6284 | ), |
| 6285 | 'averageReadingSpeed' => array( |
| 6286 | 'type' => 'number', |
| 6287 | 'default' => 189 |
| 6288 | ) |
| 6289 | ), |
| 6290 | 'supports' => array( |
| 6291 | 'anchor' => true, |
| 6292 | 'color' => array( |
| 6293 | 'gradients' => true, |
| 6294 | '__experimentalDefaultControls' => array( |
| 6295 | 'background' => true, |
| 6296 | 'text' => true |
| 6297 | ) |
| 6298 | ), |
| 6299 | 'html' => false, |
| 6300 | 'spacing' => array( |
| 6301 | 'margin' => true, |
| 6302 | 'padding' => true, |
| 6303 | '__experimentalDefaultControls' => array( |
| 6304 | 'margin' => false, |
| 6305 | 'padding' => false |
| 6306 | ) |
| 6307 | ), |
| 6308 | 'typography' => array( |
| 6309 | 'fontSize' => true, |
| 6310 | 'lineHeight' => true, |
| 6311 | 'textAlign' => true, |
| 6312 | '__experimentalFontFamily' => true, |
| 6313 | '__experimentalFontWeight' => true, |
| 6314 | '__experimentalFontStyle' => true, |
| 6315 | '__experimentalTextTransform' => true, |
| 6316 | '__experimentalTextDecoration' => true, |
| 6317 | '__experimentalLetterSpacing' => true, |
| 6318 | '__experimentalDefaultControls' => array( |
| 6319 | 'fontSize' => true |
| 6320 | ) |
| 6321 | ), |
| 6322 | 'interactivity' => array( |
| 6323 | 'clientNavigation' => true |
| 6324 | ), |
| 6325 | '__experimentalBorder' => array( |
| 6326 | 'radius' => true, |
| 6327 | 'color' => true, |
| 6328 | 'width' => true, |
| 6329 | 'style' => true |
| 6330 | ) |
| 6331 | ) |
| 6332 | ), |
| 6333 | 'post-title' => array( |
| 6334 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6335 | 'apiVersion' => 3, |
| 6336 | 'name' => 'core/post-title', |
| 6337 | 'title' => 'Title', |
| 6338 | 'category' => 'theme', |
| 6339 | 'description' => 'Displays the title of a post, page, or any other content-type.', |
| 6340 | 'textdomain' => 'default', |
| 6341 | 'usesContext' => array( |
| 6342 | 'postId', |
| 6343 | 'postType', |
| 6344 | 'queryId' |
| 6345 | ), |
| 6346 | 'attributes' => array( |
| 6347 | 'level' => array( |
| 6348 | 'type' => 'number', |
| 6349 | 'default' => 2 |
| 6350 | ), |
| 6351 | 'levelOptions' => array( |
| 6352 | 'type' => 'array' |
| 6353 | ), |
| 6354 | 'isLink' => array( |
| 6355 | 'type' => 'boolean', |
| 6356 | 'default' => false, |
| 6357 | 'role' => 'content' |
| 6358 | ), |
| 6359 | 'rel' => array( |
| 6360 | 'type' => 'string', |
| 6361 | 'attribute' => 'rel', |
| 6362 | 'default' => '', |
| 6363 | 'role' => 'content' |
| 6364 | ), |
| 6365 | 'linkTarget' => array( |
| 6366 | 'type' => 'string', |
| 6367 | 'default' => '_self', |
| 6368 | 'role' => 'content' |
| 6369 | ), |
| 6370 | 'placeholder' => array( |
| 6371 | 'type' => 'string' |
| 6372 | ) |
| 6373 | ), |
| 6374 | 'example' => array( |
| 6375 | 'viewportWidth' => 350 |
| 6376 | ), |
| 6377 | 'supports' => array( |
| 6378 | 'anchor' => true, |
| 6379 | 'align' => array( |
| 6380 | 'wide', |
| 6381 | 'full' |
| 6382 | ), |
| 6383 | 'html' => false, |
| 6384 | 'color' => array( |
| 6385 | 'gradients' => true, |
| 6386 | 'link' => true, |
| 6387 | '__experimentalDefaultControls' => array( |
| 6388 | 'background' => true, |
| 6389 | 'text' => true, |
| 6390 | 'link' => true |
| 6391 | ) |
| 6392 | ), |
| 6393 | 'spacing' => array( |
| 6394 | 'margin' => true, |
| 6395 | 'padding' => true |
| 6396 | ), |
| 6397 | 'typography' => array( |
| 6398 | 'fontSize' => true, |
| 6399 | 'lineHeight' => true, |
| 6400 | 'textAlign' => true, |
| 6401 | '__experimentalFontFamily' => true, |
| 6402 | '__experimentalFontWeight' => true, |
| 6403 | '__experimentalFontStyle' => true, |
| 6404 | '__experimentalTextTransform' => true, |
| 6405 | '__experimentalTextDecoration' => true, |
| 6406 | '__experimentalLetterSpacing' => true, |
| 6407 | '__experimentalDefaultControls' => array( |
| 6408 | 'fontSize' => true |
| 6409 | ) |
| 6410 | ), |
| 6411 | 'interactivity' => array( |
| 6412 | 'clientNavigation' => true |
| 6413 | ), |
| 6414 | '__experimentalBorder' => array( |
| 6415 | 'radius' => true, |
| 6416 | 'color' => true, |
| 6417 | 'width' => true, |
| 6418 | 'style' => true, |
| 6419 | '__experimentalDefaultControls' => array( |
| 6420 | 'radius' => true, |
| 6421 | 'color' => true, |
| 6422 | 'width' => true, |
| 6423 | 'style' => true |
| 6424 | ) |
| 6425 | ) |
| 6426 | ), |
| 6427 | 'style' => 'wp-block-post-title' |
| 6428 | ), |
| 6429 | 'preformatted' => array( |
| 6430 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6431 | 'apiVersion' => 3, |
| 6432 | 'name' => 'core/preformatted', |
| 6433 | 'title' => 'Preformatted', |
| 6434 | 'category' => 'text', |
| 6435 | 'description' => 'Add text that respects your spacing and tabs, and also allows styling.', |
| 6436 | 'textdomain' => 'default', |
| 6437 | 'attributes' => array( |
| 6438 | 'content' => array( |
| 6439 | 'type' => 'rich-text', |
| 6440 | 'source' => 'rich-text', |
| 6441 | 'selector' => 'pre', |
| 6442 | '__unstablePreserveWhiteSpace' => true, |
| 6443 | 'role' => 'content' |
| 6444 | ) |
| 6445 | ), |
| 6446 | 'supports' => array( |
| 6447 | 'anchor' => true, |
| 6448 | 'color' => array( |
| 6449 | 'gradients' => true, |
| 6450 | '__experimentalDefaultControls' => array( |
| 6451 | 'background' => true, |
| 6452 | 'text' => true |
| 6453 | ) |
| 6454 | ), |
| 6455 | 'spacing' => array( |
| 6456 | 'padding' => true, |
| 6457 | 'margin' => true |
| 6458 | ), |
| 6459 | 'typography' => array( |
| 6460 | 'fontSize' => true, |
| 6461 | 'lineHeight' => true, |
| 6462 | '__experimentalFontFamily' => true, |
| 6463 | '__experimentalFontWeight' => true, |
| 6464 | '__experimentalFontStyle' => true, |
| 6465 | '__experimentalTextTransform' => true, |
| 6466 | '__experimentalTextDecoration' => true, |
| 6467 | '__experimentalLetterSpacing' => true, |
| 6468 | '__experimentalDefaultControls' => array( |
| 6469 | 'fontSize' => true |
| 6470 | ) |
| 6471 | ), |
| 6472 | 'interactivity' => array( |
| 6473 | 'clientNavigation' => true |
| 6474 | ), |
| 6475 | '__experimentalBorder' => array( |
| 6476 | 'radius' => true, |
| 6477 | 'color' => true, |
| 6478 | 'width' => true, |
| 6479 | 'style' => true, |
| 6480 | '__experimentalDefaultControls' => array( |
| 6481 | 'radius' => true, |
| 6482 | 'color' => true, |
| 6483 | 'width' => true, |
| 6484 | 'style' => true |
| 6485 | ) |
| 6486 | ) |
| 6487 | ), |
| 6488 | 'style' => 'wp-block-preformatted' |
| 6489 | ), |
| 6490 | 'pullquote' => array( |
| 6491 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6492 | 'apiVersion' => 3, |
| 6493 | 'name' => 'core/pullquote', |
| 6494 | 'title' => 'Pullquote', |
| 6495 | 'category' => 'text', |
| 6496 | 'description' => 'Give special visual emphasis to a quote from your text.', |
| 6497 | 'textdomain' => 'default', |
| 6498 | 'attributes' => array( |
| 6499 | 'value' => array( |
| 6500 | 'type' => 'rich-text', |
| 6501 | 'source' => 'rich-text', |
| 6502 | 'selector' => 'p', |
| 6503 | 'role' => 'content' |
| 6504 | ), |
| 6505 | 'citation' => array( |
| 6506 | 'type' => 'rich-text', |
| 6507 | 'source' => 'rich-text', |
| 6508 | 'selector' => 'cite', |
| 6509 | 'role' => 'content' |
| 6510 | ), |
| 6511 | 'textAlign' => array( |
| 6512 | 'type' => 'string' |
| 6513 | ) |
| 6514 | ), |
| 6515 | 'supports' => array( |
| 6516 | 'anchor' => true, |
| 6517 | 'align' => array( |
| 6518 | 'left', |
| 6519 | 'right', |
| 6520 | 'wide', |
| 6521 | 'full' |
| 6522 | ), |
| 6523 | 'background' => array( |
| 6524 | 'backgroundImage' => true, |
| 6525 | 'backgroundSize' => true, |
| 6526 | '__experimentalDefaultControls' => array( |
| 6527 | 'backgroundImage' => true |
| 6528 | ) |
| 6529 | ), |
| 6530 | 'color' => array( |
| 6531 | 'gradients' => true, |
| 6532 | 'background' => true, |
| 6533 | 'link' => true, |
| 6534 | '__experimentalDefaultControls' => array( |
| 6535 | 'background' => true, |
| 6536 | 'text' => true |
| 6537 | ) |
| 6538 | ), |
| 6539 | 'dimensions' => array( |
| 6540 | 'minHeight' => true |
| 6541 | ), |
| 6542 | 'spacing' => array( |
| 6543 | 'margin' => true, |
| 6544 | 'padding' => true |
| 6545 | ), |
| 6546 | 'typography' => array( |
| 6547 | 'fontSize' => true, |
| 6548 | 'lineHeight' => true, |
| 6549 | '__experimentalFontFamily' => true, |
| 6550 | '__experimentalFontWeight' => true, |
| 6551 | '__experimentalFontStyle' => true, |
| 6552 | '__experimentalTextTransform' => true, |
| 6553 | '__experimentalTextDecoration' => true, |
| 6554 | '__experimentalLetterSpacing' => true, |
| 6555 | '__experimentalDefaultControls' => array( |
| 6556 | 'fontSize' => true |
| 6557 | ) |
| 6558 | ), |
| 6559 | '__experimentalBorder' => array( |
| 6560 | 'color' => true, |
| 6561 | 'radius' => true, |
| 6562 | 'style' => true, |
| 6563 | 'width' => true, |
| 6564 | '__experimentalDefaultControls' => array( |
| 6565 | 'color' => true, |
| 6566 | 'radius' => true, |
| 6567 | 'style' => true, |
| 6568 | 'width' => true |
| 6569 | ) |
| 6570 | ), |
| 6571 | '__experimentalStyle' => array( |
| 6572 | 'typography' => array( |
| 6573 | 'fontSize' => '1.5em', |
| 6574 | 'lineHeight' => '1.6' |
| 6575 | ) |
| 6576 | ), |
| 6577 | 'interactivity' => array( |
| 6578 | 'clientNavigation' => true |
| 6579 | ) |
| 6580 | ), |
| 6581 | 'editorStyle' => 'wp-block-pullquote-editor', |
| 6582 | 'style' => 'wp-block-pullquote' |
| 6583 | ), |
| 6584 | 'query' => array( |
| 6585 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6586 | 'apiVersion' => 3, |
| 6587 | 'name' => 'core/query', |
| 6588 | 'title' => 'Query Loop', |
| 6589 | 'category' => 'theme', |
| 6590 | 'description' => 'An advanced block that allows displaying post types based on different query parameters and visual configurations.', |
| 6591 | 'keywords' => array( |
| 6592 | 'posts', |
| 6593 | 'list', |
| 6594 | 'blog', |
| 6595 | 'blogs', |
| 6596 | 'custom post types' |
| 6597 | ), |
| 6598 | 'textdomain' => 'default', |
| 6599 | 'attributes' => array( |
| 6600 | 'queryId' => array( |
| 6601 | 'type' => 'number' |
| 6602 | ), |
| 6603 | 'query' => array( |
| 6604 | 'type' => 'object', |
| 6605 | 'default' => array( |
| 6606 | 'perPage' => null, |
| 6607 | 'pages' => 0, |
| 6608 | 'offset' => 0, |
| 6609 | 'postType' => 'post', |
| 6610 | 'order' => 'desc', |
| 6611 | 'orderBy' => 'date', |
| 6612 | 'author' => '', |
| 6613 | 'search' => '', |
| 6614 | 'exclude' => array( |
| 6615 | |
| 6616 | ), |
| 6617 | 'sticky' => '', |
| 6618 | 'inherit' => true, |
| 6619 | 'taxQuery' => null, |
| 6620 | 'parents' => array( |
| 6621 | |
| 6622 | ), |
| 6623 | 'format' => array( |
| 6624 | |
| 6625 | ) |
| 6626 | ) |
| 6627 | ), |
| 6628 | 'tagName' => array( |
| 6629 | 'type' => 'string', |
| 6630 | 'default' => 'div' |
| 6631 | ), |
| 6632 | 'namespace' => array( |
| 6633 | 'type' => 'string' |
| 6634 | ), |
| 6635 | 'enhancedPagination' => array( |
| 6636 | 'type' => 'boolean', |
| 6637 | 'default' => false |
| 6638 | ) |
| 6639 | ), |
| 6640 | 'usesContext' => array( |
| 6641 | 'templateSlug' |
| 6642 | ), |
| 6643 | 'providesContext' => array( |
| 6644 | 'queryId' => 'queryId', |
| 6645 | 'query' => 'query', |
| 6646 | 'displayLayout' => 'displayLayout', |
| 6647 | 'enhancedPagination' => 'enhancedPagination' |
| 6648 | ), |
| 6649 | 'supports' => array( |
| 6650 | 'anchor' => true, |
| 6651 | 'align' => array( |
| 6652 | 'wide', |
| 6653 | 'full' |
| 6654 | ), |
| 6655 | 'html' => false, |
| 6656 | 'layout' => true, |
| 6657 | 'interactivity' => true |
| 6658 | ), |
| 6659 | 'editorStyle' => 'wp-block-query-editor' |
| 6660 | ), |
| 6661 | 'query-no-results' => array( |
| 6662 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6663 | 'apiVersion' => 3, |
| 6664 | 'name' => 'core/query-no-results', |
| 6665 | 'title' => 'No Results', |
| 6666 | 'category' => 'theme', |
| 6667 | 'description' => 'Contains the block elements used to render content when no query results are found.', |
| 6668 | 'ancestor' => array( |
| 6669 | 'core/query' |
| 6670 | ), |
| 6671 | 'textdomain' => 'default', |
| 6672 | 'usesContext' => array( |
| 6673 | 'queryId', |
| 6674 | 'query' |
| 6675 | ), |
| 6676 | 'supports' => array( |
| 6677 | 'anchor' => true, |
| 6678 | 'align' => true, |
| 6679 | 'reusable' => false, |
| 6680 | 'html' => false, |
| 6681 | 'color' => array( |
| 6682 | 'gradients' => true, |
| 6683 | 'link' => true |
| 6684 | ), |
| 6685 | 'typography' => array( |
| 6686 | 'fontSize' => true, |
| 6687 | 'lineHeight' => true, |
| 6688 | '__experimentalFontFamily' => true, |
| 6689 | '__experimentalFontWeight' => true, |
| 6690 | '__experimentalFontStyle' => true, |
| 6691 | '__experimentalTextTransform' => true, |
| 6692 | '__experimentalTextDecoration' => true, |
| 6693 | '__experimentalLetterSpacing' => true, |
| 6694 | '__experimentalDefaultControls' => array( |
| 6695 | 'fontSize' => true |
| 6696 | ) |
| 6697 | ), |
| 6698 | 'interactivity' => array( |
| 6699 | 'clientNavigation' => true |
| 6700 | ) |
| 6701 | ) |
| 6702 | ), |
| 6703 | 'query-pagination' => array( |
| 6704 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6705 | 'apiVersion' => 3, |
| 6706 | 'name' => 'core/query-pagination', |
| 6707 | 'title' => 'Pagination', |
| 6708 | 'category' => 'theme', |
| 6709 | 'ancestor' => array( |
| 6710 | 'core/query' |
| 6711 | ), |
| 6712 | 'allowedBlocks' => array( |
| 6713 | 'core/query-pagination-previous', |
| 6714 | 'core/query-pagination-numbers', |
| 6715 | 'core/query-pagination-next' |
| 6716 | ), |
| 6717 | 'description' => 'Displays a paginated navigation to next/previous set of posts, when applicable.', |
| 6718 | 'textdomain' => 'default', |
| 6719 | 'attributes' => array( |
| 6720 | 'paginationArrow' => array( |
| 6721 | 'type' => 'string', |
| 6722 | 'default' => 'none' |
| 6723 | ), |
| 6724 | 'showLabel' => array( |
| 6725 | 'type' => 'boolean', |
| 6726 | 'default' => true |
| 6727 | ) |
| 6728 | ), |
| 6729 | 'usesContext' => array( |
| 6730 | 'queryId', |
| 6731 | 'query' |
| 6732 | ), |
| 6733 | 'providesContext' => array( |
| 6734 | 'paginationArrow' => 'paginationArrow', |
| 6735 | 'showLabel' => 'showLabel' |
| 6736 | ), |
| 6737 | 'supports' => array( |
| 6738 | 'anchor' => true, |
| 6739 | 'align' => true, |
| 6740 | 'reusable' => false, |
| 6741 | 'html' => false, |
| 6742 | 'color' => array( |
| 6743 | 'gradients' => true, |
| 6744 | 'link' => true, |
| 6745 | '__experimentalDefaultControls' => array( |
| 6746 | 'background' => true, |
| 6747 | 'text' => true, |
| 6748 | 'link' => true |
| 6749 | ) |
| 6750 | ), |
| 6751 | 'layout' => array( |
| 6752 | 'allowSwitching' => false, |
| 6753 | 'allowInheriting' => false, |
| 6754 | 'default' => array( |
| 6755 | 'type' => 'flex' |
| 6756 | ) |
| 6757 | ), |
| 6758 | 'typography' => array( |
| 6759 | 'fontSize' => true, |
| 6760 | 'lineHeight' => true, |
| 6761 | '__experimentalFontFamily' => true, |
| 6762 | '__experimentalFontWeight' => true, |
| 6763 | '__experimentalFontStyle' => true, |
| 6764 | '__experimentalTextTransform' => true, |
| 6765 | '__experimentalTextDecoration' => true, |
| 6766 | '__experimentalLetterSpacing' => true, |
| 6767 | '__experimentalDefaultControls' => array( |
| 6768 | 'fontSize' => true |
| 6769 | ) |
| 6770 | ), |
| 6771 | 'interactivity' => array( |
| 6772 | 'clientNavigation' => true |
| 6773 | ) |
| 6774 | ), |
| 6775 | 'editorStyle' => 'wp-block-query-pagination-editor', |
| 6776 | 'style' => 'wp-block-query-pagination' |
| 6777 | ), |
| 6778 | 'query-pagination-next' => array( |
| 6779 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6780 | 'apiVersion' => 3, |
| 6781 | 'name' => 'core/query-pagination-next', |
| 6782 | 'title' => 'Next Page', |
| 6783 | 'category' => 'theme', |
| 6784 | 'parent' => array( |
| 6785 | 'core/query-pagination' |
| 6786 | ), |
| 6787 | 'description' => 'Displays the next posts page link.', |
| 6788 | 'textdomain' => 'default', |
| 6789 | 'attributes' => array( |
| 6790 | 'label' => array( |
| 6791 | 'type' => 'string' |
| 6792 | ) |
| 6793 | ), |
| 6794 | 'usesContext' => array( |
| 6795 | 'queryId', |
| 6796 | 'query', |
| 6797 | 'paginationArrow', |
| 6798 | 'showLabel', |
| 6799 | 'enhancedPagination' |
| 6800 | ), |
| 6801 | 'supports' => array( |
| 6802 | 'anchor' => true, |
| 6803 | 'reusable' => false, |
| 6804 | 'html' => false, |
| 6805 | 'color' => array( |
| 6806 | 'gradients' => true, |
| 6807 | 'text' => false, |
| 6808 | '__experimentalDefaultControls' => array( |
| 6809 | 'background' => true |
| 6810 | ) |
| 6811 | ), |
| 6812 | 'typography' => array( |
| 6813 | 'fontSize' => true, |
| 6814 | 'lineHeight' => true, |
| 6815 | '__experimentalFontFamily' => true, |
| 6816 | '__experimentalFontWeight' => true, |
| 6817 | '__experimentalFontStyle' => true, |
| 6818 | '__experimentalTextTransform' => true, |
| 6819 | '__experimentalTextDecoration' => true, |
| 6820 | '__experimentalLetterSpacing' => true, |
| 6821 | '__experimentalDefaultControls' => array( |
| 6822 | 'fontSize' => true |
| 6823 | ) |
| 6824 | ), |
| 6825 | 'interactivity' => array( |
| 6826 | 'clientNavigation' => true |
| 6827 | ) |
| 6828 | ) |
| 6829 | ), |
| 6830 | 'query-pagination-numbers' => array( |
| 6831 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6832 | 'apiVersion' => 3, |
| 6833 | 'name' => 'core/query-pagination-numbers', |
| 6834 | 'title' => 'Page Numbers', |
| 6835 | 'category' => 'theme', |
| 6836 | 'parent' => array( |
| 6837 | 'core/query-pagination' |
| 6838 | ), |
| 6839 | 'description' => 'Displays a list of page numbers for pagination.', |
| 6840 | 'textdomain' => 'default', |
| 6841 | 'attributes' => array( |
| 6842 | 'midSize' => array( |
| 6843 | 'type' => 'number', |
| 6844 | 'default' => 2 |
| 6845 | ) |
| 6846 | ), |
| 6847 | 'usesContext' => array( |
| 6848 | 'queryId', |
| 6849 | 'query', |
| 6850 | 'enhancedPagination' |
| 6851 | ), |
| 6852 | 'supports' => array( |
| 6853 | 'anchor' => true, |
| 6854 | 'reusable' => false, |
| 6855 | 'html' => false, |
| 6856 | 'color' => array( |
| 6857 | 'gradients' => true, |
| 6858 | 'text' => false, |
| 6859 | '__experimentalDefaultControls' => array( |
| 6860 | 'background' => true |
| 6861 | ) |
| 6862 | ), |
| 6863 | 'typography' => array( |
| 6864 | 'fontSize' => true, |
| 6865 | 'lineHeight' => true, |
| 6866 | '__experimentalFontFamily' => true, |
| 6867 | '__experimentalFontWeight' => true, |
| 6868 | '__experimentalFontStyle' => true, |
| 6869 | '__experimentalTextTransform' => true, |
| 6870 | '__experimentalTextDecoration' => true, |
| 6871 | '__experimentalLetterSpacing' => true, |
| 6872 | '__experimentalDefaultControls' => array( |
| 6873 | 'fontSize' => true |
| 6874 | ) |
| 6875 | ), |
| 6876 | 'interactivity' => array( |
| 6877 | 'clientNavigation' => true |
| 6878 | ) |
| 6879 | ), |
| 6880 | 'editorStyle' => 'wp-block-query-pagination-numbers-editor' |
| 6881 | ), |
| 6882 | 'query-pagination-previous' => array( |
| 6883 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6884 | 'apiVersion' => 3, |
| 6885 | 'name' => 'core/query-pagination-previous', |
| 6886 | 'title' => 'Previous Page', |
| 6887 | 'category' => 'theme', |
| 6888 | 'parent' => array( |
| 6889 | 'core/query-pagination' |
| 6890 | ), |
| 6891 | 'description' => 'Displays the previous posts page link.', |
| 6892 | 'textdomain' => 'default', |
| 6893 | 'attributes' => array( |
| 6894 | 'label' => array( |
| 6895 | 'type' => 'string' |
| 6896 | ) |
| 6897 | ), |
| 6898 | 'usesContext' => array( |
| 6899 | 'queryId', |
| 6900 | 'query', |
| 6901 | 'paginationArrow', |
| 6902 | 'showLabel', |
| 6903 | 'enhancedPagination' |
| 6904 | ), |
| 6905 | 'supports' => array( |
| 6906 | 'anchor' => true, |
| 6907 | 'reusable' => false, |
| 6908 | 'html' => false, |
| 6909 | 'color' => array( |
| 6910 | 'gradients' => true, |
| 6911 | 'text' => false, |
| 6912 | '__experimentalDefaultControls' => array( |
| 6913 | 'background' => true |
| 6914 | ) |
| 6915 | ), |
| 6916 | 'typography' => array( |
| 6917 | 'fontSize' => true, |
| 6918 | 'lineHeight' => true, |
| 6919 | '__experimentalFontFamily' => true, |
| 6920 | '__experimentalFontWeight' => true, |
| 6921 | '__experimentalFontStyle' => true, |
| 6922 | '__experimentalTextTransform' => true, |
| 6923 | '__experimentalTextDecoration' => true, |
| 6924 | '__experimentalLetterSpacing' => true, |
| 6925 | '__experimentalDefaultControls' => array( |
| 6926 | 'fontSize' => true |
| 6927 | ) |
| 6928 | ), |
| 6929 | 'interactivity' => array( |
| 6930 | 'clientNavigation' => true |
| 6931 | ) |
| 6932 | ) |
| 6933 | ), |
| 6934 | 'query-title' => array( |
| 6935 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 6936 | 'apiVersion' => 3, |
| 6937 | 'name' => 'core/query-title', |
| 6938 | 'title' => 'Query Title', |
| 6939 | 'category' => 'theme', |
| 6940 | 'description' => 'Display the query title.', |
| 6941 | 'textdomain' => 'default', |
| 6942 | 'attributes' => array( |
| 6943 | 'type' => array( |
| 6944 | 'type' => 'string' |
| 6945 | ), |
| 6946 | 'level' => array( |
| 6947 | 'type' => 'number', |
| 6948 | 'default' => 1 |
| 6949 | ), |
| 6950 | 'levelOptions' => array( |
| 6951 | 'type' => 'array' |
| 6952 | ), |
| 6953 | 'showPrefix' => array( |
| 6954 | 'type' => 'boolean', |
| 6955 | 'default' => true |
| 6956 | ), |
| 6957 | 'showSearchTerm' => array( |
| 6958 | 'type' => 'boolean', |
| 6959 | 'default' => true |
| 6960 | ) |
| 6961 | ), |
| 6962 | 'example' => array( |
| 6963 | 'attributes' => array( |
| 6964 | 'type' => 'search' |
| 6965 | ) |
| 6966 | ), |
| 6967 | 'usesContext' => array( |
| 6968 | 'query' |
| 6969 | ), |
| 6970 | 'supports' => array( |
| 6971 | 'anchor' => true, |
| 6972 | 'align' => array( |
| 6973 | 'wide', |
| 6974 | 'full' |
| 6975 | ), |
| 6976 | 'html' => false, |
| 6977 | 'color' => array( |
| 6978 | 'gradients' => true, |
| 6979 | '__experimentalDefaultControls' => array( |
| 6980 | 'background' => true, |
| 6981 | 'text' => true |
| 6982 | ) |
| 6983 | ), |
| 6984 | 'spacing' => array( |
| 6985 | 'margin' => true, |
| 6986 | 'padding' => true |
| 6987 | ), |
| 6988 | 'typography' => array( |
| 6989 | 'fontSize' => true, |
| 6990 | 'lineHeight' => true, |
| 6991 | 'textAlign' => true, |
| 6992 | '__experimentalFontFamily' => true, |
| 6993 | '__experimentalFontStyle' => true, |
| 6994 | '__experimentalFontWeight' => true, |
| 6995 | '__experimentalLetterSpacing' => true, |
| 6996 | '__experimentalTextTransform' => true, |
| 6997 | '__experimentalTextDecoration' => true, |
| 6998 | '__experimentalDefaultControls' => array( |
| 6999 | 'fontSize' => true |
| 7000 | ) |
| 7001 | ), |
| 7002 | 'interactivity' => array( |
| 7003 | 'clientNavigation' => true |
| 7004 | ), |
| 7005 | '__experimentalBorder' => array( |
| 7006 | 'radius' => true, |
| 7007 | 'color' => true, |
| 7008 | 'width' => true, |
| 7009 | 'style' => true, |
| 7010 | '__experimentalDefaultControls' => array( |
| 7011 | 'radius' => true, |
| 7012 | 'color' => true, |
| 7013 | 'width' => true, |
| 7014 | 'style' => true |
| 7015 | ) |
| 7016 | ) |
| 7017 | ), |
| 7018 | 'style' => 'wp-block-query-title' |
| 7019 | ), |
| 7020 | 'query-total' => array( |
| 7021 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7022 | 'apiVersion' => 3, |
| 7023 | 'name' => 'core/query-total', |
| 7024 | 'title' => 'Query Total', |
| 7025 | 'category' => 'theme', |
| 7026 | 'ancestor' => array( |
| 7027 | 'core/query' |
| 7028 | ), |
| 7029 | 'description' => 'Display the total number of results in a query.', |
| 7030 | 'textdomain' => 'default', |
| 7031 | 'attributes' => array( |
| 7032 | 'displayType' => array( |
| 7033 | 'type' => 'string', |
| 7034 | 'default' => 'total-results' |
| 7035 | ) |
| 7036 | ), |
| 7037 | 'usesContext' => array( |
| 7038 | 'queryId', |
| 7039 | 'query' |
| 7040 | ), |
| 7041 | 'supports' => array( |
| 7042 | 'anchor' => true, |
| 7043 | 'align' => array( |
| 7044 | 'wide', |
| 7045 | 'full' |
| 7046 | ), |
| 7047 | 'html' => false, |
| 7048 | 'spacing' => array( |
| 7049 | 'margin' => true, |
| 7050 | 'padding' => true |
| 7051 | ), |
| 7052 | 'color' => array( |
| 7053 | 'gradients' => true, |
| 7054 | '__experimentalDefaultControls' => array( |
| 7055 | 'background' => true, |
| 7056 | 'text' => true |
| 7057 | ) |
| 7058 | ), |
| 7059 | 'typography' => array( |
| 7060 | 'fontSize' => true, |
| 7061 | 'lineHeight' => true, |
| 7062 | '__experimentalFontFamily' => true, |
| 7063 | '__experimentalFontWeight' => true, |
| 7064 | '__experimentalFontStyle' => true, |
| 7065 | '__experimentalTextTransform' => true, |
| 7066 | '__experimentalTextDecoration' => true, |
| 7067 | '__experimentalLetterSpacing' => true, |
| 7068 | '__experimentalDefaultControls' => array( |
| 7069 | 'fontSize' => true |
| 7070 | ) |
| 7071 | ), |
| 7072 | '__experimentalBorder' => array( |
| 7073 | 'radius' => true, |
| 7074 | 'color' => true, |
| 7075 | 'width' => true, |
| 7076 | 'style' => true, |
| 7077 | '__experimentalDefaultControls' => array( |
| 7078 | 'radius' => true, |
| 7079 | 'color' => true, |
| 7080 | 'width' => true, |
| 7081 | 'style' => true |
| 7082 | ) |
| 7083 | ), |
| 7084 | 'interactivity' => array( |
| 7085 | 'clientNavigation' => true |
| 7086 | ) |
| 7087 | ), |
| 7088 | 'style' => 'wp-block-query-total' |
| 7089 | ), |
| 7090 | 'quote' => array( |
| 7091 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7092 | 'apiVersion' => 3, |
| 7093 | 'name' => 'core/quote', |
| 7094 | 'title' => 'Quote', |
| 7095 | 'category' => 'text', |
| 7096 | 'description' => 'Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar', |
| 7097 | 'keywords' => array( |
| 7098 | 'blockquote', |
| 7099 | 'cite' |
| 7100 | ), |
| 7101 | 'textdomain' => 'default', |
| 7102 | 'attributes' => array( |
| 7103 | 'value' => array( |
| 7104 | 'type' => 'string', |
| 7105 | 'source' => 'html', |
| 7106 | 'selector' => 'blockquote', |
| 7107 | 'multiline' => 'p', |
| 7108 | 'default' => '', |
| 7109 | 'role' => 'content' |
| 7110 | ), |
| 7111 | 'citation' => array( |
| 7112 | 'type' => 'rich-text', |
| 7113 | 'source' => 'rich-text', |
| 7114 | 'selector' => 'cite', |
| 7115 | 'role' => 'content' |
| 7116 | ), |
| 7117 | 'textAlign' => array( |
| 7118 | 'type' => 'string' |
| 7119 | ) |
| 7120 | ), |
| 7121 | 'supports' => array( |
| 7122 | 'anchor' => true, |
| 7123 | 'align' => array( |
| 7124 | 'left', |
| 7125 | 'right', |
| 7126 | 'wide', |
| 7127 | 'full' |
| 7128 | ), |
| 7129 | 'html' => false, |
| 7130 | 'background' => array( |
| 7131 | 'backgroundImage' => true, |
| 7132 | 'backgroundSize' => true, |
| 7133 | '__experimentalDefaultControls' => array( |
| 7134 | 'backgroundImage' => true |
| 7135 | ) |
| 7136 | ), |
| 7137 | '__experimentalBorder' => array( |
| 7138 | 'color' => true, |
| 7139 | 'radius' => true, |
| 7140 | 'style' => true, |
| 7141 | 'width' => true, |
| 7142 | '__experimentalDefaultControls' => array( |
| 7143 | 'color' => true, |
| 7144 | 'radius' => true, |
| 7145 | 'style' => true, |
| 7146 | 'width' => true |
| 7147 | ) |
| 7148 | ), |
| 7149 | 'dimensions' => array( |
| 7150 | 'minHeight' => true, |
| 7151 | '__experimentalDefaultControls' => array( |
| 7152 | 'minHeight' => false |
| 7153 | ) |
| 7154 | ), |
| 7155 | '__experimentalOnEnter' => true, |
| 7156 | '__experimentalOnMerge' => true, |
| 7157 | 'typography' => array( |
| 7158 | 'fontSize' => true, |
| 7159 | 'lineHeight' => true, |
| 7160 | '__experimentalFontFamily' => true, |
| 7161 | '__experimentalFontWeight' => true, |
| 7162 | '__experimentalFontStyle' => true, |
| 7163 | '__experimentalTextTransform' => true, |
| 7164 | '__experimentalTextDecoration' => true, |
| 7165 | '__experimentalLetterSpacing' => true, |
| 7166 | '__experimentalDefaultControls' => array( |
| 7167 | 'fontSize' => true |
| 7168 | ) |
| 7169 | ), |
| 7170 | 'color' => array( |
| 7171 | 'gradients' => true, |
| 7172 | 'heading' => true, |
| 7173 | 'link' => true, |
| 7174 | '__experimentalDefaultControls' => array( |
| 7175 | 'background' => true, |
| 7176 | 'text' => true |
| 7177 | ) |
| 7178 | ), |
| 7179 | 'layout' => array( |
| 7180 | 'allowEditing' => false |
| 7181 | ), |
| 7182 | 'spacing' => array( |
| 7183 | 'blockGap' => true, |
| 7184 | 'padding' => true, |
| 7185 | 'margin' => true |
| 7186 | ), |
| 7187 | 'interactivity' => array( |
| 7188 | 'clientNavigation' => true |
| 7189 | ), |
| 7190 | 'allowedBlocks' => true |
| 7191 | ), |
| 7192 | 'styles' => array( |
| 7193 | array( |
| 7194 | 'name' => 'default', |
| 7195 | 'label' => 'Default', |
| 7196 | 'isDefault' => true |
| 7197 | ), |
| 7198 | array( |
| 7199 | 'name' => 'plain', |
| 7200 | 'label' => 'Plain' |
| 7201 | ) |
| 7202 | ), |
| 7203 | 'editorStyle' => 'wp-block-quote-editor', |
| 7204 | 'style' => 'wp-block-quote' |
| 7205 | ), |
| 7206 | 'read-more' => array( |
| 7207 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7208 | 'apiVersion' => 3, |
| 7209 | 'name' => 'core/read-more', |
| 7210 | 'title' => 'Read More', |
| 7211 | 'category' => 'theme', |
| 7212 | 'description' => 'Displays the link of a post, page, or any other content-type.', |
| 7213 | 'textdomain' => 'default', |
| 7214 | 'attributes' => array( |
| 7215 | 'content' => array( |
| 7216 | 'type' => 'string', |
| 7217 | 'role' => 'content' |
| 7218 | ), |
| 7219 | 'linkTarget' => array( |
| 7220 | 'type' => 'string', |
| 7221 | 'default' => '_self' |
| 7222 | ) |
| 7223 | ), |
| 7224 | 'usesContext' => array( |
| 7225 | 'postId' |
| 7226 | ), |
| 7227 | 'supports' => array( |
| 7228 | 'anchor' => true, |
| 7229 | 'html' => false, |
| 7230 | 'color' => array( |
| 7231 | 'gradients' => true, |
| 7232 | 'text' => true |
| 7233 | ), |
| 7234 | 'typography' => array( |
| 7235 | 'fontSize' => true, |
| 7236 | 'lineHeight' => true, |
| 7237 | '__experimentalFontFamily' => true, |
| 7238 | '__experimentalFontWeight' => true, |
| 7239 | '__experimentalFontStyle' => true, |
| 7240 | '__experimentalTextTransform' => true, |
| 7241 | '__experimentalLetterSpacing' => true, |
| 7242 | '__experimentalTextDecoration' => true, |
| 7243 | '__experimentalDefaultControls' => array( |
| 7244 | 'fontSize' => true, |
| 7245 | 'textDecoration' => true |
| 7246 | ) |
| 7247 | ), |
| 7248 | 'spacing' => array( |
| 7249 | 'margin' => array( |
| 7250 | 'top', |
| 7251 | 'bottom' |
| 7252 | ), |
| 7253 | 'padding' => true, |
| 7254 | '__experimentalDefaultControls' => array( |
| 7255 | 'padding' => true |
| 7256 | ) |
| 7257 | ), |
| 7258 | '__experimentalBorder' => array( |
| 7259 | 'color' => true, |
| 7260 | 'radius' => true, |
| 7261 | 'width' => true, |
| 7262 | '__experimentalDefaultControls' => array( |
| 7263 | 'width' => true |
| 7264 | ) |
| 7265 | ), |
| 7266 | 'interactivity' => array( |
| 7267 | 'clientNavigation' => true |
| 7268 | ) |
| 7269 | ), |
| 7270 | 'style' => 'wp-block-read-more' |
| 7271 | ), |
| 7272 | 'rss' => array( |
| 7273 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7274 | 'apiVersion' => 3, |
| 7275 | 'name' => 'core/rss', |
| 7276 | 'title' => 'RSS', |
| 7277 | 'category' => 'widgets', |
| 7278 | 'description' => 'Display entries from any RSS or Atom feed.', |
| 7279 | 'keywords' => array( |
| 7280 | 'atom', |
| 7281 | 'feed' |
| 7282 | ), |
| 7283 | 'textdomain' => 'default', |
| 7284 | 'attributes' => array( |
| 7285 | 'columns' => array( |
| 7286 | 'type' => 'number', |
| 7287 | 'default' => 2 |
| 7288 | ), |
| 7289 | 'blockLayout' => array( |
| 7290 | 'type' => 'string', |
| 7291 | 'default' => 'list' |
| 7292 | ), |
| 7293 | 'feedURL' => array( |
| 7294 | 'type' => 'string', |
| 7295 | 'default' => '', |
| 7296 | 'role' => 'content' |
| 7297 | ), |
| 7298 | 'itemsToShow' => array( |
| 7299 | 'type' => 'number', |
| 7300 | 'default' => 5 |
| 7301 | ), |
| 7302 | 'displayExcerpt' => array( |
| 7303 | 'type' => 'boolean', |
| 7304 | 'default' => false |
| 7305 | ), |
| 7306 | 'displayAuthor' => array( |
| 7307 | 'type' => 'boolean', |
| 7308 | 'default' => false |
| 7309 | ), |
| 7310 | 'displayDate' => array( |
| 7311 | 'type' => 'boolean', |
| 7312 | 'default' => false |
| 7313 | ), |
| 7314 | 'excerptLength' => array( |
| 7315 | 'type' => 'number', |
| 7316 | 'default' => 55 |
| 7317 | ), |
| 7318 | 'openInNewTab' => array( |
| 7319 | 'type' => 'boolean', |
| 7320 | 'default' => false |
| 7321 | ), |
| 7322 | 'rel' => array( |
| 7323 | 'type' => 'string' |
| 7324 | ) |
| 7325 | ), |
| 7326 | 'supports' => array( |
| 7327 | 'anchor' => true, |
| 7328 | 'align' => true, |
| 7329 | 'html' => false, |
| 7330 | 'interactivity' => array( |
| 7331 | 'clientNavigation' => true |
| 7332 | ), |
| 7333 | '__experimentalBorder' => array( |
| 7334 | 'radius' => true, |
| 7335 | 'color' => true, |
| 7336 | 'width' => true, |
| 7337 | 'style' => true |
| 7338 | ), |
| 7339 | 'spacing' => array( |
| 7340 | 'margin' => true, |
| 7341 | 'padding' => true, |
| 7342 | '__experimentalDefaultControls' => array( |
| 7343 | 'padding' => false, |
| 7344 | 'margin' => false |
| 7345 | ) |
| 7346 | ), |
| 7347 | 'color' => array( |
| 7348 | 'background' => true, |
| 7349 | 'text' => true, |
| 7350 | 'gradients' => true, |
| 7351 | 'link' => true |
| 7352 | ) |
| 7353 | ), |
| 7354 | 'editorStyle' => 'wp-block-rss-editor', |
| 7355 | 'style' => 'wp-block-rss' |
| 7356 | ), |
| 7357 | 'search' => array( |
| 7358 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7359 | 'apiVersion' => 3, |
| 7360 | 'name' => 'core/search', |
| 7361 | 'title' => 'Search', |
| 7362 | 'category' => 'widgets', |
| 7363 | 'description' => 'Help visitors find your content.', |
| 7364 | 'keywords' => array( |
| 7365 | 'find' |
| 7366 | ), |
| 7367 | 'textdomain' => 'default', |
| 7368 | 'attributes' => array( |
| 7369 | 'label' => array( |
| 7370 | 'type' => 'string', |
| 7371 | 'role' => 'content' |
| 7372 | ), |
| 7373 | 'showLabel' => array( |
| 7374 | 'type' => 'boolean', |
| 7375 | 'default' => true |
| 7376 | ), |
| 7377 | 'placeholder' => array( |
| 7378 | 'type' => 'string', |
| 7379 | 'default' => '', |
| 7380 | 'role' => 'content' |
| 7381 | ), |
| 7382 | 'width' => array( |
| 7383 | 'type' => 'number' |
| 7384 | ), |
| 7385 | 'widthUnit' => array( |
| 7386 | 'type' => 'string' |
| 7387 | ), |
| 7388 | 'buttonText' => array( |
| 7389 | 'type' => 'string', |
| 7390 | 'role' => 'content' |
| 7391 | ), |
| 7392 | 'buttonPosition' => array( |
| 7393 | 'type' => 'string', |
| 7394 | 'default' => 'button-outside' |
| 7395 | ), |
| 7396 | 'buttonUseIcon' => array( |
| 7397 | 'type' => 'boolean', |
| 7398 | 'default' => false |
| 7399 | ), |
| 7400 | 'query' => array( |
| 7401 | 'type' => 'object', |
| 7402 | 'default' => array( |
| 7403 | |
| 7404 | ) |
| 7405 | ) |
| 7406 | ), |
| 7407 | 'supports' => array( |
| 7408 | 'anchor' => true, |
| 7409 | 'align' => array( |
| 7410 | 'left', |
| 7411 | 'center', |
| 7412 | 'right' |
| 7413 | ), |
| 7414 | 'color' => array( |
| 7415 | 'gradients' => true, |
| 7416 | '__experimentalSkipSerialization' => true, |
| 7417 | '__experimentalDefaultControls' => array( |
| 7418 | 'background' => true, |
| 7419 | 'text' => true |
| 7420 | ) |
| 7421 | ), |
| 7422 | 'interactivity' => true, |
| 7423 | 'typography' => array( |
| 7424 | '__experimentalSkipSerialization' => true, |
| 7425 | '__experimentalSelector' => '.wp-block-search__label, .wp-block-search__input, .wp-block-search__button', |
| 7426 | 'fontSize' => true, |
| 7427 | 'lineHeight' => true, |
| 7428 | '__experimentalFontFamily' => true, |
| 7429 | '__experimentalFontWeight' => true, |
| 7430 | '__experimentalFontStyle' => true, |
| 7431 | '__experimentalTextTransform' => true, |
| 7432 | '__experimentalTextDecoration' => true, |
| 7433 | '__experimentalLetterSpacing' => true, |
| 7434 | '__experimentalDefaultControls' => array( |
| 7435 | 'fontSize' => true |
| 7436 | ) |
| 7437 | ), |
| 7438 | '__experimentalBorder' => array( |
| 7439 | 'color' => true, |
| 7440 | 'radius' => true, |
| 7441 | 'width' => true, |
| 7442 | '__experimentalSkipSerialization' => true, |
| 7443 | '__experimentalDefaultControls' => array( |
| 7444 | 'color' => true, |
| 7445 | 'radius' => true, |
| 7446 | 'width' => true |
| 7447 | ) |
| 7448 | ), |
| 7449 | 'spacing' => array( |
| 7450 | 'margin' => true |
| 7451 | ), |
| 7452 | 'html' => false |
| 7453 | ), |
| 7454 | 'editorStyle' => 'wp-block-search-editor', |
| 7455 | 'style' => 'wp-block-search', |
| 7456 | 'selectors' => array( |
| 7457 | 'color' => '.wp-block-search .wp-block-search__button, .wp-block-search.wp-block-search__no-button .wp-block-search__input', |
| 7458 | 'border' => '.wp-block-search.wp-block-search__button-outside .wp-block-search__input, .wp-block-search.wp-block-search__button-outside .wp-block-search__button, .wp-block-search.wp-block-search__no-button .wp-block-search__input, .wp-block-search.wp-block-search__button-only .wp-block-search__input, .wp-block-search.wp-block-search__button-only .wp-block-search__button, .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper' |
| 7459 | ) |
| 7460 | ), |
| 7461 | 'separator' => array( |
| 7462 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7463 | 'apiVersion' => 3, |
| 7464 | 'name' => 'core/separator', |
| 7465 | 'title' => 'Separator', |
| 7466 | 'category' => 'design', |
| 7467 | 'description' => 'Create a break between ideas or sections with a horizontal separator.', |
| 7468 | 'keywords' => array( |
| 7469 | 'horizontal-line', |
| 7470 | 'hr', |
| 7471 | 'divider' |
| 7472 | ), |
| 7473 | 'textdomain' => 'default', |
| 7474 | 'attributes' => array( |
| 7475 | 'opacity' => array( |
| 7476 | 'type' => 'string', |
| 7477 | 'default' => 'alpha-channel' |
| 7478 | ), |
| 7479 | 'tagName' => array( |
| 7480 | 'type' => 'string', |
| 7481 | 'enum' => array( |
| 7482 | 'hr', |
| 7483 | 'div' |
| 7484 | ), |
| 7485 | 'default' => 'hr' |
| 7486 | ) |
| 7487 | ), |
| 7488 | 'supports' => array( |
| 7489 | 'anchor' => true, |
| 7490 | 'align' => array( |
| 7491 | 'center', |
| 7492 | 'wide', |
| 7493 | 'full' |
| 7494 | ), |
| 7495 | 'color' => array( |
| 7496 | 'enableContrastChecker' => false, |
| 7497 | '__experimentalSkipSerialization' => true, |
| 7498 | 'gradients' => true, |
| 7499 | 'background' => true, |
| 7500 | 'text' => false, |
| 7501 | '__experimentalDefaultControls' => array( |
| 7502 | 'background' => true |
| 7503 | ) |
| 7504 | ), |
| 7505 | 'spacing' => array( |
| 7506 | 'margin' => array( |
| 7507 | 'top', |
| 7508 | 'bottom' |
| 7509 | ) |
| 7510 | ), |
| 7511 | 'interactivity' => array( |
| 7512 | 'clientNavigation' => true |
| 7513 | ) |
| 7514 | ), |
| 7515 | 'styles' => array( |
| 7516 | array( |
| 7517 | 'name' => 'default', |
| 7518 | 'label' => 'Default', |
| 7519 | 'isDefault' => true |
| 7520 | ), |
| 7521 | array( |
| 7522 | 'name' => 'wide', |
| 7523 | 'label' => 'Wide Line' |
| 7524 | ), |
| 7525 | array( |
| 7526 | 'name' => 'dots', |
| 7527 | 'label' => 'Dots' |
| 7528 | ) |
| 7529 | ), |
| 7530 | 'editorStyle' => 'wp-block-separator-editor', |
| 7531 | 'style' => 'wp-block-separator' |
| 7532 | ), |
| 7533 | 'shortcode' => array( |
| 7534 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7535 | 'apiVersion' => 3, |
| 7536 | 'name' => 'core/shortcode', |
| 7537 | 'title' => 'Shortcode', |
| 7538 | 'category' => 'widgets', |
| 7539 | 'description' => 'Insert additional custom elements with a WordPress shortcode.', |
| 7540 | 'textdomain' => 'default', |
| 7541 | 'attributes' => array( |
| 7542 | 'text' => array( |
| 7543 | 'type' => 'string', |
| 7544 | 'source' => 'raw', |
| 7545 | 'role' => 'content' |
| 7546 | ) |
| 7547 | ), |
| 7548 | 'supports' => array( |
| 7549 | 'className' => false, |
| 7550 | 'customClassName' => false, |
| 7551 | 'html' => false, |
| 7552 | 'customCSS' => false, |
| 7553 | 'visibility' => false |
| 7554 | ), |
| 7555 | 'editorStyle' => 'wp-block-shortcode-editor' |
| 7556 | ), |
| 7557 | 'site-logo' => array( |
| 7558 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7559 | 'apiVersion' => 3, |
| 7560 | 'name' => 'core/site-logo', |
| 7561 | 'title' => 'Site Logo', |
| 7562 | 'category' => 'theme', |
| 7563 | 'description' => 'Display an image to represent this site. Update this block and the changes apply everywhere.', |
| 7564 | 'textdomain' => 'default', |
| 7565 | 'attributes' => array( |
| 7566 | 'width' => array( |
| 7567 | 'type' => 'number' |
| 7568 | ), |
| 7569 | 'isLink' => array( |
| 7570 | 'type' => 'boolean', |
| 7571 | 'default' => true, |
| 7572 | 'role' => 'content' |
| 7573 | ), |
| 7574 | 'linkTarget' => array( |
| 7575 | 'type' => 'string', |
| 7576 | 'default' => '_self', |
| 7577 | 'role' => 'content' |
| 7578 | ), |
| 7579 | 'shouldSyncIcon' => array( |
| 7580 | 'type' => 'boolean' |
| 7581 | ) |
| 7582 | ), |
| 7583 | 'example' => array( |
| 7584 | 'viewportWidth' => 500, |
| 7585 | 'attributes' => array( |
| 7586 | 'width' => 350, |
| 7587 | 'className' => 'block-editor-block-types-list__site-logo-example' |
| 7588 | ) |
| 7589 | ), |
| 7590 | 'supports' => array( |
| 7591 | 'anchor' => true, |
| 7592 | 'html' => false, |
| 7593 | 'align' => true, |
| 7594 | 'alignWide' => false, |
| 7595 | 'color' => array( |
| 7596 | 'text' => false, |
| 7597 | 'background' => false |
| 7598 | ), |
| 7599 | 'spacing' => array( |
| 7600 | 'margin' => true, |
| 7601 | 'padding' => true, |
| 7602 | '__experimentalDefaultControls' => array( |
| 7603 | 'margin' => false, |
| 7604 | 'padding' => false |
| 7605 | ) |
| 7606 | ), |
| 7607 | 'interactivity' => array( |
| 7608 | 'clientNavigation' => true |
| 7609 | ), |
| 7610 | 'filter' => array( |
| 7611 | 'duotone' => true |
| 7612 | ) |
| 7613 | ), |
| 7614 | 'styles' => array( |
| 7615 | array( |
| 7616 | 'name' => 'default', |
| 7617 | 'label' => 'Default', |
| 7618 | 'isDefault' => true |
| 7619 | ), |
| 7620 | array( |
| 7621 | 'name' => 'rounded', |
| 7622 | 'label' => 'Rounded' |
| 7623 | ) |
| 7624 | ), |
| 7625 | 'selectors' => array( |
| 7626 | 'filter' => array( |
| 7627 | 'duotone' => '.wp-block-site-logo img, .wp-block-site-logo .components-placeholder__illustration, .wp-block-site-logo .components-placeholder::before' |
| 7628 | ) |
| 7629 | ), |
| 7630 | 'editorStyle' => 'wp-block-site-logo-editor', |
| 7631 | 'style' => 'wp-block-site-logo' |
| 7632 | ), |
| 7633 | 'site-tagline' => array( |
| 7634 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7635 | 'apiVersion' => 3, |
| 7636 | 'name' => 'core/site-tagline', |
| 7637 | 'title' => 'Site Tagline', |
| 7638 | 'category' => 'theme', |
| 7639 | 'description' => 'Describe in a few words what this site is about. This is important for search results, sharing on social media, and gives overall clarity to visitors.', |
| 7640 | 'keywords' => array( |
| 7641 | 'description' |
| 7642 | ), |
| 7643 | 'textdomain' => 'default', |
| 7644 | 'attributes' => array( |
| 7645 | 'level' => array( |
| 7646 | 'type' => 'number', |
| 7647 | 'default' => 0 |
| 7648 | ), |
| 7649 | 'levelOptions' => array( |
| 7650 | 'type' => 'array', |
| 7651 | 'default' => array( |
| 7652 | 0, |
| 7653 | 1, |
| 7654 | 2, |
| 7655 | 3, |
| 7656 | 4, |
| 7657 | 5, |
| 7658 | 6 |
| 7659 | ) |
| 7660 | ) |
| 7661 | ), |
| 7662 | 'example' => array( |
| 7663 | 'viewportWidth' => 350, |
| 7664 | 'attributes' => array( |
| 7665 | 'style' => array( |
| 7666 | 'typography' => array( |
| 7667 | 'textAlign' => 'center' |
| 7668 | ) |
| 7669 | ) |
| 7670 | ) |
| 7671 | ), |
| 7672 | 'supports' => array( |
| 7673 | 'anchor' => true, |
| 7674 | 'align' => array( |
| 7675 | 'wide', |
| 7676 | 'full' |
| 7677 | ), |
| 7678 | 'html' => false, |
| 7679 | 'color' => array( |
| 7680 | 'gradients' => true, |
| 7681 | '__experimentalDefaultControls' => array( |
| 7682 | 'background' => true, |
| 7683 | 'text' => true |
| 7684 | ) |
| 7685 | ), |
| 7686 | 'contentRole' => true, |
| 7687 | 'spacing' => array( |
| 7688 | 'margin' => true, |
| 7689 | 'padding' => true, |
| 7690 | '__experimentalDefaultControls' => array( |
| 7691 | 'margin' => false, |
| 7692 | 'padding' => false |
| 7693 | ) |
| 7694 | ), |
| 7695 | 'typography' => array( |
| 7696 | 'fontSize' => true, |
| 7697 | 'lineHeight' => true, |
| 7698 | 'textAlign' => true, |
| 7699 | '__experimentalFontFamily' => true, |
| 7700 | '__experimentalTextTransform' => true, |
| 7701 | '__experimentalTextDecoration' => true, |
| 7702 | '__experimentalFontStyle' => true, |
| 7703 | '__experimentalFontWeight' => true, |
| 7704 | '__experimentalLetterSpacing' => true, |
| 7705 | '__experimentalWritingMode' => true, |
| 7706 | '__experimentalDefaultControls' => array( |
| 7707 | 'fontSize' => true |
| 7708 | ) |
| 7709 | ), |
| 7710 | 'interactivity' => array( |
| 7711 | 'clientNavigation' => true |
| 7712 | ), |
| 7713 | '__experimentalBorder' => array( |
| 7714 | 'radius' => true, |
| 7715 | 'color' => true, |
| 7716 | 'width' => true, |
| 7717 | 'style' => true |
| 7718 | ) |
| 7719 | ), |
| 7720 | 'editorStyle' => 'wp-block-site-tagline-editor', |
| 7721 | 'style' => 'wp-block-site-tagline' |
| 7722 | ), |
| 7723 | 'site-title' => array( |
| 7724 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7725 | 'apiVersion' => 3, |
| 7726 | 'name' => 'core/site-title', |
| 7727 | 'title' => 'Site Title', |
| 7728 | 'category' => 'theme', |
| 7729 | 'description' => 'Displays the name of this site. Update the block, and the changes apply everywhere it’s used. This will also appear in the browser title bar and in search results.', |
| 7730 | 'textdomain' => 'default', |
| 7731 | 'attributes' => array( |
| 7732 | 'level' => array( |
| 7733 | 'type' => 'number', |
| 7734 | 'default' => 1 |
| 7735 | ), |
| 7736 | 'levelOptions' => array( |
| 7737 | 'type' => 'array', |
| 7738 | 'default' => array( |
| 7739 | 0, |
| 7740 | 1, |
| 7741 | 2, |
| 7742 | 3, |
| 7743 | 4, |
| 7744 | 5, |
| 7745 | 6 |
| 7746 | ) |
| 7747 | ), |
| 7748 | 'isLink' => array( |
| 7749 | 'type' => 'boolean', |
| 7750 | 'default' => true, |
| 7751 | 'role' => 'content' |
| 7752 | ), |
| 7753 | 'linkTarget' => array( |
| 7754 | 'type' => 'string', |
| 7755 | 'default' => '_self', |
| 7756 | 'role' => 'content' |
| 7757 | ) |
| 7758 | ), |
| 7759 | 'example' => array( |
| 7760 | 'viewportWidth' => 500 |
| 7761 | ), |
| 7762 | 'supports' => array( |
| 7763 | 'anchor' => true, |
| 7764 | 'align' => array( |
| 7765 | 'wide', |
| 7766 | 'full' |
| 7767 | ), |
| 7768 | 'html' => false, |
| 7769 | 'color' => array( |
| 7770 | 'gradients' => true, |
| 7771 | 'link' => true, |
| 7772 | '__experimentalDefaultControls' => array( |
| 7773 | 'background' => true, |
| 7774 | 'text' => true, |
| 7775 | 'link' => true |
| 7776 | ) |
| 7777 | ), |
| 7778 | 'spacing' => array( |
| 7779 | 'padding' => true, |
| 7780 | 'margin' => true, |
| 7781 | '__experimentalDefaultControls' => array( |
| 7782 | 'margin' => false, |
| 7783 | 'padding' => false |
| 7784 | ) |
| 7785 | ), |
| 7786 | 'typography' => array( |
| 7787 | 'fontSize' => true, |
| 7788 | 'lineHeight' => true, |
| 7789 | 'textAlign' => true, |
| 7790 | '__experimentalFontFamily' => true, |
| 7791 | '__experimentalTextTransform' => true, |
| 7792 | '__experimentalTextDecoration' => true, |
| 7793 | '__experimentalFontStyle' => true, |
| 7794 | '__experimentalFontWeight' => true, |
| 7795 | '__experimentalLetterSpacing' => true, |
| 7796 | '__experimentalWritingMode' => true, |
| 7797 | '__experimentalDefaultControls' => array( |
| 7798 | 'fontSize' => true |
| 7799 | ) |
| 7800 | ), |
| 7801 | 'interactivity' => array( |
| 7802 | 'clientNavigation' => true |
| 7803 | ), |
| 7804 | '__experimentalBorder' => array( |
| 7805 | 'radius' => true, |
| 7806 | 'color' => true, |
| 7807 | 'width' => true, |
| 7808 | 'style' => true |
| 7809 | ) |
| 7810 | ), |
| 7811 | 'editorStyle' => 'wp-block-site-title-editor', |
| 7812 | 'style' => 'wp-block-site-title' |
| 7813 | ), |
| 7814 | 'social-link' => array( |
| 7815 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7816 | 'apiVersion' => 3, |
| 7817 | 'name' => 'core/social-link', |
| 7818 | 'title' => 'Social Icon', |
| 7819 | 'category' => 'widgets', |
| 7820 | 'parent' => array( |
| 7821 | 'core/social-links' |
| 7822 | ), |
| 7823 | 'description' => 'Display an icon linking to a social profile or site.', |
| 7824 | 'textdomain' => 'default', |
| 7825 | 'attributes' => array( |
| 7826 | 'url' => array( |
| 7827 | 'type' => 'string', |
| 7828 | 'role' => 'content' |
| 7829 | ), |
| 7830 | 'service' => array( |
| 7831 | 'type' => 'string' |
| 7832 | ), |
| 7833 | 'label' => array( |
| 7834 | 'type' => 'string', |
| 7835 | 'role' => 'content' |
| 7836 | ), |
| 7837 | 'rel' => array( |
| 7838 | 'type' => 'string' |
| 7839 | ) |
| 7840 | ), |
| 7841 | 'usesContext' => array( |
| 7842 | 'openInNewTab', |
| 7843 | 'showLabels', |
| 7844 | 'iconColor', |
| 7845 | 'iconColorValue', |
| 7846 | 'iconBackgroundColor', |
| 7847 | 'iconBackgroundColorValue' |
| 7848 | ), |
| 7849 | 'supports' => array( |
| 7850 | 'anchor' => true, |
| 7851 | 'reusable' => false, |
| 7852 | 'html' => false, |
| 7853 | 'interactivity' => array( |
| 7854 | 'clientNavigation' => true |
| 7855 | ) |
| 7856 | ), |
| 7857 | 'editorStyle' => 'wp-block-social-link-editor' |
| 7858 | ), |
| 7859 | 'social-links' => array( |
| 7860 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7861 | 'apiVersion' => 3, |
| 7862 | 'name' => 'core/social-links', |
| 7863 | 'title' => 'Social Icons', |
| 7864 | 'category' => 'widgets', |
| 7865 | 'allowedBlocks' => array( |
| 7866 | 'core/social-link' |
| 7867 | ), |
| 7868 | 'description' => 'Display icons linking to your social profiles or sites.', |
| 7869 | 'keywords' => array( |
| 7870 | 'links' |
| 7871 | ), |
| 7872 | 'textdomain' => 'default', |
| 7873 | 'attributes' => array( |
| 7874 | 'iconColor' => array( |
| 7875 | 'type' => 'string' |
| 7876 | ), |
| 7877 | 'customIconColor' => array( |
| 7878 | 'type' => 'string' |
| 7879 | ), |
| 7880 | 'iconColorValue' => array( |
| 7881 | 'type' => 'string' |
| 7882 | ), |
| 7883 | 'iconBackgroundColor' => array( |
| 7884 | 'type' => 'string' |
| 7885 | ), |
| 7886 | 'customIconBackgroundColor' => array( |
| 7887 | 'type' => 'string' |
| 7888 | ), |
| 7889 | 'iconBackgroundColorValue' => array( |
| 7890 | 'type' => 'string' |
| 7891 | ), |
| 7892 | 'openInNewTab' => array( |
| 7893 | 'type' => 'boolean', |
| 7894 | 'default' => false |
| 7895 | ), |
| 7896 | 'showLabels' => array( |
| 7897 | 'type' => 'boolean', |
| 7898 | 'default' => false |
| 7899 | ), |
| 7900 | 'size' => array( |
| 7901 | 'type' => 'string' |
| 7902 | ) |
| 7903 | ), |
| 7904 | 'providesContext' => array( |
| 7905 | 'openInNewTab' => 'openInNewTab', |
| 7906 | 'showLabels' => 'showLabels', |
| 7907 | 'iconColor' => 'iconColor', |
| 7908 | 'iconColorValue' => 'iconColorValue', |
| 7909 | 'iconBackgroundColor' => 'iconBackgroundColor', |
| 7910 | 'iconBackgroundColorValue' => 'iconBackgroundColorValue' |
| 7911 | ), |
| 7912 | 'supports' => array( |
| 7913 | 'align' => array( |
| 7914 | 'left', |
| 7915 | 'center', |
| 7916 | 'right' |
| 7917 | ), |
| 7918 | 'anchor' => true, |
| 7919 | 'html' => false, |
| 7920 | '__experimentalExposeControlsToChildren' => true, |
| 7921 | 'layout' => array( |
| 7922 | 'allowSwitching' => false, |
| 7923 | 'allowInheriting' => false, |
| 7924 | 'allowVerticalAlignment' => false, |
| 7925 | 'default' => array( |
| 7926 | 'type' => 'flex' |
| 7927 | ) |
| 7928 | ), |
| 7929 | 'color' => array( |
| 7930 | 'enableContrastChecker' => false, |
| 7931 | 'background' => true, |
| 7932 | 'gradients' => true, |
| 7933 | 'text' => false, |
| 7934 | '__experimentalDefaultControls' => array( |
| 7935 | 'background' => false |
| 7936 | ) |
| 7937 | ), |
| 7938 | 'spacing' => array( |
| 7939 | 'blockGap' => array( |
| 7940 | 'horizontal', |
| 7941 | 'vertical' |
| 7942 | ), |
| 7943 | 'margin' => true, |
| 7944 | 'padding' => true, |
| 7945 | 'units' => array( |
| 7946 | 'px', |
| 7947 | 'em', |
| 7948 | 'rem', |
| 7949 | 'vh', |
| 7950 | 'vw' |
| 7951 | ), |
| 7952 | '__experimentalDefaultControls' => array( |
| 7953 | 'blockGap' => true, |
| 7954 | 'margin' => true, |
| 7955 | 'padding' => false |
| 7956 | ) |
| 7957 | ), |
| 7958 | 'interactivity' => array( |
| 7959 | 'clientNavigation' => true |
| 7960 | ), |
| 7961 | '__experimentalBorder' => array( |
| 7962 | 'radius' => true, |
| 7963 | 'color' => true, |
| 7964 | 'width' => true, |
| 7965 | 'style' => true, |
| 7966 | '__experimentalDefaultControls' => array( |
| 7967 | 'radius' => true, |
| 7968 | 'color' => true, |
| 7969 | 'width' => true, |
| 7970 | 'style' => true |
| 7971 | ) |
| 7972 | ), |
| 7973 | 'contentRole' => true, |
| 7974 | 'listView' => true |
| 7975 | ), |
| 7976 | 'styles' => array( |
| 7977 | array( |
| 7978 | 'name' => 'default', |
| 7979 | 'label' => 'Default', |
| 7980 | 'isDefault' => true |
| 7981 | ), |
| 7982 | array( |
| 7983 | 'name' => 'logos-only', |
| 7984 | 'label' => 'Logos Only' |
| 7985 | ), |
| 7986 | array( |
| 7987 | 'name' => 'pill-shape', |
| 7988 | 'label' => 'Pill Shape' |
| 7989 | ) |
| 7990 | ), |
| 7991 | 'editorStyle' => 'wp-block-social-links-editor', |
| 7992 | 'style' => 'wp-block-social-links' |
| 7993 | ), |
| 7994 | 'spacer' => array( |
| 7995 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 7996 | 'apiVersion' => 3, |
| 7997 | 'name' => 'core/spacer', |
| 7998 | 'title' => 'Spacer', |
| 7999 | 'category' => 'design', |
| 8000 | 'description' => 'Add white space between blocks and customize its height.', |
| 8001 | 'textdomain' => 'default', |
| 8002 | 'attributes' => array( |
| 8003 | 'height' => array( |
| 8004 | 'type' => 'string', |
| 8005 | 'default' => '100px' |
| 8006 | ), |
| 8007 | 'width' => array( |
| 8008 | 'type' => 'string' |
| 8009 | ) |
| 8010 | ), |
| 8011 | 'usesContext' => array( |
| 8012 | 'orientation' |
| 8013 | ), |
| 8014 | 'supports' => array( |
| 8015 | 'anchor' => true, |
| 8016 | 'spacing' => array( |
| 8017 | 'margin' => array( |
| 8018 | 'top', |
| 8019 | 'bottom' |
| 8020 | ), |
| 8021 | '__experimentalDefaultControls' => array( |
| 8022 | 'margin' => true |
| 8023 | ) |
| 8024 | ), |
| 8025 | 'interactivity' => array( |
| 8026 | 'clientNavigation' => true |
| 8027 | ) |
| 8028 | ), |
| 8029 | 'editorStyle' => 'wp-block-spacer-editor', |
| 8030 | 'style' => 'wp-block-spacer' |
| 8031 | ), |
| 8032 | 'tab' => array( |
| 8033 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8034 | '__experimental' => true, |
| 8035 | 'apiVersion' => 3, |
| 8036 | 'name' => 'core/tab', |
| 8037 | 'title' => 'Tab', |
| 8038 | 'description' => 'A single tab button in the tab list.', |
| 8039 | 'category' => 'design', |
| 8040 | 'textdomain' => 'default', |
| 8041 | 'parent' => array( |
| 8042 | 'core/tab-list' |
| 8043 | ), |
| 8044 | 'usesContext' => array( |
| 8045 | 'core/tabs-list', |
| 8046 | 'core/tabs-activeTabIndex', |
| 8047 | 'core/tabs-editorActiveTabIndex', |
| 8048 | 'core/tab-index', |
| 8049 | 'core/tab-id', |
| 8050 | 'core/tab-label' |
| 8051 | ), |
| 8052 | 'supports' => array( |
| 8053 | 'html' => false, |
| 8054 | 'reusable' => false, |
| 8055 | 'visibility' => false, |
| 8056 | 'lock' => false, |
| 8057 | 'color' => array( |
| 8058 | 'background' => true, |
| 8059 | 'text' => true, |
| 8060 | '__experimentalDefaultControls' => array( |
| 8061 | 'background' => true, |
| 8062 | 'text' => true |
| 8063 | ) |
| 8064 | ), |
| 8065 | 'typography' => array( |
| 8066 | 'fontSize' => true, |
| 8067 | '__experimentalFontFamily' => true, |
| 8068 | 'textAlign' => true, |
| 8069 | '__experimentalDefaultControls' => array( |
| 8070 | 'fontSize' => true |
| 8071 | ) |
| 8072 | ), |
| 8073 | 'spacing' => array( |
| 8074 | 'padding' => true, |
| 8075 | '__experimentalDefaultControls' => array( |
| 8076 | 'padding' => true |
| 8077 | ) |
| 8078 | ), |
| 8079 | '__experimentalBorder' => array( |
| 8080 | 'radius' => true, |
| 8081 | 'color' => true, |
| 8082 | 'width' => true, |
| 8083 | 'style' => true |
| 8084 | ) |
| 8085 | ), |
| 8086 | 'editorScript' => 'file:./index.js', |
| 8087 | 'editorStyle' => 'file:./editor.css', |
| 8088 | 'style' => 'file:./style-index.css' |
| 8089 | ), |
| 8090 | 'tab-list' => array( |
| 8091 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8092 | '__experimental' => true, |
| 8093 | 'apiVersion' => 3, |
| 8094 | 'name' => 'core/tab-list', |
| 8095 | 'title' => 'Tab List', |
| 8096 | 'description' => 'Display the tab buttons for a tabbed interface.', |
| 8097 | 'category' => 'design', |
| 8098 | 'textdomain' => 'default', |
| 8099 | 'parent' => array( |
| 8100 | 'core/tabs' |
| 8101 | ), |
| 8102 | 'allowedBlocks' => array( |
| 8103 | 'core/tab' |
| 8104 | ), |
| 8105 | 'usesContext' => array( |
| 8106 | 'core/tabs-list' |
| 8107 | ), |
| 8108 | 'attributes' => array( |
| 8109 | |
| 8110 | ), |
| 8111 | 'supports' => array( |
| 8112 | 'html' => false, |
| 8113 | 'reusable' => false, |
| 8114 | 'visibility' => false, |
| 8115 | 'lock' => false, |
| 8116 | 'dimensions' => array( |
| 8117 | 'aspectRatio' => false, |
| 8118 | 'height' => false, |
| 8119 | 'minHeight' => false, |
| 8120 | 'width' => false |
| 8121 | ), |
| 8122 | 'color' => array( |
| 8123 | 'background' => true, |
| 8124 | 'text' => true, |
| 8125 | '__experimentalDefaultControls' => array( |
| 8126 | 'background' => true, |
| 8127 | 'text' => true |
| 8128 | ) |
| 8129 | ), |
| 8130 | 'typography' => array( |
| 8131 | 'fontSize' => true, |
| 8132 | '__experimentalFontFamily' => true |
| 8133 | ), |
| 8134 | '__experimentalBorder' => array( |
| 8135 | 'color' => true, |
| 8136 | 'radius' => true, |
| 8137 | 'style' => true, |
| 8138 | 'width' => true |
| 8139 | ), |
| 8140 | 'layout' => array( |
| 8141 | 'default' => array( |
| 8142 | 'type' => 'flex', |
| 8143 | 'flexWrap' => 'nowrap', |
| 8144 | 'orientation' => 'horizontal' |
| 8145 | ), |
| 8146 | 'allowSwitching' => false, |
| 8147 | 'allowVerticalAlignment' => true, |
| 8148 | 'allowJustification' => true, |
| 8149 | 'allowOrientation' => true |
| 8150 | ), |
| 8151 | 'spacing' => array( |
| 8152 | 'padding' => true, |
| 8153 | 'margin' => true, |
| 8154 | 'blockGap' => true, |
| 8155 | '__experimentalDefaultControls' => array( |
| 8156 | 'padding' => true, |
| 8157 | 'margin' => true, |
| 8158 | 'blockGap' => true |
| 8159 | ) |
| 8160 | ) |
| 8161 | ), |
| 8162 | 'editorScript' => 'file:./index.js', |
| 8163 | 'editorStyle' => 'file:./editor.css' |
| 8164 | ), |
| 8165 | 'tab-panel' => array( |
| 8166 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8167 | '__experimental' => true, |
| 8168 | 'apiVersion' => 3, |
| 8169 | 'name' => 'core/tab-panel', |
| 8170 | 'title' => 'Tab Panel', |
| 8171 | 'description' => 'Content for a tab in a tabbed interface.', |
| 8172 | 'category' => 'design', |
| 8173 | 'textdomain' => 'default', |
| 8174 | 'attributes' => array( |
| 8175 | 'label' => array( |
| 8176 | 'type' => 'string', |
| 8177 | 'default' => '' |
| 8178 | ) |
| 8179 | ), |
| 8180 | 'parent' => array( |
| 8181 | 'core/tab-panels' |
| 8182 | ), |
| 8183 | 'usesContext' => array( |
| 8184 | 'core/tabs-activeTabIndex', |
| 8185 | 'core/tabs-editorActiveTabIndex', |
| 8186 | 'core/tabs-id' |
| 8187 | ), |
| 8188 | 'supports' => array( |
| 8189 | 'anchor' => true, |
| 8190 | 'html' => false, |
| 8191 | 'reusable' => false, |
| 8192 | 'color' => array( |
| 8193 | 'background' => true, |
| 8194 | 'text' => true, |
| 8195 | '__experimentalDefaultControls' => array( |
| 8196 | 'background' => true, |
| 8197 | 'text' => true |
| 8198 | ) |
| 8199 | ), |
| 8200 | 'layout' => true, |
| 8201 | 'spacing' => array( |
| 8202 | 'blockGap' => true, |
| 8203 | 'padding' => true, |
| 8204 | 'margin' => false |
| 8205 | ), |
| 8206 | 'typography' => array( |
| 8207 | 'fontSize' => true, |
| 8208 | '__experimentalFontFamily' => true, |
| 8209 | '__experimentalDefaultControls' => array( |
| 8210 | 'fontSize' => true, |
| 8211 | '__experimentalFontFamily' => true |
| 8212 | ) |
| 8213 | ), |
| 8214 | 'renaming' => true, |
| 8215 | 'visibility' => false |
| 8216 | ), |
| 8217 | 'providesContext' => array( |
| 8218 | 'core/tab-label' => 'label' |
| 8219 | ), |
| 8220 | 'editorScript' => 'file:./index.js', |
| 8221 | 'style' => 'file:./style-index.css' |
| 8222 | ), |
| 8223 | 'tab-panels' => array( |
| 8224 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8225 | '__experimental' => true, |
| 8226 | 'apiVersion' => 3, |
| 8227 | 'name' => 'core/tab-panels', |
| 8228 | 'title' => 'Tab Panels', |
| 8229 | 'description' => 'Container for tab panel content in a tabbed interface.', |
| 8230 | 'category' => 'design', |
| 8231 | 'textdomain' => 'default', |
| 8232 | 'parent' => array( |
| 8233 | 'core/tabs' |
| 8234 | ), |
| 8235 | 'allowedBlocks' => array( |
| 8236 | 'core/tab-panel' |
| 8237 | ), |
| 8238 | 'attributes' => array( |
| 8239 | |
| 8240 | ), |
| 8241 | 'supports' => array( |
| 8242 | 'anchor' => false, |
| 8243 | 'html' => false, |
| 8244 | 'reusable' => false, |
| 8245 | 'visibility' => false, |
| 8246 | 'lock' => false, |
| 8247 | 'dimensions' => array( |
| 8248 | 'aspectRatio' => false, |
| 8249 | 'height' => false, |
| 8250 | 'minHeight' => false, |
| 8251 | 'width' => false |
| 8252 | ), |
| 8253 | 'color' => array( |
| 8254 | 'background' => true, |
| 8255 | 'text' => true, |
| 8256 | 'heading' => true, |
| 8257 | 'link' => true, |
| 8258 | '__experimentalDefaultControls' => array( |
| 8259 | 'background' => true, |
| 8260 | 'text' => true |
| 8261 | ) |
| 8262 | ), |
| 8263 | 'spacing' => array( |
| 8264 | 'blockGap' => false, |
| 8265 | 'padding' => true, |
| 8266 | 'margin' => true |
| 8267 | ), |
| 8268 | 'typography' => array( |
| 8269 | 'fontSize' => true, |
| 8270 | '__experimentalFontFamily' => true |
| 8271 | ), |
| 8272 | 'layout' => array( |
| 8273 | 'default' => array( |
| 8274 | 'type' => 'flex', |
| 8275 | 'flexWrap' => 'nowrap', |
| 8276 | 'justifyContent' => 'stretch', |
| 8277 | 'orientation' => 'vertical' |
| 8278 | ), |
| 8279 | 'allowSwitching' => false, |
| 8280 | 'allowVerticalAlignment' => false, |
| 8281 | 'allowOrientation' => false, |
| 8282 | 'allowJustification' => true, |
| 8283 | 'allowSizingOnChildren' => false |
| 8284 | ), |
| 8285 | '__experimentalBorder' => array( |
| 8286 | 'radius' => true, |
| 8287 | 'color' => true, |
| 8288 | 'width' => true, |
| 8289 | 'style' => true |
| 8290 | ) |
| 8291 | ), |
| 8292 | 'editorScript' => 'file:./index.js', |
| 8293 | 'style' => 'file:./style-index.css' |
| 8294 | ), |
| 8295 | 'table' => array( |
| 8296 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8297 | 'apiVersion' => 3, |
| 8298 | 'name' => 'core/table', |
| 8299 | 'title' => 'Table', |
| 8300 | 'category' => 'text', |
| 8301 | 'description' => 'Create structured content in rows and columns to display information.', |
| 8302 | 'textdomain' => 'default', |
| 8303 | 'attributes' => array( |
| 8304 | 'hasFixedLayout' => array( |
| 8305 | 'type' => 'boolean', |
| 8306 | 'default' => true |
| 8307 | ), |
| 8308 | 'caption' => array( |
| 8309 | 'type' => 'rich-text', |
| 8310 | 'source' => 'rich-text', |
| 8311 | 'selector' => 'figcaption', |
| 8312 | 'role' => 'content' |
| 8313 | ), |
| 8314 | 'head' => array( |
| 8315 | 'type' => 'array', |
| 8316 | 'default' => array( |
| 8317 | |
| 8318 | ), |
| 8319 | 'source' => 'query', |
| 8320 | 'selector' => 'thead tr', |
| 8321 | 'query' => array( |
| 8322 | 'cells' => array( |
| 8323 | 'type' => 'array', |
| 8324 | 'default' => array( |
| 8325 | |
| 8326 | ), |
| 8327 | 'source' => 'query', |
| 8328 | 'selector' => 'td,th', |
| 8329 | 'query' => array( |
| 8330 | 'content' => array( |
| 8331 | 'type' => 'rich-text', |
| 8332 | 'source' => 'rich-text', |
| 8333 | 'role' => 'content' |
| 8334 | ), |
| 8335 | 'tag' => array( |
| 8336 | 'type' => 'string', |
| 8337 | 'default' => 'td', |
| 8338 | 'source' => 'tag' |
| 8339 | ), |
| 8340 | 'scope' => array( |
| 8341 | 'type' => 'string', |
| 8342 | 'source' => 'attribute', |
| 8343 | 'attribute' => 'scope' |
| 8344 | ), |
| 8345 | 'align' => array( |
| 8346 | 'type' => 'string', |
| 8347 | 'source' => 'attribute', |
| 8348 | 'attribute' => 'data-align' |
| 8349 | ), |
| 8350 | 'colspan' => array( |
| 8351 | 'type' => 'string', |
| 8352 | 'source' => 'attribute', |
| 8353 | 'attribute' => 'colspan' |
| 8354 | ), |
| 8355 | 'rowspan' => array( |
| 8356 | 'type' => 'string', |
| 8357 | 'source' => 'attribute', |
| 8358 | 'attribute' => 'rowspan' |
| 8359 | ) |
| 8360 | ) |
| 8361 | ) |
| 8362 | ) |
| 8363 | ), |
| 8364 | 'body' => array( |
| 8365 | 'type' => 'array', |
| 8366 | 'default' => array( |
| 8367 | |
| 8368 | ), |
| 8369 | 'source' => 'query', |
| 8370 | 'selector' => 'tbody tr', |
| 8371 | 'query' => array( |
| 8372 | 'cells' => array( |
| 8373 | 'type' => 'array', |
| 8374 | 'default' => array( |
| 8375 | |
| 8376 | ), |
| 8377 | 'source' => 'query', |
| 8378 | 'selector' => 'td,th', |
| 8379 | 'query' => array( |
| 8380 | 'content' => array( |
| 8381 | 'type' => 'rich-text', |
| 8382 | 'source' => 'rich-text', |
| 8383 | 'role' => 'content' |
| 8384 | ), |
| 8385 | 'tag' => array( |
| 8386 | 'type' => 'string', |
| 8387 | 'default' => 'td', |
| 8388 | 'source' => 'tag' |
| 8389 | ), |
| 8390 | 'scope' => array( |
| 8391 | 'type' => 'string', |
| 8392 | 'source' => 'attribute', |
| 8393 | 'attribute' => 'scope' |
| 8394 | ), |
| 8395 | 'align' => array( |
| 8396 | 'type' => 'string', |
| 8397 | 'source' => 'attribute', |
| 8398 | 'attribute' => 'data-align' |
| 8399 | ), |
| 8400 | 'colspan' => array( |
| 8401 | 'type' => 'string', |
| 8402 | 'source' => 'attribute', |
| 8403 | 'attribute' => 'colspan' |
| 8404 | ), |
| 8405 | 'rowspan' => array( |
| 8406 | 'type' => 'string', |
| 8407 | 'source' => 'attribute', |
| 8408 | 'attribute' => 'rowspan' |
| 8409 | ) |
| 8410 | ) |
| 8411 | ) |
| 8412 | ) |
| 8413 | ), |
| 8414 | 'foot' => array( |
| 8415 | 'type' => 'array', |
| 8416 | 'default' => array( |
| 8417 | |
| 8418 | ), |
| 8419 | 'source' => 'query', |
| 8420 | 'selector' => 'tfoot tr', |
| 8421 | 'query' => array( |
| 8422 | 'cells' => array( |
| 8423 | 'type' => 'array', |
| 8424 | 'default' => array( |
| 8425 | |
| 8426 | ), |
| 8427 | 'source' => 'query', |
| 8428 | 'selector' => 'td,th', |
| 8429 | 'query' => array( |
| 8430 | 'content' => array( |
| 8431 | 'type' => 'rich-text', |
| 8432 | 'source' => 'rich-text', |
| 8433 | 'role' => 'content' |
| 8434 | ), |
| 8435 | 'tag' => array( |
| 8436 | 'type' => 'string', |
| 8437 | 'default' => 'td', |
| 8438 | 'source' => 'tag' |
| 8439 | ), |
| 8440 | 'scope' => array( |
| 8441 | 'type' => 'string', |
| 8442 | 'source' => 'attribute', |
| 8443 | 'attribute' => 'scope' |
| 8444 | ), |
| 8445 | 'align' => array( |
| 8446 | 'type' => 'string', |
| 8447 | 'source' => 'attribute', |
| 8448 | 'attribute' => 'data-align' |
| 8449 | ), |
| 8450 | 'colspan' => array( |
| 8451 | 'type' => 'string', |
| 8452 | 'source' => 'attribute', |
| 8453 | 'attribute' => 'colspan' |
| 8454 | ), |
| 8455 | 'rowspan' => array( |
| 8456 | 'type' => 'string', |
| 8457 | 'source' => 'attribute', |
| 8458 | 'attribute' => 'rowspan' |
| 8459 | ) |
| 8460 | ) |
| 8461 | ) |
| 8462 | ) |
| 8463 | ) |
| 8464 | ), |
| 8465 | 'supports' => array( |
| 8466 | 'anchor' => true, |
| 8467 | 'align' => true, |
| 8468 | 'color' => array( |
| 8469 | '__experimentalSkipSerialization' => true, |
| 8470 | 'gradients' => true, |
| 8471 | '__experimentalDefaultControls' => array( |
| 8472 | 'background' => true, |
| 8473 | 'text' => true |
| 8474 | ) |
| 8475 | ), |
| 8476 | 'spacing' => array( |
| 8477 | 'margin' => true, |
| 8478 | 'padding' => true, |
| 8479 | '__experimentalDefaultControls' => array( |
| 8480 | 'margin' => false, |
| 8481 | 'padding' => false |
| 8482 | ) |
| 8483 | ), |
| 8484 | 'typography' => array( |
| 8485 | 'fontSize' => true, |
| 8486 | 'lineHeight' => true, |
| 8487 | '__experimentalFontFamily' => true, |
| 8488 | '__experimentalFontStyle' => true, |
| 8489 | '__experimentalFontWeight' => true, |
| 8490 | '__experimentalLetterSpacing' => true, |
| 8491 | '__experimentalTextTransform' => true, |
| 8492 | '__experimentalTextDecoration' => true, |
| 8493 | '__experimentalDefaultControls' => array( |
| 8494 | 'fontSize' => true |
| 8495 | ) |
| 8496 | ), |
| 8497 | '__experimentalBorder' => array( |
| 8498 | '__experimentalSkipSerialization' => true, |
| 8499 | 'color' => true, |
| 8500 | 'style' => true, |
| 8501 | 'width' => true, |
| 8502 | '__experimentalDefaultControls' => array( |
| 8503 | 'color' => true, |
| 8504 | 'style' => true, |
| 8505 | 'width' => true |
| 8506 | ) |
| 8507 | ), |
| 8508 | 'interactivity' => array( |
| 8509 | 'clientNavigation' => true |
| 8510 | ) |
| 8511 | ), |
| 8512 | 'selectors' => array( |
| 8513 | 'root' => '.wp-block-table > table', |
| 8514 | 'spacing' => '.wp-block-table' |
| 8515 | ), |
| 8516 | 'styles' => array( |
| 8517 | array( |
| 8518 | 'name' => 'regular', |
| 8519 | 'label' => 'Default', |
| 8520 | 'isDefault' => true |
| 8521 | ), |
| 8522 | array( |
| 8523 | 'name' => 'stripes', |
| 8524 | 'label' => 'Stripes' |
| 8525 | ) |
| 8526 | ), |
| 8527 | 'editorStyle' => 'wp-block-table-editor', |
| 8528 | 'style' => 'wp-block-table' |
| 8529 | ), |
| 8530 | 'table-of-contents' => array( |
| 8531 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8532 | 'apiVersion' => 3, |
| 8533 | '__experimental' => true, |
| 8534 | 'name' => 'core/table-of-contents', |
| 8535 | 'title' => 'Table of Contents', |
| 8536 | 'category' => 'design', |
| 8537 | 'description' => 'Summarize your post with a list of headings. Add HTML anchors to Heading blocks to link them here.', |
| 8538 | 'keywords' => array( |
| 8539 | 'document outline', |
| 8540 | 'summary' |
| 8541 | ), |
| 8542 | 'textdomain' => 'default', |
| 8543 | 'attributes' => array( |
| 8544 | 'headings' => array( |
| 8545 | 'type' => 'array', |
| 8546 | 'items' => array( |
| 8547 | 'type' => 'object' |
| 8548 | ), |
| 8549 | 'default' => array( |
| 8550 | |
| 8551 | ) |
| 8552 | ), |
| 8553 | 'onlyIncludeCurrentPage' => array( |
| 8554 | 'type' => 'boolean', |
| 8555 | 'default' => false |
| 8556 | ), |
| 8557 | 'maxLevel' => array( |
| 8558 | 'type' => 'number' |
| 8559 | ), |
| 8560 | 'ordered' => array( |
| 8561 | 'type' => 'boolean', |
| 8562 | 'default' => true |
| 8563 | ) |
| 8564 | ), |
| 8565 | 'supports' => array( |
| 8566 | 'anchor' => true, |
| 8567 | 'ariaLabel' => true, |
| 8568 | 'html' => false, |
| 8569 | 'color' => array( |
| 8570 | 'text' => true, |
| 8571 | 'background' => true, |
| 8572 | 'gradients' => true, |
| 8573 | 'link' => true |
| 8574 | ), |
| 8575 | 'spacing' => array( |
| 8576 | 'margin' => true, |
| 8577 | 'padding' => true |
| 8578 | ), |
| 8579 | 'typography' => array( |
| 8580 | 'fontSize' => true, |
| 8581 | 'lineHeight' => true, |
| 8582 | '__experimentalFontFamily' => true, |
| 8583 | '__experimentalFontWeight' => true, |
| 8584 | '__experimentalFontStyle' => true, |
| 8585 | '__experimentalTextTransform' => true, |
| 8586 | '__experimentalTextDecoration' => true, |
| 8587 | '__experimentalLetterSpacing' => true, |
| 8588 | '__experimentalDefaultControls' => array( |
| 8589 | 'fontSize' => true |
| 8590 | ) |
| 8591 | ), |
| 8592 | 'interactivity' => array( |
| 8593 | 'clientNavigation' => true |
| 8594 | ), |
| 8595 | '__experimentalBorder' => array( |
| 8596 | 'radius' => true, |
| 8597 | 'color' => true, |
| 8598 | 'width' => true, |
| 8599 | 'style' => true, |
| 8600 | '__experimentalDefaultControls' => array( |
| 8601 | 'radius' => true, |
| 8602 | 'color' => true, |
| 8603 | 'width' => true, |
| 8604 | 'style' => true |
| 8605 | ) |
| 8606 | ) |
| 8607 | ), |
| 8608 | 'style' => 'wp-block-table-of-contents' |
| 8609 | ), |
| 8610 | 'tabs' => array( |
| 8611 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8612 | '__experimental' => true, |
| 8613 | 'apiVersion' => 3, |
| 8614 | 'name' => 'core/tabs', |
| 8615 | 'title' => 'Tabs', |
| 8616 | 'description' => 'Display content in a tabbed interface to help users navigate detailed content with ease.', |
| 8617 | 'category' => 'design', |
| 8618 | 'textdomain' => 'default', |
| 8619 | 'allowedBlocks' => array( |
| 8620 | 'core/tab-list', |
| 8621 | 'core/tab-panels' |
| 8622 | ), |
| 8623 | 'attributes' => array( |
| 8624 | 'activeTabIndex' => array( |
| 8625 | 'type' => 'number', |
| 8626 | 'default' => 0 |
| 8627 | ), |
| 8628 | 'editorActiveTabIndex' => array( |
| 8629 | 'type' => 'number', |
| 8630 | 'role' => 'local' |
| 8631 | ) |
| 8632 | ), |
| 8633 | 'supports' => array( |
| 8634 | 'align' => true, |
| 8635 | 'anchor' => true, |
| 8636 | 'color' => array( |
| 8637 | 'text' => true, |
| 8638 | 'background' => true, |
| 8639 | '__experimentalDefaultControls' => array( |
| 8640 | 'text' => true, |
| 8641 | 'background' => true |
| 8642 | ) |
| 8643 | ), |
| 8644 | 'layout' => array( |
| 8645 | 'default' => array( |
| 8646 | 'type' => 'flex', |
| 8647 | 'flexWrap' => 'nowrap', |
| 8648 | 'justifyContent' => 'stretch', |
| 8649 | 'verticalAlignment' => 'stretch', |
| 8650 | 'orientation' => 'vertical' |
| 8651 | ), |
| 8652 | 'allowSwitching' => false, |
| 8653 | 'allowVerticalAlignment' => true, |
| 8654 | 'allowJustification' => true, |
| 8655 | 'allowOrientation' => true, |
| 8656 | 'allowSizingOnChildren' => true |
| 8657 | ), |
| 8658 | 'html' => false, |
| 8659 | 'interactivity' => true, |
| 8660 | 'spacing' => array( |
| 8661 | 'blockGap' => true, |
| 8662 | 'margin' => true, |
| 8663 | 'padding' => true |
| 8664 | ), |
| 8665 | 'typography' => array( |
| 8666 | 'fontSize' => true, |
| 8667 | '__experimentalFontFamily' => true |
| 8668 | ), |
| 8669 | 'renaming' => true |
| 8670 | ), |
| 8671 | 'providesContext' => array( |
| 8672 | 'core/tabs-activeTabIndex' => 'activeTabIndex', |
| 8673 | 'core/tabs-editorActiveTabIndex' => 'editorActiveTabIndex' |
| 8674 | ), |
| 8675 | 'usesContext' => array( |
| 8676 | 'core/tabs-list', |
| 8677 | 'core/tabs-id' |
| 8678 | ), |
| 8679 | 'editorScript' => 'file:./index.js', |
| 8680 | 'editorStyle' => 'file:./index.css', |
| 8681 | 'style' => 'file:./style-index.css', |
| 8682 | 'viewScriptModule' => '@wordpress/block-library/tabs/view' |
| 8683 | ), |
| 8684 | 'tag-cloud' => array( |
| 8685 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8686 | 'apiVersion' => 3, |
| 8687 | 'name' => 'core/tag-cloud', |
| 8688 | 'title' => 'Tag Cloud', |
| 8689 | 'category' => 'widgets', |
| 8690 | 'description' => 'A cloud of popular keywords, each sized by how often it appears.', |
| 8691 | 'textdomain' => 'default', |
| 8692 | 'attributes' => array( |
| 8693 | 'numberOfTags' => array( |
| 8694 | 'type' => 'number', |
| 8695 | 'default' => 45, |
| 8696 | 'minimum' => 1, |
| 8697 | 'maximum' => 100 |
| 8698 | ), |
| 8699 | 'taxonomy' => array( |
| 8700 | 'type' => 'string', |
| 8701 | 'default' => 'post_tag' |
| 8702 | ), |
| 8703 | 'showTagCounts' => array( |
| 8704 | 'type' => 'boolean', |
| 8705 | 'default' => false |
| 8706 | ), |
| 8707 | 'smallestFontSize' => array( |
| 8708 | 'type' => 'string', |
| 8709 | 'default' => '8pt' |
| 8710 | ), |
| 8711 | 'largestFontSize' => array( |
| 8712 | 'type' => 'string', |
| 8713 | 'default' => '22pt' |
| 8714 | ) |
| 8715 | ), |
| 8716 | 'styles' => array( |
| 8717 | array( |
| 8718 | 'name' => 'default', |
| 8719 | 'label' => 'Default', |
| 8720 | 'isDefault' => true |
| 8721 | ), |
| 8722 | array( |
| 8723 | 'name' => 'outline', |
| 8724 | 'label' => 'Outline' |
| 8725 | ) |
| 8726 | ), |
| 8727 | 'supports' => array( |
| 8728 | 'anchor' => true, |
| 8729 | 'html' => false, |
| 8730 | 'align' => true, |
| 8731 | 'spacing' => array( |
| 8732 | 'margin' => true, |
| 8733 | 'padding' => true |
| 8734 | ), |
| 8735 | 'typography' => array( |
| 8736 | 'lineHeight' => true, |
| 8737 | '__experimentalFontFamily' => true, |
| 8738 | '__experimentalFontWeight' => true, |
| 8739 | '__experimentalFontStyle' => true, |
| 8740 | '__experimentalTextTransform' => true, |
| 8741 | '__experimentalLetterSpacing' => true |
| 8742 | ), |
| 8743 | 'interactivity' => array( |
| 8744 | 'clientNavigation' => true |
| 8745 | ), |
| 8746 | '__experimentalBorder' => array( |
| 8747 | 'radius' => true, |
| 8748 | 'color' => true, |
| 8749 | 'width' => true, |
| 8750 | 'style' => true, |
| 8751 | '__experimentalDefaultControls' => array( |
| 8752 | 'radius' => true, |
| 8753 | 'color' => true, |
| 8754 | 'width' => true, |
| 8755 | 'style' => true |
| 8756 | ) |
| 8757 | ) |
| 8758 | ) |
| 8759 | ), |
| 8760 | 'template-part' => array( |
| 8761 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8762 | 'apiVersion' => 3, |
| 8763 | 'name' => 'core/template-part', |
| 8764 | 'title' => 'Template Part', |
| 8765 | 'category' => 'theme', |
| 8766 | 'description' => 'Edit the different global regions of your site, like the header, footer, sidebar, or create your own.', |
| 8767 | 'textdomain' => 'default', |
| 8768 | 'attributes' => array( |
| 8769 | 'slug' => array( |
| 8770 | 'type' => 'string' |
| 8771 | ), |
| 8772 | 'theme' => array( |
| 8773 | 'type' => 'string' |
| 8774 | ), |
| 8775 | 'tagName' => array( |
| 8776 | 'type' => 'string' |
| 8777 | ), |
| 8778 | 'area' => array( |
| 8779 | 'type' => 'string' |
| 8780 | ) |
| 8781 | ), |
| 8782 | 'supports' => array( |
| 8783 | 'align' => true, |
| 8784 | 'html' => false, |
| 8785 | 'reusable' => false, |
| 8786 | 'renaming' => false, |
| 8787 | 'interactivity' => array( |
| 8788 | 'clientNavigation' => true |
| 8789 | ) |
| 8790 | ), |
| 8791 | 'editorStyle' => 'wp-block-template-part-editor' |
| 8792 | ), |
| 8793 | 'term-count' => array( |
| 8794 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8795 | 'apiVersion' => 3, |
| 8796 | 'name' => 'core/term-count', |
| 8797 | 'title' => 'Term Count', |
| 8798 | 'category' => 'theme', |
| 8799 | 'description' => 'Displays the post count of a taxonomy term.', |
| 8800 | 'textdomain' => 'default', |
| 8801 | 'usesContext' => array( |
| 8802 | 'termId', |
| 8803 | 'taxonomy' |
| 8804 | ), |
| 8805 | 'attributes' => array( |
| 8806 | 'bracketType' => array( |
| 8807 | 'type' => 'string', |
| 8808 | 'enum' => array( |
| 8809 | 'none', |
| 8810 | 'round', |
| 8811 | 'square', |
| 8812 | 'curly', |
| 8813 | 'angle' |
| 8814 | ), |
| 8815 | 'default' => 'round' |
| 8816 | ) |
| 8817 | ), |
| 8818 | 'supports' => array( |
| 8819 | 'anchor' => true, |
| 8820 | 'html' => false, |
| 8821 | 'color' => array( |
| 8822 | 'gradients' => true, |
| 8823 | '__experimentalDefaultControls' => array( |
| 8824 | 'background' => true, |
| 8825 | 'text' => true |
| 8826 | ) |
| 8827 | ), |
| 8828 | 'spacing' => array( |
| 8829 | 'padding' => true |
| 8830 | ), |
| 8831 | 'typography' => array( |
| 8832 | 'fontSize' => true, |
| 8833 | 'lineHeight' => true, |
| 8834 | '__experimentalFontFamily' => true, |
| 8835 | '__experimentalFontWeight' => true, |
| 8836 | '__experimentalFontStyle' => true, |
| 8837 | '__experimentalTextTransform' => true, |
| 8838 | '__experimentalTextDecoration' => true, |
| 8839 | '__experimentalLetterSpacing' => true, |
| 8840 | '__experimentalDefaultControls' => array( |
| 8841 | 'fontSize' => true |
| 8842 | ) |
| 8843 | ), |
| 8844 | 'interactivity' => array( |
| 8845 | 'clientNavigation' => true |
| 8846 | ), |
| 8847 | '__experimentalBorder' => array( |
| 8848 | 'radius' => true, |
| 8849 | 'color' => true, |
| 8850 | 'width' => true, |
| 8851 | 'style' => true, |
| 8852 | '__experimentalDefaultControls' => array( |
| 8853 | 'color' => true, |
| 8854 | 'width' => true, |
| 8855 | 'style' => true |
| 8856 | ) |
| 8857 | ) |
| 8858 | ), |
| 8859 | 'style' => 'wp-block-term-count' |
| 8860 | ), |
| 8861 | 'term-description' => array( |
| 8862 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8863 | 'apiVersion' => 3, |
| 8864 | 'name' => 'core/term-description', |
| 8865 | 'title' => 'Term Description', |
| 8866 | 'category' => 'theme', |
| 8867 | 'description' => 'Display the description of categories, tags and custom taxonomies when viewing an archive.', |
| 8868 | 'textdomain' => 'default', |
| 8869 | 'usesContext' => array( |
| 8870 | 'termId', |
| 8871 | 'taxonomy' |
| 8872 | ), |
| 8873 | 'supports' => array( |
| 8874 | 'anchor' => true, |
| 8875 | 'align' => array( |
| 8876 | 'wide', |
| 8877 | 'full' |
| 8878 | ), |
| 8879 | 'html' => false, |
| 8880 | 'color' => array( |
| 8881 | 'link' => true, |
| 8882 | '__experimentalDefaultControls' => array( |
| 8883 | 'background' => true, |
| 8884 | 'text' => true |
| 8885 | ) |
| 8886 | ), |
| 8887 | 'spacing' => array( |
| 8888 | 'padding' => true, |
| 8889 | 'margin' => true |
| 8890 | ), |
| 8891 | 'typography' => array( |
| 8892 | 'fontSize' => true, |
| 8893 | 'lineHeight' => true, |
| 8894 | 'textAlign' => true, |
| 8895 | '__experimentalFontFamily' => true, |
| 8896 | '__experimentalFontWeight' => true, |
| 8897 | '__experimentalFontStyle' => true, |
| 8898 | '__experimentalTextTransform' => true, |
| 8899 | '__experimentalTextDecoration' => true, |
| 8900 | '__experimentalLetterSpacing' => true, |
| 8901 | '__experimentalDefaultControls' => array( |
| 8902 | 'fontSize' => true |
| 8903 | ) |
| 8904 | ), |
| 8905 | 'interactivity' => array( |
| 8906 | 'clientNavigation' => true |
| 8907 | ), |
| 8908 | '__experimentalBorder' => array( |
| 8909 | 'radius' => true, |
| 8910 | 'color' => true, |
| 8911 | 'width' => true, |
| 8912 | 'style' => true, |
| 8913 | '__experimentalDefaultControls' => array( |
| 8914 | 'radius' => true, |
| 8915 | 'color' => true, |
| 8916 | 'width' => true, |
| 8917 | 'style' => true |
| 8918 | ) |
| 8919 | ) |
| 8920 | ) |
| 8921 | ), |
| 8922 | 'term-name' => array( |
| 8923 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 8924 | 'apiVersion' => 3, |
| 8925 | 'name' => 'core/term-name', |
| 8926 | 'title' => 'Term Name', |
| 8927 | 'category' => 'theme', |
| 8928 | 'description' => 'Displays the name of a taxonomy term.', |
| 8929 | 'keywords' => array( |
| 8930 | 'term title' |
| 8931 | ), |
| 8932 | 'textdomain' => 'default', |
| 8933 | 'usesContext' => array( |
| 8934 | 'termId', |
| 8935 | 'taxonomy' |
| 8936 | ), |
| 8937 | 'attributes' => array( |
| 8938 | 'textAlign' => array( |
| 8939 | 'type' => 'string' |
| 8940 | ), |
| 8941 | 'level' => array( |
| 8942 | 'type' => 'number', |
| 8943 | 'default' => 0 |
| 8944 | ), |
| 8945 | 'isLink' => array( |
| 8946 | 'type' => 'boolean', |
| 8947 | 'default' => false |
| 8948 | ), |
| 8949 | 'levelOptions' => array( |
| 8950 | 'type' => 'array' |
| 8951 | ) |
| 8952 | ), |
| 8953 | 'supports' => array( |
| 8954 | 'anchor' => true, |
| 8955 | 'align' => array( |
| 8956 | 'wide', |
| 8957 | 'full' |
| 8958 | ), |
| 8959 | 'html' => false, |
| 8960 | 'color' => array( |
| 8961 | 'gradients' => true, |
| 8962 | 'link' => true, |
| 8963 | '__experimentalDefaultControls' => array( |
| 8964 | 'background' => true, |
| 8965 | 'text' => true, |
| 8966 | 'link' => true |
| 8967 | ) |
| 8968 | ), |
| 8969 | 'spacing' => array( |
| 8970 | 'padding' => true |
| 8971 | ), |
| 8972 | 'typography' => array( |
| 8973 | 'fontSize' => true, |
| 8974 | 'lineHeight' => true, |
| 8975 | '__experimentalFontFamily' => true, |
| 8976 | '__experimentalFontWeight' => true, |
| 8977 | '__experimentalFontStyle' => true, |
| 8978 | '__experimentalTextTransform' => true, |
| 8979 | '__experimentalTextDecoration' => true, |
| 8980 | '__experimentalLetterSpacing' => true, |
| 8981 | '__experimentalDefaultControls' => array( |
| 8982 | 'fontSize' => true |
| 8983 | ) |
| 8984 | ), |
| 8985 | 'interactivity' => array( |
| 8986 | 'clientNavigation' => true |
| 8987 | ), |
| 8988 | '__experimentalBorder' => array( |
| 8989 | 'radius' => true, |
| 8990 | 'color' => true, |
| 8991 | 'width' => true, |
| 8992 | 'style' => true, |
| 8993 | '__experimentalDefaultControls' => array( |
| 8994 | 'color' => true, |
| 8995 | 'width' => true, |
| 8996 | 'style' => true |
| 8997 | ) |
| 8998 | ) |
| 8999 | ), |
| 9000 | 'style' => 'wp-block-term-name' |
| 9001 | ), |
| 9002 | 'term-template' => array( |
| 9003 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 9004 | 'apiVersion' => 3, |
| 9005 | 'name' => 'core/term-template', |
| 9006 | 'title' => 'Term Template', |
| 9007 | 'category' => 'theme', |
| 9008 | 'ancestor' => array( |
| 9009 | 'core/terms-query' |
| 9010 | ), |
| 9011 | 'description' => 'Contains the block elements used to render a taxonomy term, like the name, description, and more.', |
| 9012 | 'textdomain' => 'default', |
| 9013 | 'usesContext' => array( |
| 9014 | 'termQuery' |
| 9015 | ), |
| 9016 | 'supports' => array( |
| 9017 | 'anchor' => true, |
| 9018 | 'reusable' => false, |
| 9019 | 'html' => false, |
| 9020 | 'align' => array( |
| 9021 | 'wide', |
| 9022 | 'full' |
| 9023 | ), |
| 9024 | 'layout' => true, |
| 9025 | 'color' => array( |
| 9026 | 'gradients' => true, |
| 9027 | 'link' => true, |
| 9028 | '__experimentalDefaultControls' => array( |
| 9029 | 'background' => true, |
| 9030 | 'text' => true |
| 9031 | ) |
| 9032 | ), |
| 9033 | 'typography' => array( |
| 9034 | 'fontSize' => true, |
| 9035 | 'lineHeight' => true, |
| 9036 | '__experimentalFontFamily' => true, |
| 9037 | '__experimentalFontWeight' => true, |
| 9038 | '__experimentalFontStyle' => true, |
| 9039 | '__experimentalTextTransform' => true, |
| 9040 | '__experimentalTextDecoration' => true, |
| 9041 | '__experimentalLetterSpacing' => true, |
| 9042 | '__experimentalDefaultControls' => array( |
| 9043 | 'fontSize' => true |
| 9044 | ) |
| 9045 | ), |
| 9046 | 'spacing' => array( |
| 9047 | 'margin' => true, |
| 9048 | 'padding' => true, |
| 9049 | 'blockGap' => array( |
| 9050 | '__experimentalDefault' => '1.25em' |
| 9051 | ), |
| 9052 | '__experimentalDefaultControls' => array( |
| 9053 | 'blockGap' => true, |
| 9054 | 'padding' => false, |
| 9055 | 'margin' => false |
| 9056 | ) |
| 9057 | ), |
| 9058 | 'interactivity' => array( |
| 9059 | 'clientNavigation' => true |
| 9060 | ), |
| 9061 | '__experimentalBorder' => array( |
| 9062 | 'radius' => true, |
| 9063 | 'color' => true, |
| 9064 | 'width' => true, |
| 9065 | 'style' => true |
| 9066 | ) |
| 9067 | ), |
| 9068 | 'style' => 'wp-block-term-template', |
| 9069 | 'editorStyle' => 'wp-block-term-template-editor' |
| 9070 | ), |
| 9071 | 'terms-query' => array( |
| 9072 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 9073 | 'apiVersion' => 3, |
| 9074 | 'name' => 'core/terms-query', |
| 9075 | 'title' => 'Terms Query', |
| 9076 | 'category' => 'theme', |
| 9077 | 'description' => 'An advanced block that allows displaying taxonomy terms based on different query parameters and visual configurations.', |
| 9078 | 'keywords' => array( |
| 9079 | 'terms', |
| 9080 | 'taxonomy', |
| 9081 | 'categories', |
| 9082 | 'tags', |
| 9083 | 'list' |
| 9084 | ), |
| 9085 | 'textdomain' => 'default', |
| 9086 | 'attributes' => array( |
| 9087 | 'termQuery' => array( |
| 9088 | 'type' => 'object', |
| 9089 | 'default' => array( |
| 9090 | 'perPage' => 10, |
| 9091 | 'taxonomy' => 'category', |
| 9092 | 'order' => 'asc', |
| 9093 | 'orderBy' => 'name', |
| 9094 | 'include' => array( |
| 9095 | |
| 9096 | ), |
| 9097 | 'hideEmpty' => true, |
| 9098 | 'showNested' => false, |
| 9099 | 'inherit' => false |
| 9100 | ) |
| 9101 | ), |
| 9102 | 'tagName' => array( |
| 9103 | 'type' => 'string', |
| 9104 | 'default' => 'div' |
| 9105 | ) |
| 9106 | ), |
| 9107 | 'usesContext' => array( |
| 9108 | 'templateSlug' |
| 9109 | ), |
| 9110 | 'providesContext' => array( |
| 9111 | 'termQuery' => 'termQuery' |
| 9112 | ), |
| 9113 | 'supports' => array( |
| 9114 | 'anchor' => true, |
| 9115 | 'align' => array( |
| 9116 | 'wide', |
| 9117 | 'full' |
| 9118 | ), |
| 9119 | 'html' => false, |
| 9120 | 'layout' => true, |
| 9121 | 'interactivity' => true |
| 9122 | ) |
| 9123 | ), |
| 9124 | 'text-columns' => array( |
| 9125 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 9126 | 'apiVersion' => 3, |
| 9127 | 'name' => 'core/text-columns', |
| 9128 | 'title' => 'Text Columns (deprecated)', |
| 9129 | 'icon' => 'columns', |
| 9130 | 'category' => 'design', |
| 9131 | 'description' => 'This block is deprecated. Please use the Columns block instead.', |
| 9132 | 'textdomain' => 'default', |
| 9133 | 'attributes' => array( |
| 9134 | 'content' => array( |
| 9135 | 'type' => 'array', |
| 9136 | 'source' => 'query', |
| 9137 | 'selector' => 'p', |
| 9138 | 'query' => array( |
| 9139 | 'children' => array( |
| 9140 | 'type' => 'string', |
| 9141 | 'source' => 'html' |
| 9142 | ) |
| 9143 | ), |
| 9144 | 'default' => array( |
| 9145 | array( |
| 9146 | |
| 9147 | ), |
| 9148 | array( |
| 9149 | |
| 9150 | ) |
| 9151 | ) |
| 9152 | ), |
| 9153 | 'columns' => array( |
| 9154 | 'type' => 'number', |
| 9155 | 'default' => 2 |
| 9156 | ), |
| 9157 | 'width' => array( |
| 9158 | 'type' => 'string' |
| 9159 | ) |
| 9160 | ), |
| 9161 | 'supports' => array( |
| 9162 | 'inserter' => false, |
| 9163 | 'interactivity' => array( |
| 9164 | 'clientNavigation' => true |
| 9165 | ) |
| 9166 | ), |
| 9167 | 'editorStyle' => 'wp-block-text-columns-editor', |
| 9168 | 'style' => 'wp-block-text-columns' |
| 9169 | ), |
| 9170 | 'verse' => array( |
| 9171 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 9172 | 'apiVersion' => 3, |
| 9173 | 'name' => 'core/verse', |
| 9174 | 'title' => 'Poetry', |
| 9175 | 'category' => 'text', |
| 9176 | 'description' => 'Insert poetry. Use special spacing formats. Or quote song lyrics.', |
| 9177 | 'keywords' => array( |
| 9178 | 'poetry', |
| 9179 | 'poem', |
| 9180 | 'verse', |
| 9181 | 'stanza', |
| 9182 | 'song', |
| 9183 | 'lyrics' |
| 9184 | ), |
| 9185 | 'textdomain' => 'default', |
| 9186 | 'attributes' => array( |
| 9187 | 'content' => array( |
| 9188 | 'type' => 'rich-text', |
| 9189 | 'source' => 'rich-text', |
| 9190 | 'selector' => 'pre', |
| 9191 | '__unstablePreserveWhiteSpace' => true, |
| 9192 | 'role' => 'content' |
| 9193 | ) |
| 9194 | ), |
| 9195 | 'supports' => array( |
| 9196 | 'anchor' => true, |
| 9197 | 'background' => array( |
| 9198 | 'backgroundImage' => true, |
| 9199 | 'backgroundSize' => true, |
| 9200 | '__experimentalDefaultControls' => array( |
| 9201 | 'backgroundImage' => true |
| 9202 | ) |
| 9203 | ), |
| 9204 | 'color' => array( |
| 9205 | 'gradients' => true, |
| 9206 | 'link' => true, |
| 9207 | '__experimentalDefaultControls' => array( |
| 9208 | 'background' => true, |
| 9209 | 'text' => true |
| 9210 | ) |
| 9211 | ), |
| 9212 | 'dimensions' => array( |
| 9213 | 'minHeight' => true, |
| 9214 | '__experimentalDefaultControls' => array( |
| 9215 | 'minHeight' => false |
| 9216 | ) |
| 9217 | ), |
| 9218 | 'typography' => array( |
| 9219 | 'fontSize' => true, |
| 9220 | '__experimentalFontFamily' => true, |
| 9221 | 'lineHeight' => true, |
| 9222 | 'textAlign' => true, |
| 9223 | '__experimentalFontStyle' => true, |
| 9224 | '__experimentalFontWeight' => true, |
| 9225 | '__experimentalLetterSpacing' => true, |
| 9226 | '__experimentalTextTransform' => true, |
| 9227 | '__experimentalTextDecoration' => true, |
| 9228 | '__experimentalWritingMode' => true, |
| 9229 | '__experimentalDefaultControls' => array( |
| 9230 | 'fontSize' => true |
| 9231 | ) |
| 9232 | ), |
| 9233 | 'spacing' => array( |
| 9234 | 'margin' => true, |
| 9235 | 'padding' => true, |
| 9236 | '__experimentalDefaultControls' => array( |
| 9237 | 'margin' => false, |
| 9238 | 'padding' => false |
| 9239 | ) |
| 9240 | ), |
| 9241 | '__experimentalBorder' => array( |
| 9242 | 'radius' => true, |
| 9243 | 'width' => true, |
| 9244 | 'color' => true, |
| 9245 | 'style' => true |
| 9246 | ), |
| 9247 | 'interactivity' => array( |
| 9248 | 'clientNavigation' => true |
| 9249 | ) |
| 9250 | ), |
| 9251 | 'style' => 'wp-block-verse', |
| 9252 | 'editorStyle' => 'wp-block-verse-editor' |
| 9253 | ), |
| 9254 | 'video' => array( |
| 9255 | '$schema' => 'https://schemas.wp.org/trunk/block.json', |
| 9256 | 'apiVersion' => 3, |
| 9257 | 'name' => 'core/video', |
| 9258 | 'title' => 'Video', |
| 9259 | 'category' => 'media', |
| 9260 | 'description' => 'Embed a video from your media library or upload a new one.', |
| 9261 | 'keywords' => array( |
| 9262 | 'movie' |
| 9263 | ), |
| 9264 | 'textdomain' => 'default', |
| 9265 | 'attributes' => array( |
| 9266 | 'autoplay' => array( |
| 9267 | 'type' => 'boolean', |
| 9268 | 'source' => 'attribute', |
| 9269 | 'selector' => 'video', |
| 9270 | 'attribute' => 'autoplay' |
| 9271 | ), |
| 9272 | 'caption' => array( |
| 9273 | 'type' => 'rich-text', |
| 9274 | 'source' => 'rich-text', |
| 9275 | 'selector' => 'figcaption', |
| 9276 | 'role' => 'content' |
| 9277 | ), |
| 9278 | 'controls' => array( |
| 9279 | 'type' => 'boolean', |
| 9280 | 'source' => 'attribute', |
| 9281 | 'selector' => 'video', |
| 9282 | 'attribute' => 'controls', |
| 9283 | 'default' => true |
| 9284 | ), |
| 9285 | 'id' => array( |
| 9286 | 'type' => 'number', |
| 9287 | 'role' => 'content' |
| 9288 | ), |
| 9289 | 'loop' => array( |
| 9290 | 'type' => 'boolean', |
| 9291 | 'source' => 'attribute', |
| 9292 | 'selector' => 'video', |
| 9293 | 'attribute' => 'loop' |
| 9294 | ), |
| 9295 | 'muted' => array( |
| 9296 | 'type' => 'boolean', |
| 9297 | 'source' => 'attribute', |
| 9298 | 'selector' => 'video', |
| 9299 | 'attribute' => 'muted' |
| 9300 | ), |
| 9301 | 'poster' => array( |
| 9302 | 'type' => 'string', |
| 9303 | 'source' => 'attribute', |
| 9304 | 'selector' => 'video', |
| 9305 | 'attribute' => 'poster' |
| 9306 | ), |
| 9307 | 'preload' => array( |
| 9308 | 'type' => 'string', |
| 9309 | 'source' => 'attribute', |
| 9310 | 'selector' => 'video', |
| 9311 | 'attribute' => 'preload', |
| 9312 | 'default' => 'metadata' |
| 9313 | ), |
| 9314 | 'blob' => array( |
| 9315 | 'type' => 'string', |
| 9316 | 'role' => 'local' |
| 9317 | ), |
| 9318 | 'src' => array( |
| 9319 | 'type' => 'string', |
| 9320 | 'source' => 'attribute', |
| 9321 | 'selector' => 'video', |
| 9322 | 'attribute' => 'src', |
| 9323 | 'role' => 'content' |
| 9324 | ), |
| 9325 | 'playsInline' => array( |
| 9326 | 'type' => 'boolean', |
| 9327 | 'source' => 'attribute', |
| 9328 | 'selector' => 'video', |
| 9329 | 'attribute' => 'playsinline' |
| 9330 | ), |
| 9331 | 'tracks' => array( |
| 9332 | 'role' => 'content', |
| 9333 | 'type' => 'array', |
| 9334 | 'items' => array( |
| 9335 | 'type' => 'object' |
| 9336 | ), |
| 9337 | 'default' => array( |
| 9338 | |
| 9339 | ) |
| 9340 | ) |
| 9341 | ), |
| 9342 | 'supports' => array( |
| 9343 | 'anchor' => true, |
| 9344 | 'align' => true, |
| 9345 | 'spacing' => array( |
| 9346 | 'margin' => true, |
| 9347 | 'padding' => true, |
| 9348 | '__experimentalDefaultControls' => array( |
| 9349 | 'margin' => false, |
| 9350 | 'padding' => false |
| 9351 | ) |
| 9352 | ), |
| 9353 | 'interactivity' => array( |
| 9354 | 'clientNavigation' => true |
| 9355 | ) |
| 9356 | ), |
| 9357 | 'editorStyle' => 'wp-block-video-editor', |
| 9358 | 'style' => 'wp-block-video' |
| 9359 | ) |
| 9360 | ); |
| 9361 |