You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating/editing an inline link in the block editor, with latest Gutenberg / Yoast SEO active, a deprecation warning is shown in the console: wp.blockEditor.__experimentalLinkControl is deprecated since version 6.8. Please use wp.blockEditor.LinkControl instead.
What is the goal of this issue?
It would be nice if we don't show this console warning, and painful if we don't abide by the release of WordPress 6.8.
Context: Why was this issue created?
When creating/editing an inline link in the block editor, with latest Gutenberg / Yoast SEO active, a deprecation warning is shown in the console:
wp.blockEditor.__experimentalLinkControl is deprecated since version 6.8. Please use wp.blockEditor.LinkControl instead.
What is the goal of this issue?
It would be nice if we don't show this console warning, and painful if we don't abide by the release of WordPress 6.8.
What needs to be done to achieve the goal?
In https://github.com/Yoast/wordpress-seo/blob/trunk/packages/js/src/inline-links/inline.js#L327 we reference this
__experimentalLinkControl
. We can probably get away with replacing that withconst { LinkControl } = window.wp.blockEditor;
and/or add something that still takes__experimentalLinkControl
for older versions of Gutenberg.Does the issue still need UX or research?
No.
If available: what are the tips for fixing the problem or possible solutions?
Obviously the Gutenberg repository 😅 The experimental functionality was stabilized in WordPress/gutenberg#56384, released as part of Gutenberg 19.9.
What is the expected result/behavior?
No console error while the functionality still works.
Should documentation be added or updated for this change? and if so, where?
Na.
The text was updated successfully, but these errors were encountered: