Block Editor: Update WordPress Packages WordPress 5.4 RC 5.
The following package versions were changed: @wordpress/annotations: 1.12.2 -> 1.12.3 @wordpress/block-directory: 1.5.6 -> 1.5.7 @wordpress/block-editor: 3.7.6 -> 3.7.7 @wordpress/block-library: 2.14.6 -> 2.14.7 @wordpress/blocks: 6.12.2 -> 6.12.3 @wordpress/components: 9.2.5 -> 9.2.6 @wordpress/core-data: 2.12.2 -> 2.12.3 @wordpress/edit-post: 3.13.7 -> 3.13.8 @wordpress/editor: 9.12.6 -> 9.12.7 @wordpress/format-library: 1.14.6 -> 1.14.7 @wordpress/list-reusable-blocks: 1.13.5 -> 1.13.6 @wordpress/nux: 3.12.5 -> 3.12.6 @wordpress/server-side-render: 1.8.5 -> 1.8.6 Description of editor changes included in the RC available at https://github.com/WordPress/gutenberg/pull/21210. Props mcsf, aduth. Fixes: #49716. Built from https://develop.svn.wordpress.org/trunk@47513 git-svn-id: http://core.svn.wordpress.org/trunk@47288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f4f1184deb
commit
b9ef707d7d
File diff suppressed because one or more lines are too long
|
@ -1176,14 +1176,15 @@ var external_this_wp_hooks_ = __webpack_require__(32);
|
||||||
|
|
||||||
var block_addAnnotationClassName = function addAnnotationClassName(OriginalComponent) {
|
var block_addAnnotationClassName = function addAnnotationClassName(OriginalComponent) {
|
||||||
return Object(external_this_wp_data_["withSelect"])(function (select, _ref) {
|
return Object(external_this_wp_data_["withSelect"])(function (select, _ref) {
|
||||||
var clientId = _ref.clientId;
|
var clientId = _ref.clientId,
|
||||||
|
className = _ref.className;
|
||||||
|
|
||||||
var annotations = select('core/annotations').__experimentalGetAnnotationsForBlock(clientId);
|
var annotations = select('core/annotations').__experimentalGetAnnotationsForBlock(clientId);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
className: annotations.map(function (annotation) {
|
className: annotations.map(function (annotation) {
|
||||||
return 'is-annotated-by-' + annotation.source;
|
return 'is-annotated-by-' + annotation.source;
|
||||||
}).join(' ')
|
}).concat(className).filter(Boolean).join(' ')
|
||||||
};
|
};
|
||||||
})(OriginalComponent);
|
})(OriginalComponent);
|
||||||
};
|
};
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -10846,9 +10846,6 @@ var embeddedContentSchema = {
|
||||||
embed: {
|
embed: {
|
||||||
attributes: ['src', 'type', 'width', 'height']
|
attributes: ['src', 'type', 'width', 'height']
|
||||||
},
|
},
|
||||||
iframe: {
|
|
||||||
attributes: ['src', 'srcdoc', 'name', 'sandbox', 'seamless', 'width', 'height']
|
|
||||||
},
|
|
||||||
img: {
|
img: {
|
||||||
attributes: ['alt', 'src', 'srcset', 'usemap', 'ismap', 'width', 'height']
|
attributes: ['alt', 'src', 'srcset', 'usemap', 'ismap', 'width', 'height']
|
||||||
},
|
},
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9461,7 +9461,7 @@ function useSlotRegistry() {
|
||||||
// See https://github.com/WordPress/gutenberg/pull/19242#issuecomment-590295412
|
// See https://github.com/WordPress/gutenberg/pull/19242#issuecomment-590295412
|
||||||
|
|
||||||
|
|
||||||
if (slot.ref === ref) {
|
if ((slot === null || slot === void 0 ? void 0 : slot.ref) === ref) {
|
||||||
return nextSlots;
|
return nextSlots;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.5-alpha-47512';
|
$wp_version = '5.5-alpha-47513';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue