'top',
'bottom'
),
'__experimentalDefaultControls' => array(
'margin' => true
)
),
'interactivity' => array(
'clientNavigation' => true
)
),
'editorStyle' => 'wp-block-spacer-editor',
'style' => 'wp-block-spacer'
),
'table' => array(
'$schema' => 'https://schemas.wp.org/trunk/block.json',
'apiVersion' => 3,
'name' => 'core/table',
'title' => 'Table',
'category' => 'text',
'description' => 'Create structured content in rows and columns to display information.',
'textdomain' => 'default',
'attributes' => array(
'hasFixedLayout' => array(
'type' => 'boolean',
'default' => true
),
'caption' => array(
'type' => 'rich-text',
'source' => 'rich-text',
'selector' => 'figcaption'
),
'head' => array(
'type' => 'array',
'default' => array(
),
'source' => 'query',
'selector' => 'thead tr',
'query' => array(
'cells' => array(
'type' => 'array',
'default' => array(
),
'source' => 'query',
'selector' => 'td,th',
'query' => array(
'content' => array(
'type' => 'rich-text',
'source' => 'rich-text'
),
'tag' => array(
'type' => 'string',
'default' => 'td',
'source' => 'tag'
),
'scope' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'scope'
),
'align' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'data-align'
),
'colspan' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'colspan'
),
'rowspan' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'rowspan'
)
)
)
)
),
'body' => array(
'type' => 'array',
'default' => array(
),
'source' => 'query',
'selector' => 'tbody tr',
'query' => array(
'cells' => array(
'type' => 'array',
'default' => array(
),
'source' => 'query',
'selector' => 'td,th',
'query' => array(
'content' => array(
'type' => 'rich-text',
'source' => 'rich-text'
),
'tag' => array(
'type' => 'string',
'default' => 'td',
'source' => 'tag'
),
'scope' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'scope'
),
'align' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'data-align'
),
'colspan' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'colspan'
),
'rowspan' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'rowspan'
)
)
)
)
),
'foot' => array(
'type' => 'array',
'default' => array(
),
'source' => 'query',
'selector' => 'tfoot tr',
'query' => array(
'cells' => array(
'type' => 'array',
'default' => array(
),
'source' => 'query',
'selector' => 'td,th',
'query' => array(
'content' => array(
'type' => 'rich-text',
'source' => 'rich-text'
),
'tag' => array(
'type' => 'string',
'default' => 'td',
'source' => 'tag'
),
'scope' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'scope'
),
'align' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'data-align'
),
'colspan' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'colspan'
),
'rowspan' => array(
'type' => 'string',
'source' => 'attribute',
'attribute' => 'rowspan'
)
)
)
)
)
),
'supports' => array(
'anchor' => true,
'align' => true,
'color' => array(
'__experimentalSkipSerialization' => true,
'gradients' => true,
'__experimentalDefaultControls' => array(
'background' => true,
'text' => true
)
),
'spacing' => array(
'margin' => true,
'padding' => true,
'__experimentalDefaultControls' => array(
'margin' => false,
'padding' => false
)
),
'typography' => array(
'fontSize' => true,
'lineHeight' => true,
'__experimentalFontFamily' => true,
'__experimentalFontStyle' => true,
'__experimentalFontWeight' => true,
'__experimentalLetterSpacing' => true,
'__experimentalTextTransform' => true,
'__experimentalTextDecoration' => true,
'__experimentalDefaultControls' => array(
'fontSize' => true
)
),
'__experimentalBorder' => array(
'__experimentalSkipSerialization' => true,
'color' => true,
'style' => true,
'width' => true,
'__experimentalDefaultControls' => array(
'color' => true,
'style' => true,
'width' => true
)
),
'__experimentalSelector' => '.wp-block-table > table',
'interactivity' => array(
'clientNavigation' => true
)
),
'styles' => array(
array(
'name' => 'regular',
'label' => 'Default',
'isDefault' => true
),
array(
'name' => 'stripes',
'label' => 'Stripes'
)
),
'editorStyle' => 'wp-block-table-editor',
'style' => 'wp-block-table'
),
'tag-cloud' => array(
'$schema' => 'https://schemas.wp.org/trunk/block.json',
'apiVersion' => 3,
'name' => 'core/tag-cloud',
'title' => 'Tag Cloud',
'category' => 'widgets',
'description' => 'A cloud of your most used tags.',
'textdomain' => 'default',
'attributes' => array(
'numberOfTags' => array(
'type' => 'number',
'default' => 45,
'minimum' => 1,
'maximum' => 100
),
'taxonomy' => array(
'type' => 'string',
'default' => 'post_tag'
),
'showTagCounts' => array(
'type' => 'boolean',
'default' => false
),
'smallestFontSize' => array(
'type' => 'string',
'default' => '8pt'
),
'largestFontSize' => array(
'type' => 'string',
'default' => '22pt'
)
),
'styles' => array(
array(
'name' => 'default',
'label' => 'Default',
'isDefault' => true
),
array(
'name' => 'outline',
'label' => 'Outline'
)
),
'supports' => array(
'html' => false,
'align' => true,
'spacing' => array(
'margin' => true,
'padding' => true
),
'typography' => array(
'lineHeight' => true,
'__experimentalFontFamily' => true,
'__experimentalFontWeight' => true,
'__experimentalFontStyle' => true,
'__experimentalTextTransform' => true,
'__experimentalLetterSpacing' => true
),
'interactivity' => array(
'clientNavigation' => true
)
),
'editorStyle' => 'wp-block-tag-cloud-editor'
),
'template-part' => array(
'$schema' => 'https://schemas.wp.org/trunk/block.json',
'apiVersion' => 3,
'name' => 'core/template-part',
'title' => 'Template Part',
'category' => 'theme',
'description' => 'Edit the different global regions of your site, like the header, footer, sidebar, or create your own.',
'textdomain' => 'default',
'attributes' => array(
'slug' => array(
'type' => 'string'
),
'theme' => array(
'type' => 'string'
),
'tagName' => array(
'type' => 'string'
),
'area' => array(
'type' => 'string'
)
),
'supports' => array(
'align' => true,
'html' => false,
'reusable' => false,
'renaming' => false,
'interactivity' => array(
'clientNavigation' => true
)
),
'editorStyle' => 'wp-block-template-part-editor'
),
'term-description' => array(
'$schema' => 'https://schemas.wp.org/trunk/block.json',
'apiVersion' => 3,
'name' => 'core/term-description',
'title' => 'Term Description',
'category' => 'theme',
'description' => 'Display the description of categories, tags and custom taxonomies when viewing an archive.',
'textdomain' => 'default',
'attributes' => array(
'textAlign' => array(
'type' => 'string'
)
),
'supports' => array(
'align' => array(
'wide',
'full'
),
'html' => false,
'color' => array(
'link' => true,
'__experimentalDefaultControls' => array(
'background' => true,
'text' => true
)
),
'spacing' => array(
'padding' => true,
'margin' => true
),
'typography' => array(
'fontSize' => true,
'lineHeight' => true,
'__experimentalFontFamily' => true,
'__experimentalFontWeight' => true,
'__experimentalFontStyle' => true,
'__experimentalTextTransform' => true,
'__experimentalTextDecoration' => true,
'__experimentalLetterSpacing' => true,
'__experimentalDefaultControls' => array(
'fontSize' => true
)
),
'interactivity' => array(
'clientNavigation' => true
)
)
),
'text-columns' => array(
'$schema' => 'https://schemas.wp.org/trunk/block.json',
'apiVersion' => 3,
'name' => 'core/text-columns',
'title' => 'Text Columns (deprecated)',
'icon' => 'columns',
'category' => 'design',
'description' => 'This block is deprecated. Please use the Columns block instead.',
'textdomain' => 'default',
'attributes' => array(
'content' => array(
'type' => 'array',
'source' => 'query',
'selector' => 'p',
'query' => array(
'children' => array(
'type' => 'string',
'source' => 'html'
)
),
'default' => array(
array(
),
array(
)
)
),
'columns' => array(
'type' => 'number',
'default' => 2
),
'width' => array(
'type' => 'string'
)
),
'supports' => array(
'inserter' => false,
'interactivity' => array(
'clientNavigation' => true
)
),
'editorStyle' => 'wp-block-text-columns-editor',
'style' => 'wp-block-text-columns'
),
'verse' => array(
'$schema' => 'https://schemas.wp.org/trunk/block.json',
'apiVersion' => 3,
'name' => 'core/verse',
'title' => 'Verse',
'category' => 'text',
'description' => 'Insert poetry. Use special spacing formats. Or quote song lyrics.',
'keywords' => array(
'poetry',
'poem'
),
'textdomain' => 'default',
'attributes' => array(
'content' => array(
'type' => 'rich-text',
'source' => 'rich-text',
'selector' => 'pre',
'__unstablePreserveWhiteSpace' => true,
'__experimentalRole' => 'content'
),
'textAlign' => array(
'type' => 'string'
)
),
'supports' => array(
'anchor' => true,
'color' => array(
'gradients' => true,
'link' => true,
'__experimentalDefaultControls' => array(
'background' => true,
'text' => true
)
),
'typography' => array(
'fontSize' => true,
'__experimentalFontFamily' => true,
'lineHeight' => true,
'__experimentalFontStyle' => true,
'__experimentalFontWeight' => true,
'__experimentalLetterSpacing' => true,
'__experimentalTextTransform' => true,
'__experimentalTextDecoration' => true,
'__experimentalDefaultControls' => array(
'fontSize' => true
)
),
'spacing' => array(
'margin' => true,
'padding' => true,
'__experimentalDefaultControls' => array(
'margin' => false,
'padding' => false
)
),
'__experimentalBorder' => array(
'radius' => true,
'width' => true,
'color' => true,
'style' => true
),
'interactivity' => array(
'clientNavigation' => true
)
),
'style' => 'wp-block-verse',
'editorStyle' => 'wp-block-verse-editor'
),
'video' => array(
'$schema' => 'https://schemas.wp.org/trunk/block.json',
'apiVersion' => 3,
'name' => 'core/video',
'title' => 'Video',
'category' => 'media',
'description' => 'Embed a video from your media library or upload a new one.',
'keywords' => array(
'movie'
),
'textdomain' => 'default',
'attributes' => array(
'autoplay' => array(
'type' => 'boolean',
'source' => 'attribute',
'selector' => 'video',
'attribute' => 'autoplay'
),
'caption' => array(
'type' => 'rich-text',
'source' => 'rich-text',
'selector' => 'figcaption',
'__experimentalRole' => 'content'
),
'controls' => array(
'type' => 'boolean',
'source' => 'attribute',
'selector' => 'video',
'attribute' => 'controls',
'default' => true
),
'id' => array(
'type' => 'number',
'__experimentalRole' => 'content'
),
'loop' => array(
'type' => 'boolean',
'source' => 'attribute',
'selector' => 'video',
'attribute' => 'loop'
),
'muted' => array(
'type' => 'boolean',
'source' => 'attribute',
'selector' => 'video',
'attribute' => 'muted'
),
'poster' => array(
'type' => 'string',
'source' => 'attribute',
'selector' => 'video',
'attribute' => 'poster'
),
'preload' => array(
'type' => 'string',
'source' => 'attribute',
'selector' => 'video',
'attribute' => 'preload',
'default' => 'metadata'
),
'src' => array(
'type' => 'string',
'source' => 'attribute',
'selector' => 'video',
'attribute' => 'src',
'__experimentalRole' => 'content'
),
'playsInline' => array(
'type' => 'boolean',
'source' => 'attribute',
'selector' => 'video',
'attribute' => 'playsinline'
),
'tracks' => array(
'__experimentalRole' => 'content',
'type' => 'array',
'items' => array(
'type' => 'object'
),
'default' => array(
)
)
),
'supports' => array(
'anchor' => true,
'align' => true,
'spacing' => array(
'margin' => true,
'padding' => true,
'__experimentalDefaultControls' => array(
'margin' => false,
'padding' => false
)
),
'interactivity' => array(
'clientNavigation' => true
)
),
'editorStyle' => 'wp-block-video-editor',
'style' => 'wp-block-video'
),
'widget-group' => array(
'$schema' => 'https://schemas.wp.org/trunk/block.json',
'apiVersion' => 3,
'name' => 'core/widget-group',
'title' => 'Widget Group',
'category' => 'widgets',
'attributes' => array(
'title' => array(
'type' => 'string'
)
),
'supports' => array(
'html' => false,
'inserter' => true,
'customClassName' => true,
'reusable' => false
),
'editorStyle' => 'wp-block-widget-group-editor',
'style' => 'wp-block-widget-group'
)
);