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
I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened
When you add a link to text in the post, and then highlight it and edit it, and add the 'opens in new tab', '', and 'sponsored' attributes and save the changes, it splits the link into two.
To Reproduce
Step-by-step reproduction instructions
Install and activate Yoast SEO 21.8 and use a default WP theme
Create a new post and add a link/anchor text to content in the post that has at least two words (e.g. Yoast SEO)
Highlight (very specific step, don't just click on the link) the anchor text, click on the pencil icon, and add the 'opens in new tab', '', 'sponsored' attribute and save the changes. Sometimes it doesn't happen on the first link, and you'll need to reproduce it on a second link.
Expected results
That the anchor text or link would still be in one single section.
Actual results
The links are split into two (one seems to have the 'open in new tab' option selected and the other attributes, and the other one doesn't have any of the selected attributes)
Screenshots, screen recording, code snippet
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
Screen.Recording.2024-01-18.at.10.38.02.AM.mov
When deactivating the Yoast SEO plugin and just using the default 'opens in a new tab' and '' anchor text link options, the issue doesn't seem to occur. But it doesn't look to be specific to the 'sponsored' option, as even if you don't choose all 3 settings, the issue still occurs.
When you click on the link to edit it, instead of highlighting it, the issue doesn't seem to occur.
Technical info
If relevant, which editor is affected (or editors):
Block Editor
Which browser is affected (or browsers):
Chrome
Used versions
Device you are using: MacBook Pro M1
Operating system: MacOS
PHP version: PHP 8.0
WordPress version: 6.2
WordPress Theme: Twenty-Twenty
Yoast SEO version: 21.8
The text was updated successfully, but these errors were encountered:
Please give us a description of what happened
When you add a link to text in the post, and then highlight it and edit it, and add the 'opens in new tab', '', and 'sponsored' attributes and save the changes, it splits the link into two.
To Reproduce
Step-by-step reproduction instructions
Expected results
Actual results
Screenshots, screen recording, code snippet
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
Screen.Recording.2024-01-18.at.10.38.02.AM.mov
When deactivating the Yoast SEO plugin and just using the default 'opens in a new tab' and '' anchor text link options, the issue doesn't seem to occur. But it doesn't look to be specific to the 'sponsored' option, as even if you don't choose all 3 settings, the issue still occurs.
When you click on the link to edit it, instead of highlighting it, the issue doesn't seem to occur.
Technical info
Used versions
The text was updated successfully, but these errors were encountered: