[wp-trac] [WordPress Trac] #57941: CTRL+V paste shortcut used for placing a link

WordPress Trac noreply at wordpress.org
Fri Mar 17 22:02:19 UTC 2023


#57941: CTRL+V paste shortcut used for placing a link
--------------------------+------------------------------
 Reporter:  thomask       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:
--------------------------+------------------------------
Changes (by costdev):

 * keywords:  needs-patch => 2nd-opinion
 * version:  trunk =>


Comment:

 Hi @thomask, thanks for opening this ticket.

 For URLs/email addresses, the text became a link which linked to the
 URL/created a `mailto:` link. It's quite common now to create a link on
 paste. This is done in Slack, GitHub and Edge (by default), to name just
 three that came to mind at the time of writing.

 In addition:
 - This is the same behaviour when pasting over selected text with the
 Classic Editor plugin active.
 - It's generally recommended not to use raw URLs, but to link descriptive
 text to a URL. For this reason, linking the selected text on paste is the
 more visually friendly and accessible approach for web pages.

 -----
 - Removing `needs-patch` and adding `2nd-opinion` to gather thoughts on
 this.
 - Removing `trunk`, as this has existed since before WordPress 6.2.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57941#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list