mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-08 06:34:34 +00:00
Editor: Add inert attribute polyfill.
The new Gutenberg packages are using the inert attribute to disable some parts of the HTML tree in an accessible way. Props ntsekouras. Fixes #57492. git-svn-id: https://develop.svn.wordpress.org/trunk@55084 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -99,7 +99,8 @@ function wp_default_packages_vendor( $scripts ) {
|
||||
'wp-polyfill-dom-rect',
|
||||
'wp-polyfill-element-closest',
|
||||
'wp-polyfill-object-fit',
|
||||
'wp-polyfill' => array( 'regenerator-runtime' ),
|
||||
'wp-polyfill-inert',
|
||||
'wp-polyfill' => array( 'wp-polyfill-inert', 'regenerator-runtime' ),
|
||||
);
|
||||
|
||||
$vendor_scripts_versions = array(
|
||||
@@ -115,6 +116,7 @@ function wp_default_packages_vendor( $scripts ) {
|
||||
'wp-polyfill-dom-rect' => '4.4.0',
|
||||
'wp-polyfill-element-closest' => '2.0.2',
|
||||
'wp-polyfill-object-fit' => '2.3.5',
|
||||
'wp-polyfill-inert' => '3.1.2',
|
||||
'wp-polyfill' => '3.15.0',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user