Skip to content

Commit e335b68

Browse files
committed
Block Editor: Update packages and backport the latest Gutenberg fixes.
This includes the following fixes: - Generate babel polyfill dynamically WordPress/gutenberg#31279 - Improve the List View component WordPress/gutenberg#31290 WordPress/gutenberg#32063 - Template mode: - Fix embed dimensions WordPress/gutenberg#32057 - Update the welcome guide WordPress/gutenberg#32055 WordPress/gutenberg#32026 - Don’t display the notice at the same time as the welcome guide WordPress/gutenberg#32076 - Remove MetaBoxes WordPress/gutenberg#32315 - Update the title area WordPress/gutenberg#32037 - Widgets Screen: - Fix unsaved changes WordPress/gutenberg#31757 - Fix toolbar alignment WordPress/gutenberg#31991 - Fix block toolbar position after scroll WordPress/gutenberg#32212 - Fix the visible widget area header WordPress/gutenberg#32262 - Fix legacy widgets preview WordPress/gutenberg#32260 - - Block Widgets in the customizer: - Fix customizer title overlapping block toolbar WordPress/gutenberg#32140 - Fix styling issues WordPress/gutenberg#32072 - Fix escape key events WordPress/gutenberg#32175 - Add preferences menu group label WordPress/gutenberg#32259 - Fix creating and replacing legacy widgets WordPress/gutenberg#32005 - Fix the welcome guide’s image WordPress/gutenberg#32264 WordPress/gutenberg#32302 - Fix Cover to Image transform duotone error WordPress/gutenberg#32006 - Remove filter_var usage from blocks WordPress/gutenberg#32046 - Fix image width for aligned Post Featured Image block WordPress/gutenberg#32070 - Prevent excessive Image block re-rendering WordPress/gutenberg#32102 - Remove gutenberg domain from core blocks WordPress/gutenberg#32152 - Use the block editor context class for the the different settings filters WordPress/gutenberg#32159 - Fix Latest Posts block grid view WordPress/gutenberg#32160 - Fix preset classes generation per block WordPress/gutenberg#32190 - Fix logic to enable custom colors and gradients WordPress/gutenberg#32200 - Update the Site Logo logic to use a dedicated site option WordPress/gutenberg#32229 - Limit the Latest Posts block’s featured image width WordPress/gutenberg#32245 - Remove opacity animation in the canvas. WordPress/gutenberg#32266 - Make the focus style valid CSS WordPress/gutenberg#32305 - Fix theme.json styles for the core/list block WordPress/gutenberg#32343 - Fix PHP notice when calling render_block WordPress/gutenberg#32135 Props nosolosw, noisysocks. See #52991. Built from https://develop.svn.wordpress.org/trunk@51051 git-svn-id: http://core.svn.wordpress.org/trunk@50660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 6acd4d4 commit e335b68

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2320
-1818
lines changed

wp-includes/assets/script-loader-packages.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

wp-includes/block-supports/elements.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
* @return string Filtered block content.
1818
*/
1919
function wp_render_elements_support( $block_content, $block ) {
20-
$link_color = _wp_array_get( $block['attrs'], array( 'style', 'elements', 'link', 'color', 'text' ), null );
20+
$link_color = null;
21+
if ( ! empty( $block['attrs'] ) ) {
22+
$link_color = _wp_array_get( $block['attrs'], array( 'style', 'elements', 'link', 'color', 'text' ), null );
23+
}
2124

2225
/*
2326
* For now we only care about link color.

wp-includes/blocks/latest-posts/style-rtl.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
.wp-block-latest-posts__featured-image img {
141141
height: auto;
142142
width: auto;
143+
max-width: 100%;
143144
}
144145
.wp-block-latest-posts__featured-image.alignleft {
145146
margin-right: 1em;

wp-includes/blocks/latest-posts/style-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/blocks/latest-posts/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
.wp-block-latest-posts__featured-image img {
143143
height: auto;
144144
width: auto;
145+
max-width: 100%;
145146
}
146147
.wp-block-latest-posts__featured-image.alignleft {
147148
/*rtl:ignore*/

wp-includes/blocks/latest-posts/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/blocks/list/block.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"color": {
4242
"gradients": true
4343
},
44-
"__unstablePasteTextInline": true
44+
"__unstablePasteTextInline": true,
45+
"__experimentalSelector": "ol,ul"
4546
},
4647
"editorStyle": "wp-block-list-editor",
4748
"style": "wp-block-list"

wp-includes/blocks/post-featured-image/style-rtl.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,7 @@
7878
.wp-block-post-featured-image img {
7979
max-width: 100%;
8080
height: auto;
81+
}
82+
.wp-block-post-featured-image.alignwide img, .wp-block-post-featured-image.alignfull img {
83+
width: 100%;
8184
}

wp-includes/blocks/post-featured-image/style-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/blocks/post-featured-image/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,7 @@
7878
.wp-block-post-featured-image img {
7979
max-width: 100%;
8080
height: auto;
81+
}
82+
.wp-block-post-featured-image.alignwide img, .wp-block-post-featured-image.alignfull img {
83+
width: 100%;
8184
}

0 commit comments

Comments
 (0)