2023-06-27 10:24:19 -04:00
< ? php return array (
'archives' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/archives' ,
'title' => 'Archives' ,
'category' => 'widgets' ,
'description' => 'Display a date archive of your posts.' ,
'textdomain' => 'default' ,
'attributes' => array (
'displayAsDropdown' => array (
'type' => 'boolean' ,
'default' => false
),
'showLabel' => array (
'type' => 'boolean' ,
'default' => true
),
'showPostCounts' => array (
'type' => 'boolean' ,
'default' => false
),
'type' => array (
'type' => 'string' ,
'default' => 'monthly'
)
),
'supports' => array (
'align' => true ,
'html' => false ,
'spacing' => array (
'margin' => true ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-archives-editor'
),
'audio' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/audio' ,
'title' => 'Audio' ,
'category' => 'media' ,
'description' => 'Embed a simple audio player.' ,
'keywords' => array (
'music' ,
'sound' ,
'podcast' ,
'recording'
),
'textdomain' => 'default' ,
'attributes' => array (
2024-09-19 21:55:35 -04:00
'blob' => array (
'type' => 'string' ,
'__experimentalRole' => 'local'
),
2023-06-27 10:24:19 -04:00
'src' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'audio' ,
'attribute' => 'src' ,
'__experimentalRole' => 'content'
),
'caption' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'figcaption' ,
'__experimentalRole' => 'content'
),
'id' => array (
'type' => 'number' ,
'__experimentalRole' => 'content'
),
'autoplay' => array (
'type' => 'boolean' ,
'source' => 'attribute' ,
'selector' => 'audio' ,
'attribute' => 'autoplay'
),
'loop' => array (
'type' => 'boolean' ,
'source' => 'attribute' ,
'selector' => 'audio' ,
'attribute' => 'loop'
),
'preload' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'audio' ,
'attribute' => 'preload'
)
),
'supports' => array (
'anchor' => true ,
'align' => true ,
'spacing' => array (
'margin' => true ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-audio-editor' ,
'style' => 'wp-block-audio'
),
'avatar' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/avatar' ,
'title' => 'Avatar' ,
'category' => 'theme' ,
'description' => 'Add a user’ s avatar.' ,
'textdomain' => 'default' ,
'attributes' => array (
'userId' => array (
'type' => 'number'
),
'size' => array (
'type' => 'number' ,
'default' => 96
),
'isLink' => array (
'type' => 'boolean' ,
'default' => false
),
'linkTarget' => array (
'type' => 'string' ,
'default' => '_self'
)
),
'usesContext' => array (
'postType' ,
'postId' ,
'commentId'
),
'supports' => array (
'html' => false ,
'align' => true ,
'alignWide' => false ,
'spacing' => array (
'margin' => true ,
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'__experimentalBorder' => array (
'__experimentalSkipSerialization' => true ,
'radius' => true ,
'width' => true ,
'color' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true
)
),
'color' => array (
'text' => false ,
'background' => false ,
'__experimentalDuotone' => 'img'
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
2023-09-26 10:23:26 -04:00
'selectors' => array (
'border' => '.wp-block-avatar img'
),
2023-06-27 10:24:19 -04:00
'editorStyle' => 'wp-block-avatar-editor' ,
'style' => 'wp-block-avatar'
),
'block' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/block' ,
'title' => 'Pattern' ,
'category' => 'reusable' ,
2024-02-09 13:22:22 -05:00
'description' => 'Reuse this design across your site.' ,
2023-07-14 00:33:18 -04:00
'keywords' => array (
'reusable'
),
2023-06-27 10:24:19 -04:00
'textdomain' => 'default' ,
'attributes' => array (
'ref' => array (
'type' => 'number'
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
),
2024-02-09 13:22:22 -05:00
'content' => array (
2024-07-02 10:53:30 -04:00
'type' => 'object' ,
'default' => array (
)
2023-06-27 10:24:19 -04:00
)
),
2024-07-02 10:53:30 -04:00
'providesContext' => array (
'pattern/overrides' => 'content'
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'customClassName' => false ,
'html' => false ,
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'inserter' => false ,
2024-02-09 13:22:22 -05:00
'renaming' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
)
),
'button' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/button' ,
'title' => 'Button' ,
'category' => 'design' ,
'parent' => array (
'core/buttons'
),
'description' => 'Prompt visitors to take action with a button-style link.' ,
'keywords' => array (
'link'
),
'textdomain' => 'default' ,
'attributes' => array (
2023-09-26 10:23:26 -04:00
'tagName' => array (
'type' => 'string' ,
'enum' => array (
'a' ,
'button'
),
'default' => 'a'
),
'type' => array (
'type' => 'string' ,
'default' => 'button'
),
2023-06-27 10:24:19 -04:00
'textAlign' => array (
'type' => 'string'
),
'url' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'a' ,
'attribute' => 'href' ,
'__experimentalRole' => 'content'
),
'title' => array (
'type' => 'string' ,
'source' => 'attribute' ,
2023-09-26 10:23:26 -04:00
'selector' => 'a,button' ,
2023-06-27 10:24:19 -04:00
'attribute' => 'title' ,
'__experimentalRole' => 'content'
),
'text' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-09-26 10:23:26 -04:00
'selector' => 'a,button' ,
2023-06-27 10:24:19 -04:00
'__experimentalRole' => 'content'
),
'linkTarget' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'a' ,
'attribute' => 'target' ,
'__experimentalRole' => 'content'
),
'rel' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'a' ,
'attribute' => 'rel' ,
'__experimentalRole' => 'content'
),
'placeholder' => array (
'type' => 'string'
),
'backgroundColor' => array (
'type' => 'string'
),
'textColor' => array (
'type' => 'string'
),
'gradient' => array (
'type' => 'string'
),
'width' => array (
'type' => 'number'
)
),
'supports' => array (
'anchor' => true ,
2024-05-23 15:39:28 -04:00
'splitting' => true ,
2023-06-27 10:24:19 -04:00
'align' => false ,
'alignWide' => false ,
'color' => array (
'__experimentalSkipSerialization' => true ,
'gradients' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
2024-09-19 21:55:35 -04:00
'__experimentalWritingMode' => true ,
2023-06-27 10:24:19 -04:00
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
'reusable' => false ,
2024-02-09 13:22:22 -05:00
'shadow' => array (
'__experimentalSkipSerialization' => true
),
2023-06-27 10:24:19 -04:00
'spacing' => array (
'__experimentalSkipSerialization' => true ,
'padding' => array (
'horizontal' ,
'vertical'
),
'__experimentalDefaultControls' => array (
'padding' => true
)
),
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true ,
'__experimentalSkipSerialization' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
)
),
2024-02-09 13:22:22 -05:00
'__experimentalSelector' => '.wp-block-button .wp-block-button__link' ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'styles' => array (
array (
'name' => 'fill' ,
'label' => 'Fill' ,
'isDefault' => true
),
array (
'name' => 'outline' ,
'label' => 'Outline'
)
),
'editorStyle' => 'wp-block-button-editor' ,
'style' => 'wp-block-button'
),
'buttons' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/buttons' ,
'title' => 'Buttons' ,
'category' => 'design' ,
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/button'
),
2023-06-27 10:24:19 -04:00
'description' => 'Prompt visitors to take action with a group of button-style links.' ,
'keywords' => array (
'link'
),
'textdomain' => 'default' ,
'supports' => array (
'anchor' => true ,
'align' => array (
'wide' ,
'full'
),
'html' => false ,
'__experimentalExposeControlsToChildren' => true ,
2024-09-19 21:55:35 -04:00
'color' => array (
'gradients' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true
)
),
2023-06-27 10:24:19 -04:00
'spacing' => array (
2024-09-19 21:55:35 -04:00
'blockGap' => array (
'horizontal' ,
'vertical'
),
'padding' => true ,
2023-06-27 10:24:19 -04:00
'margin' => array (
'top' ,
'bottom'
),
'__experimentalDefaultControls' => array (
'blockGap' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
)
),
2023-06-27 10:24:19 -04:00
'layout' => array (
'allowSwitching' => false ,
'allowInheriting' => false ,
'default' => array (
'type' => 'flex'
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-buttons-editor' ,
'style' => 'wp-block-buttons'
),
'calendar' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/calendar' ,
'title' => 'Calendar' ,
'category' => 'widgets' ,
'description' => 'A calendar of your site’ s posts.' ,
'keywords' => array (
'posts' ,
'archive'
),
'textdomain' => 'default' ,
'attributes' => array (
'month' => array (
'type' => 'integer'
),
'year' => array (
'type' => 'integer'
)
),
'supports' => array (
'align' => true ,
'color' => array (
'link' => true ,
'__experimentalSkipSerialization' => array (
'text' ,
'background'
),
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
),
'__experimentalSelector' => 'table, th'
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'style' => 'wp-block-calendar'
),
'categories' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/categories' ,
2024-09-19 21:55:35 -04:00
'title' => 'Terms List' ,
2023-06-27 10:24:19 -04:00
'category' => 'widgets' ,
2024-09-19 21:55:35 -04:00
'description' => 'Display a list of all terms of a given taxonomy.' ,
'keywords' => array (
'categories'
),
2023-06-27 10:24:19 -04:00
'textdomain' => 'default' ,
'attributes' => array (
2024-09-19 21:55:35 -04:00
'taxonomy' => array (
'type' => 'string' ,
'default' => 'category'
),
2023-06-27 10:24:19 -04:00
'displayAsDropdown' => array (
'type' => 'boolean' ,
'default' => false
),
'showHierarchy' => array (
'type' => 'boolean' ,
'default' => false
),
'showPostCounts' => array (
'type' => 'boolean' ,
'default' => false
),
'showOnlyTopLevel' => array (
'type' => 'boolean' ,
'default' => false
),
'showEmpty' => array (
'type' => 'boolean' ,
'default' => false
2024-09-19 21:55:35 -04:00
),
'label' => array (
'type' => 'string' ,
'__experimentalRole' => 'content'
),
'showLabel' => array (
'type' => 'boolean' ,
'default' => true
2023-06-27 10:24:19 -04:00
)
),
2024-09-19 21:55:35 -04:00
'usesContext' => array (
'enhancedPagination'
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'align' => true ,
'html' => false ,
'spacing' => array (
'margin' => true ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-categories-editor' ,
'style' => 'wp-block-categories'
),
'code' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/code' ,
'title' => 'Code' ,
'category' => 'text' ,
'description' => 'Display code snippets that respect your spacing and tabs.' ,
'textdomain' => 'default' ,
'attributes' => array (
'content' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-09-26 10:23:26 -04:00
'selector' => 'code' ,
'__unstablePreserveWhiteSpace' => true
2023-06-27 10:24:19 -04:00
)
),
'supports' => array (
'align' => array (
'wide'
),
'anchor' => true ,
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
'spacing' => array (
'margin' => array (
'top' ,
'bottom'
),
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'width' => true ,
'color' => true
)
),
'color' => array (
'text' => true ,
'background' => true ,
'gradients' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'style' => 'wp-block-code'
),
'column' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/column' ,
'title' => 'Column' ,
'category' => 'design' ,
'parent' => array (
'core/columns'
),
'description' => 'A single column within a columns block.' ,
'textdomain' => 'default' ,
'attributes' => array (
'verticalAlignment' => array (
'type' => 'string'
),
'width' => array (
'type' => 'string'
),
'allowedBlocks' => array (
'type' => 'array'
),
'templateLock' => array (
'type' => array (
'string' ,
'boolean'
),
'enum' => array (
'all' ,
'insert' ,
'contentOnly' ,
false
)
)
),
'supports' => array (
2023-09-26 10:23:26 -04:00
'__experimentalOnEnter' => true ,
2023-06-27 10:24:19 -04:00
'anchor' => true ,
'reusable' => false ,
'html' => false ,
'color' => array (
'gradients' => true ,
2023-09-26 10:23:26 -04:00
'heading' => true ,
'button' => true ,
2023-06-27 10:24:19 -04:00
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
2024-02-09 13:22:22 -05:00
'shadow' => true ,
2023-06-27 10:24:19 -04:00
'spacing' => array (
'blockGap' => true ,
'padding' => true ,
'__experimentalDefaultControls' => array (
'padding' => true ,
'blockGap' => true
)
),
'__experimentalBorder' => array (
'color' => true ,
2024-09-19 21:55:35 -04:00
'radius' => true ,
2023-06-27 10:24:19 -04:00
'style' => true ,
'width' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
2024-09-19 21:55:35 -04:00
'radius' => true ,
2023-06-27 10:24:19 -04:00
'style' => true ,
'width' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
2024-02-09 13:22:22 -05:00
'layout' => true ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
)
),
'columns' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/columns' ,
'title' => 'Columns' ,
'category' => 'design' ,
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/column'
),
2023-06-27 10:24:19 -04:00
'description' => 'Display content in multiple columns, with blocks added to each column.' ,
'textdomain' => 'default' ,
'attributes' => array (
'verticalAlignment' => array (
'type' => 'string'
),
'isStackedOnMobile' => array (
'type' => 'boolean' ,
'default' => true
),
'templateLock' => array (
'type' => array (
'string' ,
'boolean'
),
'enum' => array (
'all' ,
'insert' ,
'contentOnly' ,
false
)
)
),
'supports' => array (
'anchor' => true ,
'align' => array (
'wide' ,
'full'
),
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true ,
2023-09-26 10:23:26 -04:00
'heading' => true ,
'button' => true ,
2023-06-27 10:24:19 -04:00
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'spacing' => array (
'blockGap' => array (
'__experimentalDefault' => '2em' ,
'sides' => array (
'horizontal' ,
'vertical'
)
),
'margin' => array (
'top' ,
'bottom'
),
'padding' => true ,
'__experimentalDefaultControls' => array (
'padding' => true ,
'blockGap' => true
)
),
'layout' => array (
'allowSwitching' => false ,
'allowInheriting' => false ,
'allowEditing' => false ,
'default' => array (
'type' => 'flex' ,
'flexWrap' => 'nowrap'
)
),
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
),
'shadow' => true
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-columns-editor' ,
'style' => 'wp-block-columns'
),
'comment-author-name' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comment-author-name' ,
'title' => 'Comment Author Name' ,
'category' => 'theme' ,
'ancestor' => array (
'core/comment-template'
),
'description' => 'Displays the name of the author of the comment.' ,
'textdomain' => 'default' ,
'attributes' => array (
'isLink' => array (
'type' => 'boolean' ,
'default' => true
),
'linkTarget' => array (
'type' => 'string' ,
'default' => '_self'
),
'textAlign' => array (
'type' => 'string'
)
),
'usesContext' => array (
'commentId'
),
'supports' => array (
'html' => false ,
'spacing' => array (
'margin' => true ,
'padding' => true
),
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
2024-09-19 21:55:35 -04:00
),
'style' => 'wp-block-comment-author-name'
2023-06-27 10:24:19 -04:00
),
'comment-content' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comment-content' ,
'title' => 'Comment Content' ,
'category' => 'theme' ,
'ancestor' => array (
'core/comment-template'
),
'description' => 'Displays the contents of a comment.' ,
'textdomain' => 'default' ,
'usesContext' => array (
'commentId'
),
'attributes' => array (
'textAlign' => array (
'type' => 'string'
)
),
'supports' => array (
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
),
2023-06-27 10:24:19 -04:00
'spacing' => array (
'padding' => array (
'horizontal' ,
'vertical'
),
'__experimentalDefaultControls' => array (
'padding' => true
)
),
'html' => false
2024-09-19 21:55:35 -04:00
),
'style' => 'wp-block-comment-content'
2023-06-27 10:24:19 -04:00
),
'comment-date' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comment-date' ,
'title' => 'Comment Date' ,
'category' => 'theme' ,
'ancestor' => array (
'core/comment-template'
),
'description' => 'Displays the date on which the comment was posted.' ,
'textdomain' => 'default' ,
'attributes' => array (
'format' => array (
'type' => 'string'
),
'isLink' => array (
'type' => 'boolean' ,
'default' => true
)
),
'usesContext' => array (
'commentId'
),
'supports' => array (
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
2024-09-19 21:55:35 -04:00
),
'style' => 'wp-block-comment-date'
2023-06-27 10:24:19 -04:00
),
'comment-edit-link' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comment-edit-link' ,
'title' => 'Comment Edit Link' ,
'category' => 'theme' ,
'ancestor' => array (
'core/comment-template'
),
'description' => 'Displays a link to edit the comment in the WordPress Dashboard. This link is only visible to users with the edit comment capability.' ,
'textdomain' => 'default' ,
'usesContext' => array (
'commentId'
),
'attributes' => array (
'linkTarget' => array (
'type' => 'string' ,
'default' => '_self'
),
'textAlign' => array (
'type' => 'string'
)
),
'supports' => array (
'html' => false ,
'color' => array (
'link' => true ,
'gradients' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true ,
'link' => true
)
),
'spacing' => array (
'margin' => true ,
2024-09-19 21:55:35 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
2023-06-27 10:24:19 -04:00
)
2024-09-19 21:55:35 -04:00
),
'style' => 'wp-block-comment-edit-link'
2023-06-27 10:24:19 -04:00
),
'comment-reply-link' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comment-reply-link' ,
'title' => 'Comment Reply Link' ,
'category' => 'theme' ,
'ancestor' => array (
'core/comment-template'
),
'description' => 'Displays a link to reply to a comment.' ,
'textdomain' => 'default' ,
'usesContext' => array (
'commentId'
),
'attributes' => array (
'textAlign' => array (
'type' => 'string'
)
),
'supports' => array (
'color' => array (
'gradients' => true ,
'link' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true ,
'link' => true
)
),
'spacing' => array (
'margin' => true ,
2024-09-19 21:55:35 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
),
2023-06-27 10:24:19 -04:00
'html' => false
2024-09-19 21:55:35 -04:00
),
'style' => 'wp-block-comment-reply-link'
2023-06-27 10:24:19 -04:00
),
'comment-template' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comment-template' ,
'title' => 'Comment Template' ,
'category' => 'design' ,
'parent' => array (
'core/comments'
),
'description' => 'Contains the block elements used to display a comment, like the title, date, author, avatar and more.' ,
'textdomain' => 'default' ,
'usesContext' => array (
'postId'
),
'supports' => array (
'align' => true ,
'html' => false ,
'reusable' => false ,
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
'style' => 'wp-block-comment-template'
),
'comments' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comments' ,
'title' => 'Comments' ,
'category' => 'theme' ,
'description' => 'An advanced block that allows displaying post comments using different visual configurations.' ,
'textdomain' => 'default' ,
'attributes' => array (
'tagName' => array (
'type' => 'string' ,
'default' => 'div'
),
'legacy' => array (
'type' => 'boolean' ,
'default' => false
)
),
'supports' => array (
'align' => array (
'wide' ,
'full'
),
'html' => false ,
'color' => array (
'gradients' => true ,
2023-09-26 10:23:26 -04:00
'heading' => true ,
2023-06-27 10:24:19 -04:00
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
)
),
'editorStyle' => 'wp-block-comments-editor' ,
'usesContext' => array (
'postId' ,
'postType'
)
),
'comments-pagination' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comments-pagination' ,
'title' => 'Comments Pagination' ,
'category' => 'theme' ,
'parent' => array (
'core/comments'
),
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/comments-pagination-previous' ,
'core/comments-pagination-numbers' ,
'core/comments-pagination-next'
),
2023-06-27 10:24:19 -04:00
'description' => 'Displays a paginated navigation to next/previous set of comments, when applicable.' ,
'textdomain' => 'default' ,
'attributes' => array (
'paginationArrow' => array (
'type' => 'string' ,
'default' => 'none'
)
),
'providesContext' => array (
'comments/paginationArrow' => 'paginationArrow'
),
'supports' => array (
'align' => true ,
'reusable' => false ,
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'layout' => array (
'allowSwitching' => false ,
'allowInheriting' => false ,
'default' => array (
'type' => 'flex'
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-comments-pagination-editor' ,
'style' => 'wp-block-comments-pagination'
),
'comments-pagination-next' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comments-pagination-next' ,
'title' => 'Comments Next Page' ,
'category' => 'theme' ,
'parent' => array (
'core/comments-pagination'
),
'description' => 'Displays the next comment\'s page link.' ,
'textdomain' => 'default' ,
'attributes' => array (
'label' => array (
'type' => 'string'
)
),
'usesContext' => array (
'postId' ,
'comments/paginationArrow'
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'color' => array (
'gradients' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
)
),
'comments-pagination-numbers' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comments-pagination-numbers' ,
'title' => 'Comments Page Numbers' ,
'category' => 'theme' ,
'parent' => array (
'core/comments-pagination'
),
'description' => 'Displays a list of page numbers for comments pagination.' ,
'textdomain' => 'default' ,
'usesContext' => array (
'postId'
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'color' => array (
'gradients' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
)
),
'comments-pagination-previous' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comments-pagination-previous' ,
'title' => 'Comments Previous Page' ,
'category' => 'theme' ,
'parent' => array (
'core/comments-pagination'
),
'description' => 'Displays the previous comment\'s page link.' ,
'textdomain' => 'default' ,
'attributes' => array (
'label' => array (
'type' => 'string'
)
),
'usesContext' => array (
'postId' ,
'comments/paginationArrow'
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'color' => array (
'gradients' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
)
),
'comments-title' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/comments-title' ,
'title' => 'Comments Title' ,
'category' => 'theme' ,
'ancestor' => array (
'core/comments'
),
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'description' => 'Displays a title with the number of comments.' ,
2023-06-27 10:24:19 -04:00
'textdomain' => 'default' ,
'usesContext' => array (
'postId' ,
'postType'
),
'attributes' => array (
'textAlign' => array (
'type' => 'string'
),
'showPostTitle' => array (
'type' => 'boolean' ,
'default' => true
),
'showCommentsCount' => array (
'type' => 'boolean' ,
'default' => true
),
'level' => array (
'type' => 'number' ,
'default' => 2
2024-09-19 21:55:35 -04:00
),
'levelOptions' => array (
'type' => 'array'
2023-06-27 10:24:19 -04:00
)
),
'supports' => array (
'anchor' => false ,
'align' => true ,
'html' => false ,
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
),
'color' => array (
'gradients' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontStyle' => true ,
'__experimentalFontWeight' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
)
),
'cover' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/cover' ,
'title' => 'Cover' ,
'category' => 'media' ,
'description' => 'Add an image or video with a text overlay.' ,
'textdomain' => 'default' ,
'attributes' => array (
'url' => array (
'type' => 'string'
),
'useFeaturedImage' => array (
'type' => 'boolean' ,
'default' => false
),
'id' => array (
'type' => 'number'
),
'alt' => array (
'type' => 'string' ,
'default' => ''
),
'hasParallax' => array (
'type' => 'boolean' ,
'default' => false
),
'isRepeated' => array (
'type' => 'boolean' ,
'default' => false
),
'dimRatio' => array (
'type' => 'number' ,
'default' => 100
),
'overlayColor' => array (
'type' => 'string'
),
'customOverlayColor' => array (
'type' => 'string'
),
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'isUserOverlayColor' => array (
'type' => 'boolean'
),
2023-06-27 10:24:19 -04:00
'backgroundType' => array (
'type' => 'string' ,
'default' => 'image'
),
'focalPoint' => array (
'type' => 'object'
),
'minHeight' => array (
'type' => 'number'
),
'minHeightUnit' => array (
'type' => 'string'
),
'gradient' => array (
'type' => 'string'
),
'customGradient' => array (
'type' => 'string'
),
'contentPosition' => array (
'type' => 'string'
),
'isDark' => array (
'type' => 'boolean' ,
'default' => true
),
'allowedBlocks' => array (
'type' => 'array'
),
'templateLock' => array (
'type' => array (
'string' ,
'boolean'
),
'enum' => array (
'all' ,
'insert' ,
'contentOnly' ,
false
)
),
'tagName' => array (
'type' => 'string' ,
'default' => 'div'
)
),
'usesContext' => array (
'postId' ,
'postType'
),
'supports' => array (
'anchor' => true ,
'align' => true ,
'html' => false ,
2024-05-31 14:59:00 -04:00
'shadow' => true ,
2023-06-27 10:24:19 -04:00
'spacing' => array (
'padding' => true ,
'margin' => array (
'top' ,
'bottom'
),
'blockGap' => true ,
'__experimentalDefaultControls' => array (
'padding' => true ,
'blockGap' => true
)
),
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
)
),
'color' => array (
'__experimentalDuotone' => '> .wp-block-cover__image-background, > .wp-block-cover__video-background' ,
2023-09-26 10:23:26 -04:00
'heading' => true ,
2023-06-27 10:24:19 -04:00
'text' => true ,
'background' => false ,
'__experimentalSkipSerialization' => array (
'gradients'
2023-09-26 10:23:26 -04:00
),
'enableContrastChecker' => false
2023-06-27 10:24:19 -04:00
),
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'dimensions' => array (
'aspectRatio' => true
),
2023-06-27 10:24:19 -04:00
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
'layout' => array (
'allowJustification' => false
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-cover-editor' ,
'style' => 'wp-block-cover'
),
'details' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/details' ,
'title' => 'Details' ,
'category' => 'text' ,
'description' => 'Hide and show additional content.' ,
'keywords' => array (
2023-09-26 10:23:26 -04:00
'accordion' ,
2023-06-27 10:24:19 -04:00
'summary' ,
2023-09-26 10:23:26 -04:00
'toggle' ,
'disclosure'
2023-06-27 10:24:19 -04:00
),
'textdomain' => 'default' ,
'attributes' => array (
'showContent' => array (
'type' => 'boolean' ,
'default' => false
),
'summary' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-09-26 10:23:26 -04:00
'selector' => 'summary'
2023-06-27 10:24:19 -04:00
)
),
'supports' => array (
2024-05-23 15:39:28 -04:00
'__experimentalOnEnter' => true ,
2023-06-27 10:24:19 -04:00
'align' => array (
'wide' ,
'full'
),
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'__experimentalBorder' => array (
'color' => true ,
'width' => true ,
'style' => true
),
'html' => false ,
'spacing' => array (
'margin' => true ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
2023-09-26 10:23:26 -04:00
'blockGap' => true ,
2023-07-07 03:21:17 -04:00
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2023-09-26 10:23:26 -04:00
),
'layout' => array (
'allowEditing' => false
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-details-editor' ,
'style' => 'wp-block-details'
),
'embed' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/embed' ,
'title' => 'Embed' ,
'category' => 'embed' ,
'description' => 'Add a block that displays content pulled from other sites, like Twitter or YouTube.' ,
'textdomain' => 'default' ,
'attributes' => array (
'url' => array (
'type' => 'string' ,
'__experimentalRole' => 'content'
),
'caption' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'figcaption' ,
'__experimentalRole' => 'content'
),
'type' => array (
'type' => 'string' ,
'__experimentalRole' => 'content'
),
'providerNameSlug' => array (
'type' => 'string' ,
'__experimentalRole' => 'content'
),
'allowResponsive' => array (
'type' => 'boolean' ,
'default' => true
),
'responsive' => array (
'type' => 'boolean' ,
'default' => false ,
'__experimentalRole' => 'content'
),
'previewable' => array (
'type' => 'boolean' ,
'default' => true ,
'__experimentalRole' => 'content'
)
),
'supports' => array (
'align' => true ,
'spacing' => array (
'margin' => true
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-embed-editor' ,
'style' => 'wp-block-embed'
),
'file' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/file' ,
'title' => 'File' ,
'category' => 'media' ,
'description' => 'Add a link to a downloadable file.' ,
'keywords' => array (
'document' ,
'pdf' ,
'download'
),
'textdomain' => 'default' ,
'attributes' => array (
'id' => array (
'type' => 'number'
),
2024-09-19 21:55:35 -04:00
'blob' => array (
'type' => 'string' ,
'__experimentalRole' => 'local'
),
2023-06-27 10:24:19 -04:00
'href' => array (
'type' => 'string'
),
'fileId' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'a:not([download])' ,
'attribute' => 'id'
),
'fileName' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'a:not([download])'
),
'textLinkHref' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'a:not([download])' ,
'attribute' => 'href'
),
'textLinkTarget' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'a:not([download])' ,
'attribute' => 'target'
),
'showDownloadButton' => array (
'type' => 'boolean' ,
'default' => true
),
'downloadButtonText' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'a[download]'
),
'displayPreview' => array (
'type' => 'boolean'
),
'previewHeight' => array (
'type' => 'number' ,
'default' => 600
)
),
'supports' => array (
'anchor' => true ,
'align' => true ,
2023-09-26 10:23:26 -04:00
'spacing' => array (
'margin' => true ,
'padding' => true
),
2023-06-27 10:24:19 -04:00
'color' => array (
'gradients' => true ,
'link' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true ,
'link' => true
)
2023-09-26 10:23:26 -04:00
),
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
),
2023-09-26 10:23:26 -04:00
'interactivity' => true
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-file-editor' ,
'style' => 'wp-block-file'
),
'footnotes' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/footnotes' ,
'title' => 'Footnotes' ,
'category' => 'text' ,
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'description' => 'Display footnotes added to the page.' ,
2023-06-27 10:24:19 -04:00
'keywords' => array (
'references'
),
'textdomain' => 'default' ,
'usesContext' => array (
'postId' ,
'postType'
),
'supports' => array (
2023-09-26 10:23:26 -04:00
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => false ,
'color' => false ,
'width' => false ,
'style' => false
)
),
'color' => array (
'background' => true ,
'link' => true ,
'text' => true ,
'__experimentalDefaultControls' => array (
'link' => true ,
'text' => true
)
),
2023-06-27 10:24:19 -04:00
'html' => false ,
'multiple' => false ,
2023-09-26 10:23:26 -04:00
'reusable' => false ,
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'inserter' => false ,
2023-09-26 10:23:26 -04:00
'spacing' => array (
'margin' => true ,
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalFontStyle' => true ,
'__experimentalFontWeight' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalTextTransform' => true ,
'__experimentalWritingMode' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-09-26 10:23:26 -04:00
)
2023-06-27 10:24:19 -04:00
),
'style' => 'wp-block-footnotes'
),
'freeform' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/freeform' ,
'title' => 'Classic' ,
'category' => 'text' ,
'description' => 'Use the classic WordPress editor.' ,
'textdomain' => 'default' ,
'attributes' => array (
'content' => array (
'type' => 'string' ,
'source' => 'raw'
)
),
'supports' => array (
'className' => false ,
'customClassName' => false ,
'reusable' => false
),
'editorStyle' => 'wp-block-freeform-editor'
),
'gallery' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/gallery' ,
'title' => 'Gallery' ,
'category' => 'media' ,
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/image'
),
2023-06-27 10:24:19 -04:00
'description' => 'Display multiple images in a rich gallery.' ,
'keywords' => array (
'images' ,
'photos'
),
'textdomain' => 'default' ,
'attributes' => array (
'images' => array (
'type' => 'array' ,
'default' => array (
),
'source' => 'query' ,
'selector' => '.blocks-gallery-item' ,
'query' => array (
'url' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'img' ,
'attribute' => 'src'
),
'fullUrl' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'img' ,
'attribute' => 'data-full-url'
),
'link' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'img' ,
'attribute' => 'data-link'
),
'alt' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'img' ,
'attribute' => 'alt' ,
'default' => ''
),
'id' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'img' ,
'attribute' => 'data-id'
),
'caption' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => '.blocks-gallery-item__caption'
)
)
),
'ids' => array (
'type' => 'array' ,
'items' => array (
'type' => 'number'
),
'default' => array (
)
),
'shortCodeTransforms' => array (
'type' => 'array' ,
'items' => array (
'type' => 'object'
2023-09-26 10:23:26 -04:00
),
'default' => array (
2023-06-27 10:24:19 -04:00
)
),
'columns' => array (
'type' => 'number' ,
'minimum' => 1 ,
'maximum' => 8
),
'caption' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => '.blocks-gallery-caption'
),
'imageCrop' => array (
'type' => 'boolean' ,
'default' => true
),
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'randomOrder' => array (
'type' => 'boolean' ,
'default' => false
),
2023-06-27 10:24:19 -04:00
'fixedHeight' => array (
'type' => 'boolean' ,
'default' => true
),
'linkTarget' => array (
'type' => 'string'
),
'linkTo' => array (
'type' => 'string'
),
'sizeSlug' => array (
'type' => 'string' ,
'default' => 'large'
),
'allowResize' => array (
'type' => 'boolean' ,
'default' => false
)
),
'providesContext' => array (
'allowResize' => 'allowResize' ,
'imageCrop' => 'imageCrop' ,
'fixedHeight' => 'fixedHeight'
),
'supports' => array (
'anchor' => true ,
'align' => true ,
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true
)
),
2023-06-27 10:24:19 -04:00
'html' => false ,
'units' => array (
'px' ,
'em' ,
'rem' ,
'vh' ,
'vw'
),
'spacing' => array (
'margin' => true ,
'padding' => true ,
'blockGap' => array (
'horizontal' ,
'vertical'
),
'__experimentalSkipSerialization' => array (
'blockGap'
),
'__experimentalDefaultControls' => array (
2023-07-07 03:21:17 -04:00
'blockGap' => true ,
'margin' => false ,
'padding' => false
2023-06-27 10:24:19 -04:00
)
),
'color' => array (
'text' => false ,
'background' => true ,
'gradients' => true
),
'layout' => array (
'allowSwitching' => false ,
'allowInheriting' => false ,
'allowEditing' => false ,
'default' => array (
'type' => 'flex'
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-gallery-editor' ,
'style' => 'wp-block-gallery'
),
'group' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/group' ,
'title' => 'Group' ,
'category' => 'design' ,
'description' => 'Gather blocks in a layout container.' ,
'keywords' => array (
'container' ,
'wrapper' ,
'row' ,
'section'
),
'textdomain' => 'default' ,
'attributes' => array (
'tagName' => array (
'type' => 'string' ,
'default' => 'div'
),
'templateLock' => array (
'type' => array (
'string' ,
'boolean'
),
'enum' => array (
'all' ,
'insert' ,
'contentOnly' ,
false
)
),
'allowedBlocks' => array (
'type' => 'array'
)
),
'supports' => array (
'__experimentalOnEnter' => true ,
2023-09-26 10:23:26 -04:00
'__experimentalOnMerge' => true ,
2023-06-27 10:24:19 -04:00
'__experimentalSettings' => true ,
'align' => array (
'wide' ,
'full'
),
'anchor' => true ,
'ariaLabel' => true ,
'html' => false ,
2023-09-26 10:23:26 -04:00
'background' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'backgroundImage' => true ,
'backgroundSize' => true ,
'__experimentalDefaultControls' => array (
'backgroundImage' => true
)
2023-09-26 10:23:26 -04:00
),
2023-06-27 10:24:19 -04:00
'color' => array (
'gradients' => true ,
2023-09-26 10:23:26 -04:00
'heading' => true ,
'button' => true ,
2023-06-27 10:24:19 -04:00
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
2024-09-19 21:55:35 -04:00
'shadow' => true ,
2023-06-27 10:24:19 -04:00
'spacing' => array (
'margin' => array (
'top' ,
'bottom'
),
'padding' => true ,
'blockGap' => true ,
'__experimentalDefaultControls' => array (
'padding' => true ,
'blockGap' => true
)
),
'dimensions' => array (
'minHeight' => true
),
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
)
),
'position' => array (
'sticky' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
'layout' => array (
'allowSizingOnChildren' => true
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-group-editor' ,
'style' => 'wp-block-group'
),
'heading' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/heading' ,
'title' => 'Heading' ,
'category' => 'text' ,
'description' => 'Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.' ,
'keywords' => array (
'title' ,
'subtitle'
),
'textdomain' => 'default' ,
'attributes' => array (
'textAlign' => array (
'type' => 'string'
),
'content' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'h1,h2,h3,h4,h5,h6' ,
'__experimentalRole' => 'content'
),
'level' => array (
'type' => 'number' ,
'default' => 2
),
2024-09-19 21:55:35 -04:00
'levelOptions' => array (
'type' => 'array'
),
2023-06-27 10:24:19 -04:00
'placeholder' => array (
'type' => 'string'
)
),
'supports' => array (
'align' => array (
'wide' ,
'full'
),
'anchor' => true ,
'className' => true ,
2024-05-23 15:39:28 -04:00
'splitting' => true ,
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
)
),
2023-06-27 10:24:19 -04:00
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'spacing' => array (
'margin' => true ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontStyle' => true ,
'__experimentalFontWeight' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
2023-09-26 10:23:26 -04:00
'__experimentalWritingMode' => true ,
2023-06-27 10:24:19 -04:00
'__experimentalDefaultControls' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'fontSize' => true
2023-06-27 10:24:19 -04:00
)
),
'__unstablePasteTextInline' => true ,
2024-02-09 13:22:22 -05:00
'__experimentalSlashInserter' => true ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-heading-editor' ,
'style' => 'wp-block-heading'
),
'home-link' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/home-link' ,
'category' => 'design' ,
'parent' => array (
'core/navigation'
),
'title' => 'Home Link' ,
'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.' ,
'textdomain' => 'default' ,
'attributes' => array (
'label' => array (
'type' => 'string'
)
),
'usesContext' => array (
'textColor' ,
'customTextColor' ,
'backgroundColor' ,
'customBackgroundColor' ,
'fontSize' ,
'customFontSize' ,
'style'
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-home-link-editor' ,
'style' => 'wp-block-home-link'
),
'html' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/html' ,
'title' => 'Custom HTML' ,
'category' => 'widgets' ,
'description' => 'Add custom HTML code and preview it as you edit.' ,
'keywords' => array (
'embed'
),
'textdomain' => 'default' ,
'attributes' => array (
'content' => array (
'type' => 'string' ,
'source' => 'raw'
)
),
'supports' => array (
'customClassName' => false ,
'className' => false ,
2024-02-09 13:22:22 -05:00
'html' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-html-editor'
),
'image' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/image' ,
'title' => 'Image' ,
'category' => 'media' ,
'usesContext' => array (
'allowResize' ,
'imageCrop' ,
2024-02-20 06:16:26 -05:00
'fixedHeight'
2023-06-27 10:24:19 -04:00
),
'description' => 'Insert an image to make a visual statement.' ,
'keywords' => array (
'img' ,
'photo' ,
'picture'
),
'textdomain' => 'default' ,
'attributes' => array (
2024-09-19 21:55:35 -04:00
'blob' => array (
'type' => 'string' ,
'__experimentalRole' => 'local'
),
2023-06-27 10:24:19 -04:00
'url' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'img' ,
'attribute' => 'src' ,
'__experimentalRole' => 'content'
),
'alt' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'img' ,
'attribute' => 'alt' ,
'default' => '' ,
'__experimentalRole' => 'content'
),
'caption' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'figcaption' ,
'__experimentalRole' => 'content'
),
2023-09-26 10:23:26 -04:00
'lightbox' => array (
'type' => 'object' ,
'enabled' => array (
'type' => 'boolean'
)
),
2023-06-27 10:24:19 -04:00
'title' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'img' ,
'attribute' => 'title' ,
'__experimentalRole' => 'content'
),
'href' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'figure > a' ,
'attribute' => 'href' ,
'__experimentalRole' => 'content'
),
'rel' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'figure > a' ,
'attribute' => 'rel'
),
'linkClass' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'figure > a' ,
'attribute' => 'class'
),
'id' => array (
'type' => 'number' ,
'__experimentalRole' => 'content'
),
'width' => array (
2023-09-05 23:19:44 -04:00
'type' => 'string'
2023-06-27 10:24:19 -04:00
),
'height' => array (
2023-09-05 23:19:44 -04:00
'type' => 'string'
2023-06-27 10:24:19 -04:00
),
'aspectRatio' => array (
'type' => 'string'
),
'scale' => array (
'type' => 'string'
),
'sizeSlug' => array (
'type' => 'string'
),
'linkDestination' => array (
'type' => 'string'
),
'linkTarget' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'figure > a' ,
'attribute' => 'target'
)
),
'supports' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'interactivity' => true ,
'align' => array (
'left' ,
'center' ,
'right' ,
'wide' ,
'full'
),
2023-06-27 10:24:19 -04:00
'anchor' => true ,
'color' => array (
'text' => false ,
'background' => false
),
'filter' => array (
'duotone' => true
),
2024-09-19 21:55:35 -04:00
'spacing' => array (
'margin' => true
),
2023-06-27 10:24:19 -04:00
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'width' => true ,
'__experimentalSkipSerialization' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'width' => true
)
2024-02-09 13:22:22 -05:00
),
'shadow' => array (
'__experimentalSkipSerialization' => true
2023-06-27 10:24:19 -04:00
)
),
'selectors' => array (
'border' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder' ,
2024-02-09 13:22:22 -05:00
'shadow' => '.wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder' ,
2023-06-27 10:24:19 -04:00
'filter' => array (
'duotone' => '.wp-block-image img, .wp-block-image .components-placeholder'
)
),
'styles' => array (
array (
'name' => 'default' ,
'label' => 'Default' ,
'isDefault' => true
),
array (
'name' => 'rounded' ,
'label' => 'Rounded'
)
),
'editorStyle' => 'wp-block-image-editor' ,
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'style' => 'wp-block-image'
2023-06-27 10:24:19 -04:00
),
'latest-comments' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/latest-comments' ,
'title' => 'Latest Comments' ,
'category' => 'widgets' ,
'description' => 'Display a list of your most recent comments.' ,
'keywords' => array (
'recent comments'
),
'textdomain' => 'default' ,
'attributes' => array (
'commentsToShow' => array (
'type' => 'number' ,
'default' => 5 ,
'minimum' => 1 ,
'maximum' => 100
),
'displayAvatar' => array (
'type' => 'boolean' ,
'default' => true
),
'displayDate' => array (
'type' => 'boolean' ,
'default' => true
),
'displayExcerpt' => array (
'type' => 'boolean' ,
'default' => true
)
),
'supports' => array (
'align' => true ,
2024-09-19 21:55:35 -04:00
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
2023-06-27 10:24:19 -04:00
'html' => false ,
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-latest-comments-editor' ,
'style' => 'wp-block-latest-comments'
),
'latest-posts' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/latest-posts' ,
'title' => 'Latest Posts' ,
'category' => 'widgets' ,
'description' => 'Display a list of your most recent posts.' ,
'keywords' => array (
'recent posts'
),
'textdomain' => 'default' ,
'attributes' => array (
'categories' => array (
'type' => 'array' ,
'items' => array (
'type' => 'object'
)
),
'selectedAuthor' => array (
'type' => 'number'
),
'postsToShow' => array (
'type' => 'number' ,
'default' => 5
),
'displayPostContent' => array (
'type' => 'boolean' ,
'default' => false
),
'displayPostContentRadio' => array (
'type' => 'string' ,
'default' => 'excerpt'
),
'excerptLength' => array (
'type' => 'number' ,
'default' => 55
),
'displayAuthor' => array (
'type' => 'boolean' ,
'default' => false
),
'displayPostDate' => array (
'type' => 'boolean' ,
'default' => false
),
'postLayout' => array (
'type' => 'string' ,
'default' => 'list'
),
'columns' => array (
'type' => 'number' ,
'default' => 3
),
'order' => array (
'type' => 'string' ,
'default' => 'desc'
),
'orderBy' => array (
'type' => 'string' ,
'default' => 'date'
),
'displayFeaturedImage' => array (
'type' => 'boolean' ,
'default' => false
),
'featuredImageAlign' => array (
'type' => 'string' ,
'enum' => array (
'left' ,
'center' ,
'right'
)
),
'featuredImageSizeSlug' => array (
'type' => 'string' ,
'default' => 'thumbnail'
),
'featuredImageSizeWidth' => array (
'type' => 'number' ,
'default' => null
),
'featuredImageSizeHeight' => array (
'type' => 'number' ,
'default' => null
),
'addLinkToFeaturedImage' => array (
'type' => 'boolean' ,
'default' => false
)
),
'supports' => array (
'align' => true ,
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-latest-posts-editor' ,
'style' => 'wp-block-latest-posts'
),
'legacy-widget' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
2023-06-27 10:24:19 -04:00
'apiVersion' => 3 ,
'name' => 'core/legacy-widget' ,
'title' => 'Legacy Widget' ,
'category' => 'widgets' ,
'description' => 'Display a legacy widget.' ,
'textdomain' => 'default' ,
'attributes' => array (
'id' => array (
'type' => 'string' ,
'default' => null
),
'idBase' => array (
'type' => 'string' ,
'default' => null
),
'instance' => array (
'type' => 'object' ,
'default' => null
)
),
'supports' => array (
'html' => false ,
'customClassName' => false ,
'reusable' => false
),
'editorStyle' => 'wp-block-legacy-widget-editor'
),
'list' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/list' ,
'title' => 'List' ,
'category' => 'text' ,
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/list-item'
),
2024-09-19 21:55:35 -04:00
'description' => 'An organized collection of items displayed in a specific order.' ,
2023-06-27 10:24:19 -04:00
'keywords' => array (
'bullet list' ,
'ordered list' ,
'numbered list'
),
'textdomain' => 'default' ,
'attributes' => array (
'ordered' => array (
'type' => 'boolean' ,
'default' => false ,
'__experimentalRole' => 'content'
),
'values' => array (
'type' => 'string' ,
'source' => 'html' ,
'selector' => 'ol,ul' ,
'multiline' => 'li' ,
'__unstableMultilineWrapperTags' => array (
'ol' ,
'ul'
),
'default' => '' ,
'__experimentalRole' => 'content'
),
'type' => array (
'type' => 'string'
),
'start' => array (
'type' => 'number'
),
'reversed' => array (
'type' => 'boolean'
),
'placeholder' => array (
'type' => 'string'
)
),
'supports' => array (
'anchor' => true ,
2024-05-23 15:39:28 -04:00
'html' => false ,
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
),
2023-06-27 10:24:19 -04:00
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'spacing' => array (
'margin' => true ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'__unstablePasteTextInline' => true ,
2023-09-26 10:23:26 -04:00
'__experimentalOnMerge' => true ,
2024-02-09 13:22:22 -05:00
'__experimentalSlashInserter' => true ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
2024-09-19 21:55:35 -04:00
'selectors' => array (
'border' => '.wp-block-list:not(.wp-block-list .wp-block-list)'
),
2023-06-27 10:24:19 -04:00
'editorStyle' => 'wp-block-list-editor' ,
'style' => 'wp-block-list'
),
'list-item' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/list-item' ,
'title' => 'List item' ,
'category' => 'text' ,
'parent' => array (
'core/list'
),
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/list'
),
2024-09-19 21:55:35 -04:00
'description' => 'An individual item within a list.' ,
2023-06-27 10:24:19 -04:00
'textdomain' => 'default' ,
'attributes' => array (
'placeholder' => array (
'type' => 'string'
),
'content' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'li' ,
'__experimentalRole' => 'content'
)
),
'supports' => array (
2024-09-19 21:55:35 -04:00
'anchor' => true ,
2023-06-27 10:24:19 -04:00
'className' => false ,
2024-05-23 15:39:28 -04:00
'splitting' => true ,
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
),
'color' => array (
'gradients' => true ,
'link' => true ,
'background' => true ,
'__experimentalDefaultControls' => array (
'text' => true
)
),
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'spacing' => array (
'margin' => true ,
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
),
2023-06-27 10:24:19 -04:00
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
2024-09-19 21:55:35 -04:00
),
'selectors' => array (
'root' => '.wp-block-list > li' ,
'border' => '.wp-block-list:not(.wp-block-list .wp-block-list) > li'
2023-06-27 10:24:19 -04:00
)
),
'loginout' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/loginout' ,
'title' => 'Login/out' ,
'category' => 'theme' ,
'description' => 'Show login & logout links.' ,
'keywords' => array (
'login' ,
'logout' ,
'form'
),
'textdomain' => 'default' ,
'attributes' => array (
'displayLoginAsForm' => array (
'type' => 'boolean' ,
'default' => false
),
'redirectToCurrent' => array (
'type' => 'boolean' ,
'default' => true
)
),
2024-09-19 21:55:35 -04:00
'example' => array (
'viewportWidth' => 350
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'className' => true ,
2024-09-19 21:55:35 -04:00
'color' => array (
'background' => true ,
'text' => false ,
'gradients' => true ,
'link' => true
),
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'spacing' => array (
'margin' => true ,
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
),
2023-06-27 10:24:19 -04:00
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
),
2024-02-09 13:22:22 -05:00
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
2024-09-19 21:55:35 -04:00
),
'style' => 'wp-block-loginout'
2023-06-27 10:24:19 -04:00
),
'media-text' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/media-text' ,
'title' => 'Media & Text' ,
'category' => 'media' ,
'description' => 'Set media and words side-by-side for a richer layout.' ,
'keywords' => array (
'image' ,
'video'
),
'textdomain' => 'default' ,
'attributes' => array (
'align' => array (
'type' => 'string' ,
'default' => 'none'
),
'mediaAlt' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'figure img' ,
'attribute' => 'alt' ,
'default' => '' ,
'__experimentalRole' => 'content'
),
'mediaPosition' => array (
'type' => 'string' ,
'default' => 'left'
),
'mediaId' => array (
'type' => 'number' ,
'__experimentalRole' => 'content'
),
'mediaUrl' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'figure video,figure img' ,
'attribute' => 'src' ,
'__experimentalRole' => 'content'
),
'mediaLink' => array (
'type' => 'string'
),
'linkDestination' => array (
'type' => 'string'
),
'linkTarget' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'figure a' ,
'attribute' => 'target'
),
'href' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'figure a' ,
'attribute' => 'href' ,
'__experimentalRole' => 'content'
),
'rel' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'figure a' ,
'attribute' => 'rel'
),
'linkClass' => array (
'type' => 'string' ,
'source' => 'attribute' ,
'selector' => 'figure a' ,
'attribute' => 'class'
),
'mediaType' => array (
'type' => 'string' ,
'__experimentalRole' => 'content'
),
'mediaWidth' => array (
'type' => 'number' ,
'default' => 50
),
'mediaSizeSlug' => array (
'type' => 'string'
),
'isStackedOnMobile' => array (
'type' => 'boolean' ,
'default' => true
),
'verticalAlignment' => array (
'type' => 'string'
),
'imageFill' => array (
'type' => 'boolean'
),
'focalPoint' => array (
'type' => 'object'
),
'allowedBlocks' => array (
'type' => 'array'
2024-05-23 15:39:28 -04:00
),
'useFeaturedImage' => array (
'type' => 'boolean' ,
'default' => false
2023-06-27 10:24:19 -04:00
)
),
2024-05-23 15:39:28 -04:00
'usesContext' => array (
'postId' ,
'postType'
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'anchor' => true ,
'align' => array (
'wide' ,
'full'
),
'html' => false ,
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
)
),
2023-06-27 10:24:19 -04:00
'color' => array (
'gradients' => true ,
2023-09-26 10:23:26 -04:00
'heading' => true ,
2023-06-27 10:24:19 -04:00
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-media-text-editor' ,
'style' => 'wp-block-media-text'
),
'missing' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/missing' ,
'title' => 'Unsupported' ,
'category' => 'text' ,
'description' => 'Your site doesn’ t include support for this block.' ,
'textdomain' => 'default' ,
'attributes' => array (
'originalName' => array (
'type' => 'string'
),
'originalUndelimitedContent' => array (
'type' => 'string'
),
'originalContent' => array (
'type' => 'string' ,
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'source' => 'raw'
2023-06-27 10:24:19 -04:00
)
),
'supports' => array (
'className' => false ,
'customClassName' => false ,
'inserter' => false ,
'html' => false ,
2024-02-09 13:22:22 -05:00
'reusable' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
)
),
'more' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/more' ,
'title' => 'More' ,
'category' => 'design' ,
'description' => 'Content before this block will be shown in the excerpt on your archives page.' ,
'keywords' => array (
'read more'
),
'textdomain' => 'default' ,
'attributes' => array (
'customText' => array (
2024-05-31 14:59:00 -04:00
'type' => 'string' ,
'default' => ''
2023-06-27 10:24:19 -04:00
),
'noTeaser' => array (
'type' => 'boolean' ,
'default' => false
)
),
'supports' => array (
'customClassName' => false ,
'className' => false ,
'html' => false ,
2024-02-09 13:22:22 -05:00
'multiple' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-more-editor'
),
'navigation' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/navigation' ,
'title' => 'Navigation' ,
'category' => 'theme' ,
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/navigation-link' ,
'core/search' ,
'core/social-links' ,
'core/page-list' ,
'core/spacer' ,
'core/home-link' ,
'core/site-title' ,
'core/site-logo' ,
'core/navigation-submenu' ,
'core/loginout' ,
'core/buttons'
),
2023-06-27 10:24:19 -04:00
'description' => 'A collection of blocks that allow visitors to get around your site.' ,
'keywords' => array (
'menu' ,
'navigation' ,
'links'
),
'textdomain' => 'default' ,
'attributes' => array (
'ref' => array (
'type' => 'number'
),
'textColor' => array (
'type' => 'string'
),
'customTextColor' => array (
'type' => 'string'
),
'rgbTextColor' => array (
'type' => 'string'
),
'backgroundColor' => array (
'type' => 'string'
),
'customBackgroundColor' => array (
'type' => 'string'
),
'rgbBackgroundColor' => array (
'type' => 'string'
),
'showSubmenuIcon' => array (
'type' => 'boolean' ,
'default' => true
),
'openSubmenusOnClick' => array (
'type' => 'boolean' ,
'default' => false
),
'overlayMenu' => array (
'type' => 'string' ,
'default' => 'mobile'
),
'icon' => array (
'type' => 'string' ,
'default' => 'handle'
),
'hasIcon' => array (
'type' => 'boolean' ,
'default' => true
),
'__unstableLocation' => array (
'type' => 'string'
),
'overlayBackgroundColor' => array (
'type' => 'string'
),
'customOverlayBackgroundColor' => array (
'type' => 'string'
),
'overlayTextColor' => array (
'type' => 'string'
),
'customOverlayTextColor' => array (
'type' => 'string'
),
'maxNestingLevel' => array (
'type' => 'number' ,
'default' => 5
),
'templateLock' => array (
'type' => array (
'string' ,
'boolean'
),
'enum' => array (
'all' ,
'insert' ,
'contentOnly' ,
false
)
)
),
'providesContext' => array (
'textColor' => 'textColor' ,
'customTextColor' => 'customTextColor' ,
'backgroundColor' => 'backgroundColor' ,
'customBackgroundColor' => 'customBackgroundColor' ,
'overlayTextColor' => 'overlayTextColor' ,
'customOverlayTextColor' => 'customOverlayTextColor' ,
'overlayBackgroundColor' => 'overlayBackgroundColor' ,
'customOverlayBackgroundColor' => 'customOverlayBackgroundColor' ,
'fontSize' => 'fontSize' ,
'customFontSize' => 'customFontSize' ,
'showSubmenuIcon' => 'showSubmenuIcon' ,
'openSubmenusOnClick' => 'openSubmenusOnClick' ,
'style' => 'style' ,
'maxNestingLevel' => 'maxNestingLevel'
),
'supports' => array (
'align' => array (
'wide' ,
'full'
),
2023-09-26 10:23:26 -04:00
'ariaLabel' => true ,
2023-06-27 10:24:19 -04:00
'html' => false ,
'inserter' => true ,
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalFontWeight' => true ,
'__experimentalTextTransform' => true ,
'__experimentalFontFamily' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalSkipSerialization' => array (
'textDecoration'
),
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
'spacing' => array (
'blockGap' => true ,
'units' => array (
'px' ,
'em' ,
'rem' ,
'vh' ,
'vw'
),
'__experimentalDefaultControls' => array (
'blockGap' => true
)
),
'layout' => array (
'allowSwitching' => false ,
'allowInheriting' => false ,
'allowVerticalAlignment' => false ,
'allowSizingOnChildren' => true ,
'default' => array (
'type' => 'flex'
)
),
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'interactivity' => true ,
'renaming' => false
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-navigation-editor' ,
'style' => 'wp-block-navigation'
),
'navigation-link' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/navigation-link' ,
'title' => 'Custom Link' ,
'category' => 'design' ,
'parent' => array (
'core/navigation'
),
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/navigation-link' ,
'core/navigation-submenu' ,
'core/page-list'
),
2023-06-27 10:24:19 -04:00
'description' => 'Add a page, link, or another item to your navigation.' ,
'textdomain' => 'default' ,
'attributes' => array (
'label' => array (
'type' => 'string'
),
'type' => array (
'type' => 'string'
),
'description' => array (
'type' => 'string'
),
'rel' => array (
'type' => 'string'
),
'id' => array (
'type' => 'number'
),
'opensInNewTab' => array (
'type' => 'boolean' ,
'default' => false
),
'url' => array (
'type' => 'string'
),
'title' => array (
'type' => 'string'
),
'kind' => array (
'type' => 'string'
),
'isTopLevelLink' => array (
'type' => 'boolean'
)
),
'usesContext' => array (
'textColor' ,
'customTextColor' ,
'backgroundColor' ,
'customBackgroundColor' ,
'overlayTextColor' ,
'customOverlayTextColor' ,
'overlayBackgroundColor' ,
'customOverlayBackgroundColor' ,
'fontSize' ,
'customFontSize' ,
'showSubmenuIcon' ,
'maxNestingLevel' ,
'style'
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'__experimentalSlashInserter' => true ,
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
),
2024-02-09 13:22:22 -05:00
'renaming' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-navigation-link-editor' ,
'style' => 'wp-block-navigation-link'
),
'navigation-submenu' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/navigation-submenu' ,
'title' => 'Submenu' ,
'category' => 'design' ,
'parent' => array (
'core/navigation'
),
'description' => 'Add a submenu to your navigation.' ,
'textdomain' => 'default' ,
'attributes' => array (
'label' => array (
'type' => 'string'
),
'type' => array (
'type' => 'string'
),
'description' => array (
'type' => 'string'
),
'rel' => array (
'type' => 'string'
),
'id' => array (
'type' => 'number'
),
'opensInNewTab' => array (
'type' => 'boolean' ,
'default' => false
),
'url' => array (
'type' => 'string'
),
'title' => array (
'type' => 'string'
),
'kind' => array (
'type' => 'string'
),
'isTopLevelItem' => array (
'type' => 'boolean'
)
),
'usesContext' => array (
'textColor' ,
'customTextColor' ,
'backgroundColor' ,
'customBackgroundColor' ,
'overlayTextColor' ,
'customOverlayTextColor' ,
'overlayBackgroundColor' ,
'customOverlayBackgroundColor' ,
'fontSize' ,
'customFontSize' ,
'showSubmenuIcon' ,
'maxNestingLevel' ,
'openSubmenusOnClick' ,
'style'
),
'supports' => array (
'reusable' => false ,
2024-02-09 13:22:22 -05:00
'html' => false ,
2024-09-19 21:55:35 -04:00
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
2024-02-09 13:22:22 -05:00
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-navigation-submenu-editor' ,
'style' => 'wp-block-navigation-submenu'
),
'nextpage' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/nextpage' ,
'title' => 'Page Break' ,
'category' => 'design' ,
'description' => 'Separate your content into a multi-page experience.' ,
'keywords' => array (
'next page' ,
'pagination'
),
'parent' => array (
'core/post-content'
),
'textdomain' => 'default' ,
'supports' => array (
'customClassName' => false ,
'className' => false ,
2024-02-09 13:22:22 -05:00
'html' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-nextpage-editor'
),
'page-list' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/page-list' ,
'title' => 'Page List' ,
'category' => 'widgets' ,
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/page-list-item'
),
2023-06-27 10:24:19 -04:00
'description' => 'Display a list of all pages.' ,
'keywords' => array (
'menu' ,
'navigation'
),
'textdomain' => 'default' ,
'attributes' => array (
'parentPageID' => array (
'type' => 'integer' ,
'default' => 0
),
'isNested' => array (
'type' => 'boolean' ,
'default' => false
)
),
'usesContext' => array (
'textColor' ,
'customTextColor' ,
'backgroundColor' ,
'customBackgroundColor' ,
'overlayTextColor' ,
'customOverlayTextColor' ,
'overlayBackgroundColor' ,
'customOverlayBackgroundColor' ,
'fontSize' ,
'customFontSize' ,
'showSubmenuIcon' ,
'style' ,
'openSubmenusOnClick'
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-page-list-editor' ,
'style' => 'wp-block-page-list'
),
'page-list-item' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/page-list-item' ,
'title' => 'Page List Item' ,
'category' => 'widgets' ,
'parent' => array (
'core/page-list'
),
'description' => 'Displays a page inside a list of all pages.' ,
'keywords' => array (
'page' ,
'menu' ,
'navigation'
),
'textdomain' => 'default' ,
'attributes' => array (
'id' => array (
'type' => 'number'
),
'label' => array (
'type' => 'string'
),
'title' => array (
'type' => 'string'
),
'link' => array (
'type' => 'string'
),
'hasChildren' => array (
'type' => 'boolean'
)
),
'usesContext' => array (
'textColor' ,
'customTextColor' ,
'backgroundColor' ,
'customBackgroundColor' ,
'overlayTextColor' ,
'customOverlayTextColor' ,
'overlayBackgroundColor' ,
'customOverlayBackgroundColor' ,
'fontSize' ,
'customFontSize' ,
'showSubmenuIcon' ,
'style' ,
'openSubmenusOnClick'
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'lock' => false ,
'inserter' => false ,
2024-02-09 13:22:22 -05:00
'__experimentalToolbar' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-page-list-editor' ,
'style' => 'wp-block-page-list'
),
'paragraph' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/paragraph' ,
'title' => 'Paragraph' ,
'category' => 'text' ,
'description' => 'Start with the basic building block of all narrative.' ,
'keywords' => array (
'text'
),
'textdomain' => 'default' ,
'attributes' => array (
'align' => array (
'type' => 'string'
),
'content' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'p' ,
'__experimentalRole' => 'content'
),
'dropCap' => array (
'type' => 'boolean' ,
'default' => false
),
'placeholder' => array (
'type' => 'string'
),
'direction' => array (
'type' => 'string' ,
'enum' => array (
'ltr' ,
'rtl'
)
)
),
'supports' => array (
2024-05-23 15:39:28 -04:00
'splitting' => true ,
2023-06-27 10:24:19 -04:00
'anchor' => true ,
'className' => false ,
2024-09-19 21:55:35 -04:00
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
),
'color' => array (
'gradients' => true ,
'link' => true ,
2023-06-27 10:24:19 -04:00
'__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 ,
'__experimentalTextDecoration' => true ,
'__experimentalFontStyle' => true ,
'__experimentalFontWeight' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalTextTransform' => true ,
2023-09-26 10:23:26 -04:00
'__experimentalWritingMode' => true ,
2023-06-27 10:24:19 -04:00
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
'__experimentalSelector' => 'p' ,
2024-02-09 13:22:22 -05:00
'__unstablePasteTextInline' => true ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-paragraph-editor' ,
'style' => 'wp-block-paragraph'
),
'pattern' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/pattern' ,
'title' => 'Pattern placeholder' ,
'category' => 'theme' ,
'description' => 'Show a block pattern.' ,
'supports' => array (
'html' => false ,
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'inserter' => false ,
2024-02-09 13:22:22 -05:00
'renaming' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'textdomain' => 'default' ,
'attributes' => array (
'slug' => array (
'type' => 'string'
)
)
),
'post-author' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-author' ,
2023-09-26 10:23:26 -04:00
'title' => 'Author' ,
2023-06-27 10:24:19 -04:00
'category' => 'theme' ,
'description' => 'Display post author details such as name, avatar, and bio.' ,
'textdomain' => 'default' ,
'attributes' => array (
'textAlign' => array (
'type' => 'string'
),
'avatarSize' => array (
'type' => 'number' ,
'default' => 48
),
'showAvatar' => array (
'type' => 'boolean' ,
'default' => true
),
'showBio' => array (
'type' => 'boolean'
),
'byline' => array (
'type' => 'string'
),
'isLink' => array (
'type' => 'boolean' ,
'default' => false
),
'linkTarget' => array (
'type' => 'string' ,
'default' => '_self'
)
),
'usesContext' => array (
'postType' ,
'postId' ,
'queryId'
),
'supports' => array (
'html' => false ,
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDuotone' => '.wp-block-post-author__avatar img' ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
2024-09-19 21:55:35 -04:00
'editorStyle' => 'wp-block-post-author-editor' ,
2023-06-27 10:24:19 -04:00
'style' => 'wp-block-post-author'
),
'post-author-biography' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-author-biography' ,
2023-09-26 10:23:26 -04:00
'title' => 'Author Biography' ,
2023-06-27 10:24:19 -04:00
'category' => 'theme' ,
'description' => 'The author biography.' ,
'textdomain' => 'default' ,
'attributes' => array (
'textAlign' => array (
'type' => 'string'
)
),
'usesContext' => array (
'postType' ,
'postId'
),
2024-09-19 21:55:35 -04:00
'example' => array (
'viewportWidth' => 350
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'spacing' => array (
'margin' => true ,
'padding' => true
),
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
2024-09-19 21:55:35 -04:00
),
'style' => 'wp-block-post-author-biography'
2023-06-27 10:24:19 -04:00
),
'post-author-name' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-author-name' ,
2023-09-26 10:23:26 -04:00
'title' => 'Author Name' ,
2023-06-27 10:24:19 -04:00
'category' => 'theme' ,
'description' => 'The author name.' ,
'textdomain' => 'default' ,
'attributes' => array (
'textAlign' => array (
'type' => 'string'
),
'isLink' => array (
'type' => 'boolean' ,
'default' => false
),
'linkTarget' => array (
'type' => 'string' ,
'default' => '_self'
)
),
'usesContext' => array (
'postType' ,
'postId'
),
2024-09-19 21:55:35 -04:00
'example' => array (
'viewportWidth' => 350
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'html' => false ,
'spacing' => array (
'margin' => true ,
'padding' => true
),
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
2024-09-19 21:55:35 -04:00
),
'style' => 'wp-block-post-author-name'
2023-06-27 10:24:19 -04:00
),
'post-comments-form' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-comments-form' ,
2023-09-26 10:23:26 -04:00
'title' => 'Comments Form' ,
2023-06-27 10:24:19 -04:00
'category' => 'theme' ,
'description' => 'Display a post\'s comments form.' ,
'textdomain' => 'default' ,
'attributes' => array (
'textAlign' => array (
'type' => 'string'
)
),
'usesContext' => array (
'postId' ,
'postType'
),
'supports' => array (
'html' => false ,
'color' => array (
'gradients' => true ,
2023-09-26 10:23:26 -04:00
'heading' => true ,
2023-06-27 10:24:19 -04:00
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalFontWeight' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalTextTransform' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-post-comments-form-editor' ,
'style' => array (
'wp-block-post-comments-form' ,
'wp-block-buttons' ,
'wp-block-button'
)
),
'post-content' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-content' ,
2023-09-26 10:23:26 -04:00
'title' => 'Content' ,
2023-06-27 10:24:19 -04:00
'category' => 'theme' ,
'description' => 'Displays the contents of a post or page.' ,
'textdomain' => 'default' ,
'usesContext' => array (
'postId' ,
'postType' ,
'queryId'
),
2024-09-19 21:55:35 -04:00
'example' => array (
'viewportWidth' => 350
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'align' => array (
'wide' ,
'full'
),
'html' => false ,
'layout' => true ,
2024-09-19 21:55:35 -04:00
'background' => array (
'backgroundImage' => true ,
'backgroundSize' => true ,
'__experimentalDefaultControls' => array (
'backgroundImage' => true
)
),
2023-06-27 10:24:19 -04:00
'dimensions' => array (
'minHeight' => true
),
2023-09-26 10:23:26 -04:00
'spacing' => array (
2024-09-19 21:55:35 -04:00
'blockGap' => true ,
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-09-26 10:23:26 -04:00
),
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => false ,
'text' => false
)
),
2023-06-27 10:24:19 -04:00
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
)
),
2024-09-19 21:55:35 -04:00
'style' => 'wp-block-post-content' ,
2023-06-27 10:24:19 -04:00
'editorStyle' => 'wp-block-post-content-editor'
),
'post-date' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-date' ,
2023-09-26 10:23:26 -04:00
'title' => 'Date' ,
2023-06-27 10:24:19 -04:00
'category' => 'theme' ,
2023-09-26 10:23:26 -04:00
'description' => 'Display the publish date for an entry such as a post or page.' ,
2023-06-27 10:24:19 -04:00
'textdomain' => 'default' ,
'attributes' => array (
'textAlign' => array (
'type' => 'string'
),
'format' => array (
'type' => 'string'
),
'isLink' => array (
'type' => 'boolean' ,
'default' => false
),
'displayType' => array (
'type' => 'string' ,
'default' => 'date'
)
),
'usesContext' => array (
'postId' ,
'postType' ,
'queryId'
),
2024-09-19 21:55:35 -04:00
'example' => array (
'viewportWidth' => 350
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
)
),
'post-excerpt' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-excerpt' ,
'title' => 'Excerpt' ,
'category' => 'theme' ,
'description' => 'Display the excerpt.' ,
'textdomain' => 'default' ,
'attributes' => array (
'textAlign' => array (
'type' => 'string'
),
'moreText' => array (
'type' => 'string'
),
'showMoreOnNewLine' => array (
'type' => 'boolean' ,
'default' => true
),
'excerptLength' => array (
'type' => 'number' ,
'default' => 55
)
),
'usesContext' => array (
'postId' ,
'postType' ,
'queryId'
),
2024-09-19 21:55:35 -04:00
'example' => array (
'viewportWidth' => 350
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-post-excerpt-editor' ,
'style' => 'wp-block-post-excerpt'
),
'post-featured-image' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-featured-image' ,
2023-09-26 10:23:26 -04:00
'title' => 'Featured Image' ,
2023-06-27 10:24:19 -04:00
'category' => 'theme' ,
'description' => 'Display a post\'s featured image.' ,
'textdomain' => 'default' ,
'attributes' => array (
'isLink' => array (
'type' => 'boolean' ,
'default' => false
),
'aspectRatio' => array (
'type' => 'string'
),
'width' => array (
'type' => 'string'
),
'height' => array (
'type' => 'string'
),
'scale' => array (
'type' => 'string' ,
'default' => 'cover'
),
'sizeSlug' => array (
'type' => 'string'
),
'rel' => array (
'type' => 'string' ,
'attribute' => 'rel' ,
'default' => ''
),
'linkTarget' => array (
'type' => 'string' ,
'default' => '_self'
),
'overlayColor' => array (
'type' => 'string'
),
'customOverlayColor' => array (
'type' => 'string'
),
'dimRatio' => array (
'type' => 'number' ,
'default' => 0
),
'gradient' => array (
'type' => 'string'
),
'customGradient' => array (
'type' => 'string'
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
),
'useFirstImageFromPost' => array (
'type' => 'boolean' ,
'default' => false
2023-06-27 10:24:19 -04:00
)
),
'usesContext' => array (
'postId' ,
'postType' ,
'queryId'
),
2024-09-19 21:55:35 -04:00
'example' => array (
'viewportWidth' => 350
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'align' => array (
'left' ,
'right' ,
'center' ,
'wide' ,
'full'
),
'color' => array (
'text' => false ,
'background' => false
),
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'width' => true ,
'__experimentalSkipSerialization' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'width' => true
)
),
2024-05-23 15:39:28 -04:00
'filter' => array (
'duotone' => true
),
'shadow' => array (
'__experimentalSkipSerialization' => true
),
2023-06-27 10:24:19 -04:00
'html' => false ,
'spacing' => array (
'margin' => true ,
'padding' => true
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
2024-05-23 15:39:28 -04:00
'selectors' => array (
'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' ,
'shadow' => '.wp-block-post-featured-image img, .wp-block-post-featured-image .components-placeholder' ,
'filter' => array (
'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'
)
),
2023-06-27 10:24:19 -04:00
'editorStyle' => 'wp-block-post-featured-image-editor' ,
'style' => 'wp-block-post-featured-image'
),
'post-navigation-link' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-navigation-link' ,
'title' => 'Post Navigation Link' ,
'category' => 'theme' ,
'description' => 'Displays the next or previous post link that is adjacent to the current post.' ,
'textdomain' => 'default' ,
'attributes' => array (
'textAlign' => array (
'type' => 'string'
),
'type' => array (
'type' => 'string' ,
'default' => 'next'
),
'label' => array (
'type' => 'string'
),
'showTitle' => array (
'type' => 'boolean' ,
'default' => false
),
'linkLabel' => array (
'type' => 'boolean' ,
'default' => false
),
'arrow' => array (
'type' => 'string' ,
'default' => 'none'
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
),
'taxonomy' => array (
'type' => 'string' ,
'default' => ''
2023-06-27 10:24:19 -04:00
)
),
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'usesContext' => array (
'postType'
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'reusable' => false ,
'html' => false ,
'color' => array (
'link' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
2023-09-26 10:23:26 -04:00
'__experimentalWritingMode' => true ,
2023-06-27 10:24:19 -04:00
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'style' => 'wp-block-post-navigation-link'
),
'post-template' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-template' ,
'title' => 'Post Template' ,
'category' => 'theme' ,
'parent' => array (
'core/query'
),
'description' => 'Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.' ,
'textdomain' => 'default' ,
'usesContext' => array (
'queryId' ,
'query' ,
'displayLayout' ,
'templateSlug' ,
2023-09-26 10:23:26 -04:00
'previewPostType' ,
'enhancedPagination'
2023-06-27 10:24:19 -04:00
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'align' => array (
'wide' ,
'full'
),
'layout' => true ,
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
'spacing' => array (
'blockGap' => array (
'__experimentalDefault' => '1.25em'
),
'__experimentalDefaultControls' => array (
'blockGap' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'style' => 'wp-block-post-template' ,
'editorStyle' => 'wp-block-post-template-editor'
),
'post-terms' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-terms' ,
'title' => 'Post Terms' ,
'category' => 'theme' ,
'description' => 'Post terms.' ,
'textdomain' => 'default' ,
'attributes' => array (
'term' => array (
'type' => 'string'
),
'textAlign' => array (
'type' => 'string'
),
'separator' => array (
'type' => 'string' ,
'default' => ', '
),
'prefix' => array (
'type' => 'string' ,
'default' => ''
),
'suffix' => array (
'type' => 'string' ,
'default' => ''
)
),
'usesContext' => array (
'postId' ,
'postType'
),
2024-09-19 21:55:35 -04:00
'example' => array (
'viewportWidth' => 350
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
'style' => 'wp-block-post-terms'
),
'post-title' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/post-title' ,
'title' => 'Title' ,
'category' => 'theme' ,
'description' => 'Displays the title of a post, page, or any other content-type.' ,
'textdomain' => 'default' ,
'usesContext' => array (
'postId' ,
'postType' ,
'queryId'
),
'attributes' => array (
'textAlign' => array (
'type' => 'string'
),
'level' => array (
'type' => 'number' ,
'default' => 2
),
2024-09-19 21:55:35 -04:00
'levelOptions' => array (
'type' => 'array'
),
2023-06-27 10:24:19 -04:00
'isLink' => array (
'type' => 'boolean' ,
'default' => false
),
'rel' => array (
'type' => 'string' ,
'attribute' => 'rel' ,
'default' => ''
),
'linkTarget' => array (
'type' => 'string' ,
'default' => '_self'
)
),
2024-09-19 21:55:35 -04:00
'example' => array (
'viewportWidth' => 350
),
2023-06-27 10:24:19 -04:00
'supports' => array (
'align' => array (
'wide' ,
'full'
),
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'fontSize' => true
2023-06-27 10:24:19 -04:00
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
'style' => 'wp-block-post-title'
),
'preformatted' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/preformatted' ,
'title' => 'Preformatted' ,
'category' => 'text' ,
'description' => 'Add text that respects your spacing and tabs, and also allows styling.' ,
'textdomain' => 'default' ,
'attributes' => array (
'content' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'pre' ,
'__unstablePreserveWhiteSpace' => true ,
'__experimentalRole' => 'content'
)
),
'supports' => array (
'anchor' => true ,
'color' => array (
'gradients' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
2023-09-26 10:23:26 -04:00
'spacing' => array (
'padding' => true ,
'margin' => true
),
2023-06-27 10:24:19 -04:00
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
'style' => 'wp-block-preformatted'
),
'pullquote' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/pullquote' ,
'title' => 'Pullquote' ,
'category' => 'text' ,
'description' => 'Give special visual emphasis to a quote from your text.' ,
'textdomain' => 'default' ,
'attributes' => array (
'value' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'p' ,
'__experimentalRole' => 'content'
),
'citation' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'cite' ,
'__experimentalRole' => 'content'
),
'textAlign' => array (
'type' => 'string'
)
),
'supports' => array (
'anchor' => true ,
'align' => array (
'left' ,
'right' ,
'wide' ,
'full'
),
2024-09-19 21:55:35 -04:00
'background' => array (
'backgroundImage' => true ,
'backgroundSize' => true ,
'__experimentalDefaultControls' => array (
'backgroundImage' => true
)
),
2023-06-27 10:24:19 -04:00
'color' => array (
'gradients' => true ,
'background' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
2024-09-19 21:55:35 -04:00
'dimensions' => array (
'minHeight' => true ,
'__experimentalDefaultControls' => array (
'minHeight' => false
)
),
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'spacing' => array (
'margin' => true ,
'padding' => true
),
2023-06-27 10:24:19 -04:00
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'fontSize' => true
2023-06-27 10:24:19 -04:00
)
),
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
)
),
'__experimentalStyle' => array (
'typography' => array (
'fontSize' => '1.5em' ,
'lineHeight' => '1.6'
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-pullquote-editor' ,
'style' => 'wp-block-pullquote'
),
'query' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/query' ,
'title' => 'Query Loop' ,
'category' => 'theme' ,
'description' => 'An advanced block that allows displaying post types based on different query parameters and visual configurations.' ,
'textdomain' => 'default' ,
'attributes' => array (
'queryId' => array (
'type' => 'number'
),
'query' => array (
'type' => 'object' ,
'default' => array (
'perPage' => null ,
'pages' => 0 ,
'offset' => 0 ,
'postType' => 'post' ,
'order' => 'desc' ,
'orderBy' => 'date' ,
'author' => '' ,
'search' => '' ,
'exclude' => array (
),
'sticky' => '' ,
'inherit' => true ,
'taxQuery' => null ,
'parents' => array (
2024-09-19 21:55:35 -04:00
),
'format' => array (
2023-06-27 10:24:19 -04:00
)
)
),
'tagName' => array (
'type' => 'string' ,
'default' => 'div'
),
'namespace' => array (
'type' => 'string'
2023-09-26 10:23:26 -04:00
),
'enhancedPagination' => array (
'type' => 'boolean' ,
'default' => false
2023-06-27 10:24:19 -04:00
)
),
2024-09-19 21:55:35 -04:00
'usesContext' => array (
'postType'
),
2023-06-27 10:24:19 -04:00
'providesContext' => array (
'queryId' => 'queryId' ,
'query' => 'query' ,
2023-09-26 10:23:26 -04:00
'displayLayout' => 'displayLayout' ,
'enhancedPagination' => 'enhancedPagination'
2023-06-27 10:24:19 -04:00
),
'supports' => array (
'align' => array (
'wide' ,
'full'
),
'html' => false ,
2024-02-09 13:22:22 -05:00
'layout' => true ,
'interactivity' => true
2023-06-27 10:24:19 -04:00
),
2024-02-09 13:22:22 -05:00
'editorStyle' => 'wp-block-query-editor'
2023-06-27 10:24:19 -04:00
),
'query-no-results' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/query-no-results' ,
'title' => 'No results' ,
'category' => 'theme' ,
'description' => 'Contains the block elements used to render content when no query results are found.' ,
'parent' => array (
'core/query'
),
'textdomain' => 'default' ,
'usesContext' => array (
'queryId' ,
'query'
),
'supports' => array (
'align' => true ,
'reusable' => false ,
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
)
),
'query-pagination' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/query-pagination' ,
'title' => 'Pagination' ,
'category' => 'theme' ,
2024-02-09 13:22:22 -05:00
'ancestor' => array (
2023-06-27 10:24:19 -04:00
'core/query'
),
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/query-pagination-previous' ,
'core/query-pagination-numbers' ,
'core/query-pagination-next'
),
2023-06-27 10:24:19 -04:00
'description' => 'Displays a paginated navigation to next/previous set of posts, when applicable.' ,
'textdomain' => 'default' ,
'attributes' => array (
'paginationArrow' => array (
'type' => 'string' ,
'default' => 'none'
),
'showLabel' => array (
'type' => 'boolean' ,
'default' => true
)
),
'usesContext' => array (
'queryId' ,
'query'
),
'providesContext' => array (
'paginationArrow' => 'paginationArrow' ,
'showLabel' => 'showLabel'
),
'supports' => array (
'align' => true ,
'reusable' => false ,
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'layout' => array (
'allowSwitching' => false ,
'allowInheriting' => false ,
'default' => array (
'type' => 'flex'
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-query-pagination-editor' ,
'style' => 'wp-block-query-pagination'
),
'query-pagination-next' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/query-pagination-next' ,
'title' => 'Next Page' ,
'category' => 'theme' ,
'parent' => array (
'core/query-pagination'
),
'description' => 'Displays the next posts page link.' ,
'textdomain' => 'default' ,
'attributes' => array (
'label' => array (
'type' => 'string'
)
),
'usesContext' => array (
'queryId' ,
'query' ,
'paginationArrow' ,
2023-09-26 10:23:26 -04:00
'showLabel' ,
'enhancedPagination'
2023-06-27 10:24:19 -04:00
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'color' => array (
'gradients' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
)
),
'query-pagination-numbers' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/query-pagination-numbers' ,
'title' => 'Page Numbers' ,
'category' => 'theme' ,
'parent' => array (
'core/query-pagination'
),
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'description' => 'Displays a list of page numbers for pagination.' ,
2023-06-27 10:24:19 -04:00
'textdomain' => 'default' ,
2023-09-26 10:23:26 -04:00
'attributes' => array (
'midSize' => array (
'type' => 'number' ,
'default' => 2
)
),
2023-06-27 10:24:19 -04:00
'usesContext' => array (
'queryId' ,
2023-09-26 10:23:26 -04:00
'query' ,
'enhancedPagination'
2023-06-27 10:24:19 -04:00
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'color' => array (
'gradients' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-query-pagination-numbers-editor'
),
'query-pagination-previous' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/query-pagination-previous' ,
'title' => 'Previous Page' ,
'category' => 'theme' ,
'parent' => array (
'core/query-pagination'
),
'description' => 'Displays the previous posts page link.' ,
'textdomain' => 'default' ,
'attributes' => array (
'label' => array (
'type' => 'string'
)
),
'usesContext' => array (
'queryId' ,
'query' ,
'paginationArrow' ,
2023-09-26 10:23:26 -04:00
'showLabel' ,
'enhancedPagination'
2023-06-27 10:24:19 -04:00
),
'supports' => array (
'reusable' => false ,
'html' => false ,
'color' => array (
'gradients' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true
)
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
)
),
'query-title' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/query-title' ,
'title' => 'Query Title' ,
'category' => 'theme' ,
'description' => 'Display the query title.' ,
'textdomain' => 'default' ,
'attributes' => array (
'type' => array (
'type' => 'string'
),
'textAlign' => array (
'type' => 'string'
),
'level' => array (
'type' => 'number' ,
'default' => 1
),
2024-09-19 21:55:35 -04:00
'levelOptions' => array (
'type' => 'array'
),
2023-06-27 10:24:19 -04:00
'showPrefix' => array (
'type' => 'boolean' ,
'default' => true
),
'showSearchTerm' => array (
'type' => 'boolean' ,
'default' => true
)
),
'supports' => array (
'align' => array (
'wide' ,
'full'
),
'html' => false ,
'color' => array (
'gradients' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'spacing' => array (
'margin' => true ,
'padding' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontStyle' => true ,
'__experimentalFontWeight' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalDefaultControls' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'fontSize' => true
2023-06-27 10:24:19 -04:00
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
'style' => 'wp-block-query-title'
),
'quote' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/quote' ,
'title' => 'Quote' ,
'category' => 'text' ,
'description' => 'Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar' ,
'keywords' => array (
'blockquote' ,
'cite'
),
'textdomain' => 'default' ,
'attributes' => array (
'value' => array (
'type' => 'string' ,
'source' => 'html' ,
'selector' => 'blockquote' ,
'multiline' => 'p' ,
'default' => '' ,
'__experimentalRole' => 'content'
),
'citation' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'cite' ,
'__experimentalRole' => 'content'
),
2024-05-23 15:39:28 -04:00
'textAlign' => array (
2023-06-27 10:24:19 -04:00
'type' => 'string'
)
),
'supports' => array (
'anchor' => true ,
2024-09-19 21:55:35 -04:00
'align' => array (
'left' ,
'right' ,
'wide' ,
'full'
),
2023-06-27 10:24:19 -04:00
'html' => false ,
2024-09-19 21:55:35 -04:00
'background' => array (
'backgroundImage' => true ,
'backgroundSize' => true ,
'__experimentalDefaultControls' => array (
'backgroundImage' => true
)
),
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'style' => true ,
'width' => true
)
),
'dimensions' => array (
'minHeight' => true ,
'__experimentalDefaultControls' => array (
'minHeight' => false
)
),
2023-06-27 10:24:19 -04:00
'__experimentalOnEnter' => true ,
2023-09-26 10:23:26 -04:00
'__experimentalOnMerge' => true ,
2023-06-27 10:24:19 -04:00
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'fontSize' => true
2023-06-27 10:24:19 -04:00
)
),
'color' => array (
'gradients' => true ,
2023-09-26 10:23:26 -04:00
'heading' => true ,
2023-06-27 10:24:19 -04:00
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
),
'layout' => array (
'allowEditing' => false
),
'spacing' => array (
2024-09-19 21:55:35 -04:00
'blockGap' => true ,
'padding' => true ,
'margin' => true
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'styles' => array (
array (
'name' => 'default' ,
'label' => 'Default' ,
'isDefault' => true
),
array (
'name' => 'plain' ,
'label' => 'Plain'
)
),
'editorStyle' => 'wp-block-quote-editor' ,
'style' => 'wp-block-quote'
),
'read-more' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/read-more' ,
'title' => 'Read More' ,
'category' => 'theme' ,
'description' => 'Displays the link of a post, page, or any other content-type.' ,
'textdomain' => 'default' ,
'attributes' => array (
'content' => array (
'type' => 'string'
),
'linkTarget' => array (
'type' => 'string' ,
'default' => '_self'
)
),
'usesContext' => array (
'postId'
),
'supports' => array (
'html' => false ,
'color' => array (
'gradients' => true ,
'text' => true
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true ,
'textDecoration' => true
)
),
'spacing' => array (
'margin' => array (
'top' ,
'bottom'
),
'padding' => true ,
'__experimentalDefaultControls' => array (
'padding' => true
)
),
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'width' => true ,
'__experimentalDefaultControls' => array (
'width' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'style' => 'wp-block-read-more'
),
'rss' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/rss' ,
'title' => 'RSS' ,
'category' => 'widgets' ,
'description' => 'Display entries from any RSS or Atom feed.' ,
'keywords' => array (
'atom' ,
'feed'
),
'textdomain' => 'default' ,
'attributes' => array (
'columns' => array (
'type' => 'number' ,
'default' => 2
),
'blockLayout' => array (
'type' => 'string' ,
'default' => 'list'
),
'feedURL' => array (
'type' => 'string' ,
'default' => ''
),
'itemsToShow' => array (
'type' => 'number' ,
'default' => 5
),
'displayExcerpt' => array (
'type' => 'boolean' ,
'default' => false
),
'displayAuthor' => array (
'type' => 'boolean' ,
'default' => false
),
'displayDate' => array (
'type' => 'boolean' ,
'default' => false
),
'excerptLength' => array (
'type' => 'number' ,
'default' => 55
)
),
'supports' => array (
'align' => true ,
2024-02-09 13:22:22 -05:00
'html' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-rss-editor' ,
'style' => 'wp-block-rss'
),
'search' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/search' ,
'title' => 'Search' ,
'category' => 'widgets' ,
'description' => 'Help visitors find your content.' ,
'keywords' => array (
'find'
),
'textdomain' => 'default' ,
'attributes' => array (
'label' => array (
'type' => 'string' ,
'__experimentalRole' => 'content'
),
'showLabel' => array (
'type' => 'boolean' ,
'default' => true
),
'placeholder' => array (
'type' => 'string' ,
'default' => '' ,
'__experimentalRole' => 'content'
),
'width' => array (
'type' => 'number'
),
'widthUnit' => array (
'type' => 'string'
),
'buttonText' => array (
'type' => 'string' ,
'__experimentalRole' => 'content'
),
'buttonPosition' => array (
'type' => 'string' ,
'default' => 'button-outside'
),
'buttonUseIcon' => array (
'type' => 'boolean' ,
'default' => false
),
'query' => array (
'type' => 'object' ,
'default' => array (
)
),
'isSearchFieldHidden' => array (
'type' => 'boolean' ,
'default' => false
)
),
'supports' => array (
'align' => array (
'left' ,
'center' ,
'right'
),
'color' => array (
'gradients' => true ,
'__experimentalSkipSerialization' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
2023-09-26 10:23:26 -04:00
'interactivity' => true ,
2023-06-27 10:24:19 -04:00
'typography' => array (
'__experimentalSkipSerialization' => true ,
'__experimentalSelector' => '.wp-block-search__label, .wp-block-search__input, .wp-block-search__button' ,
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalFontWeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalDefaultControls' => array (
'fontSize' => true
)
),
'__experimentalBorder' => array (
'color' => true ,
'radius' => true ,
'width' => true ,
'__experimentalSkipSerialization' => true ,
'__experimentalDefaultControls' => array (
'color' => true ,
'radius' => true ,
'width' => true
)
),
2024-09-19 21:55:35 -04:00
'spacing' => array (
'margin' => true
),
2023-06-27 10:24:19 -04:00
'html' => false
),
'editorStyle' => 'wp-block-search-editor' ,
'style' => 'wp-block-search'
),
'separator' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/separator' ,
'title' => 'Separator' ,
'category' => 'design' ,
'description' => 'Create a break between ideas or sections with a horizontal separator.' ,
'keywords' => array (
'horizontal-line' ,
'hr' ,
'divider'
),
'textdomain' => 'default' ,
'attributes' => array (
'opacity' => array (
'type' => 'string' ,
'default' => 'alpha-channel'
)
),
'supports' => array (
'anchor' => true ,
'align' => array (
'center' ,
'wide' ,
'full'
),
'color' => array (
'enableContrastChecker' => false ,
'__experimentalSkipSerialization' => true ,
'gradients' => true ,
'background' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => true
)
),
'spacing' => array (
'margin' => array (
'top' ,
'bottom'
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'styles' => array (
array (
'name' => 'default' ,
'label' => 'Default' ,
'isDefault' => true
),
array (
'name' => 'wide' ,
'label' => 'Wide Line'
),
array (
'name' => 'dots' ,
'label' => 'Dots'
)
),
'editorStyle' => 'wp-block-separator-editor' ,
'style' => 'wp-block-separator'
),
'shortcode' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/shortcode' ,
'title' => 'Shortcode' ,
'category' => 'widgets' ,
'description' => 'Insert additional custom elements with a WordPress shortcode.' ,
'textdomain' => 'default' ,
'attributes' => array (
'text' => array (
'type' => 'string' ,
'source' => 'raw'
)
),
'supports' => array (
'className' => false ,
'customClassName' => false ,
'html' => false
),
'editorStyle' => 'wp-block-shortcode-editor'
),
'site-logo' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/site-logo' ,
'title' => 'Site Logo' ,
'category' => 'theme' ,
'description' => 'Display an image to represent this site. Update this block and the changes apply everywhere.' ,
'textdomain' => 'default' ,
'attributes' => array (
'width' => array (
'type' => 'number'
),
'isLink' => array (
'type' => 'boolean' ,
'default' => true
),
'linkTarget' => array (
'type' => 'string' ,
'default' => '_self'
),
'shouldSyncIcon' => array (
'type' => 'boolean'
)
),
'example' => array (
'viewportWidth' => 500 ,
'attributes' => array (
'width' => 350 ,
'className' => 'block-editor-block-types-list__site-logo-example'
)
),
'supports' => array (
'html' => false ,
'align' => true ,
'alignWide' => false ,
'color' => array (
'__experimentalDuotone' => 'img, .components-placeholder__illustration, .components-placeholder::before' ,
'text' => false ,
'background' => false
),
'spacing' => array (
'margin' => true ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'styles' => array (
array (
'name' => 'default' ,
'label' => 'Default' ,
'isDefault' => true
),
array (
'name' => 'rounded' ,
'label' => 'Rounded'
)
),
'editorStyle' => 'wp-block-site-logo-editor' ,
'style' => 'wp-block-site-logo'
),
'site-tagline' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/site-tagline' ,
'title' => 'Site Tagline' ,
'category' => 'theme' ,
'description' => 'Describe in a few words what the site is about. The tagline can be used in search results or when sharing on social networks even if it’ s not displayed in the theme design.' ,
'keywords' => array (
'description'
),
'textdomain' => 'default' ,
'attributes' => array (
'textAlign' => array (
'type' => 'string'
2024-05-23 15:39:28 -04:00
),
'level' => array (
'type' => 'number' ,
'default' => 0
2024-09-19 21:55:35 -04:00
),
'levelOptions' => array (
'type' => 'array' ,
'default' => array (
0 ,
1 ,
2 ,
3 ,
4 ,
5 ,
6
)
2023-06-27 10:24:19 -04:00
)
),
'example' => array (
2024-09-19 21:55:35 -04:00
'viewportWidth' => 350 ,
'attributes' => array (
'textAlign' => 'center'
)
2023-06-27 10:24:19 -04:00
),
'supports' => array (
'align' => array (
'wide' ,
'full'
),
'html' => false ,
'color' => array (
'gradients' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
'spacing' => array (
'margin' => true ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalFontStyle' => true ,
'__experimentalFontWeight' => true ,
'__experimentalLetterSpacing' => true ,
2024-09-19 21:55:35 -04:00
'__experimentalWritingMode' => true ,
2023-06-27 10:24:19 -04:00
'__experimentalDefaultControls' => array (
'fontSize' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
2023-06-27 10:24:19 -04:00
)
),
2024-09-19 21:55:35 -04:00
'editorStyle' => 'wp-block-site-tagline-editor' ,
'style' => 'wp-block-site-tagline'
2023-06-27 10:24:19 -04:00
),
'site-title' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/site-title' ,
'title' => 'Site Title' ,
'category' => 'theme' ,
'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.' ,
'textdomain' => 'default' ,
'attributes' => array (
'level' => array (
'type' => 'number' ,
'default' => 1
),
2024-09-19 21:55:35 -04:00
'levelOptions' => array (
'type' => 'array' ,
'default' => array (
0 ,
1 ,
2 ,
3 ,
4 ,
5 ,
6
)
),
2023-06-27 10:24:19 -04:00
'textAlign' => array (
'type' => 'string'
),
'isLink' => array (
'type' => 'boolean' ,
'default' => true
),
'linkTarget' => array (
'type' => 'string' ,
'default' => '_self'
)
),
'example' => array (
'viewportWidth' => 500
),
'supports' => array (
'align' => array (
'wide' ,
'full'
),
'html' => false ,
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true ,
'link' => true
)
),
'spacing' => array (
'padding' => true ,
2023-07-07 03:21:17 -04:00
'margin' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'typography' => array (
'fontSize' => true ,
'lineHeight' => true ,
'__experimentalFontFamily' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
'__experimentalFontStyle' => true ,
'__experimentalFontWeight' => true ,
'__experimentalLetterSpacing' => true ,
2024-09-19 21:55:35 -04:00
'__experimentalWritingMode' => true ,
2023-06-27 10:24:19 -04:00
'__experimentalDefaultControls' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'fontSize' => true
2023-06-27 10:24:19 -04:00
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-site-title-editor' ,
'style' => 'wp-block-site-title'
),
'social-link' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/social-link' ,
'title' => 'Social Icon' ,
'category' => 'widgets' ,
'parent' => array (
'core/social-links'
),
2024-05-23 15:39:28 -04:00
'description' => 'Display an icon linking to a social profile or site.' ,
2023-06-27 10:24:19 -04:00
'textdomain' => 'default' ,
'attributes' => array (
'url' => array (
'type' => 'string'
),
'service' => array (
'type' => 'string'
),
'label' => array (
'type' => 'string'
),
'rel' => array (
'type' => 'string'
)
),
'usesContext' => array (
'openInNewTab' ,
'showLabels' ,
'iconColor' ,
'iconColorValue' ,
'iconBackgroundColor' ,
'iconBackgroundColorValue'
),
'supports' => array (
'reusable' => false ,
2024-02-09 13:22:22 -05:00
'html' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'editorStyle' => 'wp-block-social-link-editor'
),
'social-links' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/social-links' ,
'title' => 'Social Icons' ,
'category' => 'widgets' ,
2024-02-09 13:22:22 -05:00
'allowedBlocks' => array (
'core/social-link'
),
2024-05-23 15:39:28 -04:00
'description' => 'Display icons linking to your social profiles or sites.' ,
2023-06-27 10:24:19 -04:00
'keywords' => array (
'links'
),
'textdomain' => 'default' ,
'attributes' => array (
'iconColor' => array (
'type' => 'string'
),
'customIconColor' => array (
'type' => 'string'
),
'iconColorValue' => array (
'type' => 'string'
),
'iconBackgroundColor' => array (
'type' => 'string'
),
'customIconBackgroundColor' => array (
'type' => 'string'
),
'iconBackgroundColorValue' => array (
'type' => 'string'
),
'openInNewTab' => array (
'type' => 'boolean' ,
'default' => false
),
'showLabels' => array (
'type' => 'boolean' ,
'default' => false
),
'size' => array (
'type' => 'string'
)
),
'providesContext' => array (
'openInNewTab' => 'openInNewTab' ,
'showLabels' => 'showLabels' ,
'iconColor' => 'iconColor' ,
'iconColorValue' => 'iconColorValue' ,
'iconBackgroundColor' => 'iconBackgroundColor' ,
'iconBackgroundColorValue' => 'iconBackgroundColorValue'
),
'supports' => array (
'align' => array (
'left' ,
'center' ,
'right'
),
'anchor' => true ,
'__experimentalExposeControlsToChildren' => true ,
'layout' => array (
'allowSwitching' => false ,
'allowInheriting' => false ,
'allowVerticalAlignment' => false ,
'default' => array (
'type' => 'flex'
)
),
'color' => array (
'enableContrastChecker' => false ,
'background' => true ,
'gradients' => true ,
'text' => false ,
'__experimentalDefaultControls' => array (
'background' => false
)
),
'spacing' => array (
'blockGap' => array (
'horizontal' ,
'vertical'
),
'margin' => true ,
'padding' => true ,
'units' => array (
'px' ,
'em' ,
'rem' ,
'vh' ,
'vw'
),
'__experimentalDefaultControls' => array (
2023-07-07 03:21:17 -04:00
'blockGap' => true ,
'margin' => true ,
'padding' => false
2023-06-27 10:24:19 -04:00
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
'styles' => array (
array (
'name' => 'default' ,
'label' => 'Default' ,
'isDefault' => true
),
array (
'name' => 'logos-only' ,
'label' => 'Logos Only'
),
array (
'name' => 'pill-shape' ,
'label' => 'Pill Shape'
)
),
'editorStyle' => 'wp-block-social-links-editor' ,
'style' => 'wp-block-social-links'
),
'spacer' => array (
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
'apiVersion' => 3 ,
'name' => 'core/spacer' ,
'title' => 'Spacer' ,
'category' => 'design' ,
'description' => 'Add white space between blocks and customize its height.' ,
'textdomain' => 'default' ,
'attributes' => array (
'height' => array (
'type' => 'string' ,
'default' => '100px'
),
'width' => array (
'type' => 'string'
)
),
'usesContext' => array (
'orientation'
),
'supports' => array (
'anchor' => true ,
'spacing' => array (
'margin' => array (
'top' ,
'bottom'
),
'__experimentalDefaultControls' => array (
'margin' => true
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'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' ,
2024-05-23 15:39:28 -04:00
'default' => true
2023-06-27 10:24:19 -04:00
),
'caption' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
'selector' => 'figcaption'
2023-06-27 10:24:19 -04:00
),
'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 (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text'
2023-06-27 10:24:19 -04:00
),
'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 (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text'
2023-06-27 10:24:19 -04:00
),
'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 (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text'
2023-06-27 10:24:19 -04:00
),
'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 ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'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
)
),
2024-02-09 13:22:22 -05:00
'__experimentalSelector' => '.wp-block-table > table' ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'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' ,
2024-09-19 21:55:35 -04:00
'description' => 'A cloud of popular keywords, each sized by how often it appears.' ,
2023-06-27 10:24:19 -04:00
'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
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
),
'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 ,
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'reusable' => false ,
2024-02-09 13:22:22 -05:00
'renaming' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'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
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2024-09-19 21:55:35 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true ,
'__experimentalDefaultControls' => array (
'radius' => true ,
'color' => true ,
'width' => true ,
'style' => true
)
2023-06-27 10:24:19 -04:00
)
)
),
'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 (
2024-02-09 13:22:22 -05:00
'inserter' => false ,
'interactivity' => array (
'clientNavigation' => true
)
2023-06-27 10:24:19 -04:00
),
'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 (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'selector' => 'pre' ,
'__unstablePreserveWhiteSpace' => true ,
'__experimentalRole' => 'content'
),
'textAlign' => array (
'type' => 'string'
)
),
'supports' => array (
'anchor' => true ,
2024-09-19 21:55:35 -04:00
'background' => array (
'backgroundImage' => true ,
'backgroundSize' => true ,
'__experimentalDefaultControls' => array (
'backgroundImage' => true
)
),
2023-06-27 10:24:19 -04:00
'color' => array (
'gradients' => true ,
'link' => true ,
'__experimentalDefaultControls' => array (
'background' => true ,
'text' => true
)
),
2024-09-19 21:55:35 -04:00
'dimensions' => array (
'minHeight' => true ,
'__experimentalDefaultControls' => array (
'minHeight' => false
)
),
2023-06-27 10:24:19 -04:00
'typography' => array (
'fontSize' => true ,
'__experimentalFontFamily' => true ,
'lineHeight' => true ,
'__experimentalFontStyle' => true ,
'__experimentalFontWeight' => true ,
'__experimentalLetterSpacing' => true ,
'__experimentalTextTransform' => true ,
'__experimentalTextDecoration' => true ,
2024-09-19 21:55:35 -04:00
'__experimentalWritingMode' => true ,
2023-06-27 10:24:19 -04:00
'__experimentalDefaultControls' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'fontSize' => true
2023-06-27 10:24:19 -04:00
)
),
'spacing' => array (
'margin' => true ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2023-06-27 10:24:19 -04:00
),
'__experimentalBorder' => array (
'radius' => true ,
'width' => true ,
'color' => true ,
'style' => true
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'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 (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'type' => 'rich-text' ,
'source' => 'rich-text' ,
2023-06-27 10:24:19 -04:00
'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'
),
2024-09-19 21:55:35 -04:00
'blob' => array (
'type' => 'string' ,
'__experimentalRole' => 'local'
),
2023-06-27 10:24:19 -04:00
'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 ,
2023-07-07 03:21:17 -04:00
'padding' => true ,
'__experimentalDefaultControls' => array (
'margin' => false ,
'padding' => false
)
2024-02-09 13:22:22 -05:00
),
'interactivity' => array (
'clientNavigation' => true
2023-06-27 10:24:19 -04:00
)
),
'editorStyle' => 'wp-block-video-editor' ,
'style' => 'wp-block-video'
),
'widget-group' => array (
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 16:07:12 -05:00
'$schema' => 'https://schemas.wp.org/trunk/block.json' ,
2023-06-27 10:24:19 -04:00
'apiVersion' => 3 ,
'name' => 'core/widget-group' ,
2024-05-23 15:39:28 -04:00
'title' => 'Widget Group' ,
2023-06-27 10:24:19 -04:00
'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'
)
);