Editor: Update packages
@wordpress/block-directory: 1.13.8 -> 1.13.9 @wordpress/block-editor: 4.3.8 -> 4.3.9 @wordpress/block-library: 2.22.8 -> 2.22.9 @wordpress/edit-post: 3.21.8 -> 3.21.9 @wordpress/edit-site: 1.11.8 -> 1.11.9 @wordpress/editor: 9.20.8 -> 9.20.9 @wordpress/format-library: 1.22.8 -> 1.22.9 See #51659. Built from https://develop.svn.wordpress.org/branches/5.5@49446 git-svn-id: http://core.svn.wordpress.org/branches/5.5@49205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
13bdf36937
commit
67a606b0f4
File diff suppressed because one or more lines are too long
|
@ -27777,12 +27777,13 @@ function BlockMover(_ref) {
|
|||
|
||||
if (isLocked || isFirst && isLast && !rootClientId) {
|
||||
return null;
|
||||
} // We emulate a disabled state because forcefully applying the `disabled`
|
||||
}
|
||||
|
||||
var dragHandleLabel = clientIds.length === 1 ? Object(external_this_wp_i18n_["__"])('Drag block') : Object(external_this_wp_i18n_["__"])('Drag blocks'); // We emulate a disabled state because forcefully applying the `disabled`
|
||||
// attribute on the buttons while it has focus causes the screen to change
|
||||
// to an unfocused state (body as active element) without firing blur on,
|
||||
// the rendering parent, leaving it unable to react to focus out.
|
||||
|
||||
|
||||
return Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: classnames_default()('block-editor-block-mover', {
|
||||
'is-visible': isFocused || !isHidden,
|
||||
|
@ -27799,7 +27800,7 @@ function BlockMover(_ref) {
|
|||
icon: drag_handle,
|
||||
className: "block-editor-block-mover__drag-handle",
|
||||
"aria-hidden": "true",
|
||||
label: Object(external_this_wp_i18n_["_n"])('Drag block', 'Drag blocks', clientIds.length) // Should not be able to tab to drag handle as this
|
||||
label: dragHandleLabel // Should not be able to tab to drag handle as this
|
||||
// button can only be used with a pointer device.
|
||||
,
|
||||
tabIndex: "-1",
|
||||
|
@ -29076,6 +29077,7 @@ function BlockSettingsDropdown(_ref) {
|
|||
return _ref2.apply(this, arguments);
|
||||
};
|
||||
}() : external_this_lodash_["noop"], [__experimentalSelectBlock]);
|
||||
var removeBlockLabel = count === 1 ? Object(external_this_wp_i18n_["__"])('Remove block') : Object(external_this_wp_i18n_["__"])('Remove blocks');
|
||||
return Object(external_this_wp_element_["createElement"])(BlockActions, {
|
||||
clientIds: clientIds,
|
||||
__experimentalUpdateSelection: !__experimentalSelectBlock
|
||||
|
@ -29141,7 +29143,7 @@ function BlockSettingsDropdown(_ref) {
|
|||
}), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuGroup"], null, !isLocked && Object(external_this_wp_element_["createElement"])(external_this_wp_components_["MenuItem"], {
|
||||
onClick: Object(external_this_lodash_["flow"])(onClose, onRemove, updateSelection),
|
||||
shortcut: shortcuts.remove
|
||||
}, Object(external_this_wp_i18n_["_n"])('Remove block', 'Remove blocks', count))));
|
||||
}, removeBlockLabel)));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.5.2-alpha-49389';
|
||||
$wp_version = '5.5.2-alpha-49446';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue