Adding a link url via copy/paste doesn't work on previously formatted text #63434
Labels
[Feature] Link Editing
Link components (LinkControl, URLInput) and integrations (RichText link formatting)
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
For some of my content I add a link to text and then bold it. Sometimes, I bold it first and then add the link.
For a while now I noticed that copy/page over a highlight text didn't always work, and I finally chased down the source of this "misbehavior"
If the text is formatted in bold, highlighting and adding the link via copy/paste doesn't work anymore. It does\work when using the link button, but that makes the process two clicks longer.
See below video for illustration.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screen.Recording.2024-07-11.at.15.22.38.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: