-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)Link components (LinkControl, URLInput) and integrations (RichText link formatting)[Feature] Paste[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
Gutenberg editor is stripping off the nofollow relation on links when the content is being copied from an already published content.
For example, assume I have a published content, where there is a link in the content. The link is set as 'nofollow' and 'open-in new-tab'.
- Now copy the content from this published post and open a new post in GB editor.
- Publish this new post.
Output
The nofollow link part is stripped. But open in new tab is retained.
Step-by-step reproduction instructions
- Take a published post where links are set as nofollow.
- Copy that content with link and paste it on GB editor.
- Publish the post, and notice the nofollow rel are removed.
Screenshots, screen recording, code snippet
Nofollow-Stripped-rtp.mp4
Environment info
WP 6.9 Default editor
T23, Kadence
Windows 10
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
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Metadata
Metadata
Assignees
Labels
[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)Link components (LinkControl, URLInput) and integrations (RichText link formatting)[Feature] Paste[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended