@wordpress/block-library
WP 6.7: _blockEditor.__experimentalLinkControl.DEFAULT_LINK_SETTINGS is not iterable
#68695
Labels
[Type] Bug
An existing feature does not function as intended
Description
Bootstrapping blocks (in node) isn't working.
Possibly due to a discrepancy between components/compat' (and their corresponding builds) that went unnoticed in web builds
Step-by-step reproduction instructions
npm i @wordpress/[email protected]
globals-test.js
,globals-mutation.js
andindex.js
containing:node index.js
Screenshots, screen recording, code snippet
Actual result
Environment info
Dirty workaround, replace
_blockEditor.__experimentalLinkControl.DEFAULT_LINK_SETTINGS
by an array:sed -i '/^const LINK_SETTINGS/s!.*!const LINK_SETTINGS = [...(_blockEditor.__experimentalLinkControl.DEFAULT_LINK_SETTINGS || []), {!' node_modules/@wordpress/block-library/build/button/edit.js
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: