Editor: update JS packages
Fixes #50844. Built from https://develop.svn.wordpress.org/trunk@48725 git-svn-id: http://core.svn.wordpress.org/trunk@48487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
315db55458
commit
69370fa0da
File diff suppressed because one or more lines are too long
|
@ -500,10 +500,12 @@
|
|||
width: 48px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
min-width: 36px;
|
||||
width: 36px; }
|
||||
width: 36px;
|
||||
overflow: hidden; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
min-width: 24px;
|
||||
width: 24px; }
|
||||
width: 24px;
|
||||
overflow: hidden; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button > svg {
|
||||
margin-right: 2px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -504,10 +504,12 @@
|
|||
width: 48px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
min-width: 36px;
|
||||
width: 36px; }
|
||||
width: 36px;
|
||||
overflow: hidden; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
min-width: 24px;
|
||||
width: 24px; }
|
||||
width: 24px;
|
||||
overflow: hidden; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button > svg {
|
||||
margin-left: 2px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover-button.is-up-button svg {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -30352,14 +30352,6 @@ function block_BlockListBlock(_ref) {
|
|||
}, alignmentWrapperProps), blockEdit);
|
||||
}
|
||||
|
||||
if (mode !== 'visual') {
|
||||
blockEdit = Object(external_this_wp_element_["createElement"])("div", {
|
||||
style: {
|
||||
display: 'none'
|
||||
}
|
||||
}, blockEdit);
|
||||
}
|
||||
|
||||
var value = {
|
||||
clientId: clientId,
|
||||
rootClientId: rootClientId,
|
||||
|
@ -30379,19 +30371,35 @@ function block_BlockListBlock(_ref) {
|
|||
var memoizedValue = Object(external_this_wp_element_["useMemo"])(function () {
|
||||
return value;
|
||||
}, Object.values(value));
|
||||
var block;
|
||||
|
||||
if (!isValid) {
|
||||
block = Object(external_this_wp_element_["createElement"])(Block.div, null, Object(external_this_wp_element_["createElement"])(block_invalid_warning, {
|
||||
clientId: clientId
|
||||
}), Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_blocks_["getSaveElement"])(blockType, attributes)));
|
||||
} else if (mode === 'html') {
|
||||
// Render blockEdit so the inspector controls don't disappear.
|
||||
// See #8969.
|
||||
block = Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, Object(external_this_wp_element_["createElement"])("div", {
|
||||
style: {
|
||||
display: 'none'
|
||||
}
|
||||
}, blockEdit), Object(external_this_wp_element_["createElement"])(Block.div, {
|
||||
__unstableIsHtml: true
|
||||
}, Object(external_this_wp_element_["createElement"])(block_html, {
|
||||
clientId: clientId
|
||||
})));
|
||||
} else if (lightBlockWrapper) {
|
||||
block = blockEdit;
|
||||
} else {
|
||||
block = Object(external_this_wp_element_["createElement"])(Block.div, wrapperProps, blockEdit);
|
||||
}
|
||||
|
||||
return Object(external_this_wp_element_["createElement"])(BlockListBlockContext.Provider, {
|
||||
value: memoizedValue
|
||||
}, Object(external_this_wp_element_["createElement"])(block_crash_boundary, {
|
||||
onError: onBlockError
|
||||
}, isValid && lightBlockWrapper && Object(external_this_wp_element_["createElement"])(external_this_wp_element_["Fragment"], null, blockEdit, mode === 'html' && Object(external_this_wp_element_["createElement"])(Block.div, {
|
||||
__unstableIsHtml: true
|
||||
}, Object(external_this_wp_element_["createElement"])(block_html, {
|
||||
clientId: clientId
|
||||
}))), isValid && !lightBlockWrapper && Object(external_this_wp_element_["createElement"])(Block.div, wrapperProps, blockEdit, mode === 'html' && Object(external_this_wp_element_["createElement"])(block_html, {
|
||||
clientId: clientId
|
||||
})), !isValid && Object(external_this_wp_element_["createElement"])(Block.div, null, Object(external_this_wp_element_["createElement"])(block_invalid_warning, {
|
||||
clientId: clientId
|
||||
}), Object(external_this_wp_element_["createElement"])("div", null, Object(external_this_wp_blocks_["getSaveElement"])(blockType, attributes)))), !!hasError && Object(external_this_wp_element_["createElement"])(Block.div, null, Object(external_this_wp_element_["createElement"])(block_crash_warning, null)));
|
||||
}, block), !!hasError && Object(external_this_wp_element_["createElement"])(Block.div, null, Object(external_this_wp_element_["createElement"])(block_crash_warning, null)));
|
||||
}
|
||||
|
||||
var applyWithSelect = Object(external_this_wp_data_["withSelect"])(function (select, _ref2) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.6-alpha-48724';
|
||||
$wp_version = '5.6-alpha-48725';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue