Skip to content

Commit

Permalink
Editor: Update packages for 6.1 Release Candidate 3.
Browse files Browse the repository at this point in the history
Package updates for bug and regression fixes since 6.1 RC 2:

- @wordpress/block-directory: 3.15.10
- @wordpress/block-editor: 10.0.9
- @wordpress/block-library: 7.14.10
- @wordpress/customize-widgets: 3.14.10
- @wordpress/edit-post: 6.14.10
- @wordpress/edit-site: 4.14.12
- @wordpress/edit-widgets: 4.14.10
- @wordpress/editor: 12.16.9
- @wordpress/format-library: 3.15.9
- @wordpress/reusable-blocks: 3.15.9
- @wordpress/widgets: 2.15.9

Original PRs from Gutenberg repository:

* [WordPress/gutenberg#45189 Gutenberg PR 45189] - Fix resizeable editor scrolling
* [WordPress/gutenberg#45234 Gutenberg PR 45234] - Reset background-image property for outline button style
* [WordPress/gutenberg#45161 Gutenberg PR 45161] - Table Block: Add a deprecation for the figcaption element class name
* [WordPress/gutenberg#45159 Gutenberg PR 45159] - File Block: Add a deprecation for the button element class name
* [WordPress/gutenberg#45169 Gutenberg PR 45169] - Video: Add a deprecation for the caption element
* [WordPress/gutenberg#45166 Gutenberg PR 45166] - Embed: Add deprecation for the caption element
* [WordPress/gutenberg#45173 Gutenberg PR 45173] - Gallery: Add a deprecation for captions in the gallery block
* [WordPress/gutenberg#44854 Gutenberg PR 44854] - Embed Block: Add support for Tumblr Dashboard URLs
* [WordPress/gutenberg#45074 Gutenberg PR 45074] - Post editor: Rename view to Preview
* [WordPress/gutenberg#45163 Gutenberg PR 45163] - Featured Image Block: Add missing output escaping
* [WordPress/gutenberg#45118 Gutenberg PR 45118] - [WP6.1] Site editor clips body background style

Follow-up to [54257], [54335], [54383], [54483], [54486], [54490], and [54632].

Props czapla, cbravobernal, ndiego, annezazu, davidbaumwald, desrosj, mikeschroder, hellofromtonya, ocean90.
Reviewed by desrosj, hellofromTonya, SergeyBiryukov.
Merges [54693] to the 6.1 branch.
See #56467.
Built from https://develop.svn.wordpress.org/branches/6.1@54694


git-svn-id: http://core.svn.wordpress.org/branches/6.1@54246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
dream-encode committed Oct 25, 2022
1 parent a2dd830 commit 73630df
Show file tree
Hide file tree
Showing 26 changed files with 778 additions and 97 deletions.
2 changes: 1 addition & 1 deletion wp-includes/assets/script-loader-packages.min.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-includes/assets/script-loader-packages.php

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions wp-includes/blocks/button/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,5 @@
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background),
.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background) {
background-color: transparent;
background-image: none;
}
2 changes: 1 addition & 1 deletion wp-includes/blocks/button/style-rtl.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions wp-includes/blocks/button/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,5 @@
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background),
.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background) {
background-color: transparent;
background-image: none;
}
2 changes: 1 addition & 1 deletion wp-includes/blocks/button/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wp-includes/blocks/post-featured-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function render_block_core_post_featured_image( $attributes, $content, $block )
if ( ! empty( $attributes['scale'] ) ) {
$image_styles .= "object-fit:{$attributes['scale']};";
}
$featured_image = str_replace( 'src=', 'style="' . esc_attr( $image_styles ) . '" src=', $featured_image );
$featured_image = str_replace( '<img ', '<img style="' . esc_attr( safecss_filter_attr( $image_styles ) ) . '" ', $featured_image );
}

return "<figure {$wrapper_attributes}>{$featured_image}</figure>";
Expand Down
1 change: 1 addition & 0 deletions wp-includes/css/dist/block-library/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background),
.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background) {
background-color: transparent;
background-image: none;
}

.wp-block-buttons {
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/style-rtl.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions wp-includes/css/dist/block-library/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background),
.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background) {
background-color: transparent;
background-image: none;
}

.wp-block-buttons {
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/style.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions wp-includes/css/dist/edit-site/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
}
.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas {
border-radius: 2px;
max-height: 100%;
}
.edit-site-visual-editor.is-focus-mode .components-resizable-box__container {
overflow: visible;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/edit-site/style-rtl.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions wp-includes/css/dist/edit-site/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
}
.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas {
border-radius: 2px;
max-height: 100%;
}
.edit-site-visual-editor.is-focus-mode .components-resizable-box__container {
overflow: visible;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/edit-site/style.min.css

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions wp-includes/js/dist/block-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -22967,7 +22967,7 @@ function Iframe(_ref3, ref) {
}, []);
const bodyRef = (0,external_wp_compose_namespaceObject.useMergeRefs)([contentRef, clearerRef, writingFlowRef]);
const styleCompatibilityRef = useStylesCompatibility();
head = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("style", null, 'body{margin:0}'), styles.map(_ref4 => {
head = (0,external_wp_element_namespaceObject.createElement)(external_wp_element_namespaceObject.Fragment, null, (0,external_wp_element_namespaceObject.createElement)("style", null, 'html{height:auto!important;}body{margin:0}'), styles.map(_ref4 => {
let {
tagName,
href,
Expand Down Expand Up @@ -51569,6 +51569,7 @@ const ImageURLInputUI = _ref => {
function PreviewOptions(_ref) {
let {
children,
viewLabel,
className,
isEnabled = true,
deviceType,
Expand All @@ -51584,9 +51585,7 @@ function PreviewOptions(_ref) {
variant: 'tertiary',
className: 'block-editor-post-preview__button-toggle',
disabled: !isEnabled,

/* translators: button label text should, if possible, be under 16 characters. */
children: (0,external_wp_i18n_namespaceObject.__)('View')
children: viewLabel
};
const menuProps = {
'aria-label': (0,external_wp_i18n_namespaceObject.__)('View options')
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/js/dist/block-editor.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 73630df

Please sign in to comment.