[wp-trac] [WordPress Trac] #57941: CTRL+V paste shortcut used for placing a link
WordPress Trac
noreply at wordpress.org
Fri Mar 17 23:16:06 UTC 2023
#57941: CTRL+V paste shortcut used for placing a link
--------------------------+----------------------
Reporter: thomask | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Editor | Version:
Severity: normal | Resolution: invalid
Keywords: 2nd-opinion | Focuses:
--------------------------+----------------------
Changes (by azaozz):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
> if you have something selected text and do standard CTRL+V (with text in
clipboard), it does not replace selected text as any other windows program
in history would do, but it creates a link with the clipboard as the URL
address
Yes, in the editor (and even in the old editor) pasting "over" any
selection will create a link with the selection as the linked text/image.
That happens only if the clipboard content is an URL (or something that
looks very much like an URL). This is a feature, not a bug :)
As @costdev explained above, this is how many other online editors work,
and is an easy, very convenient way to create simple links (no popups, no
dialogs, no buttons to click, etc.). This feature has been in the
WordPress editors for 5-6 years I think.
Closing as "invalid" as this is the expected behavior. Feel free to reopen
if there are good reasons to change this behavior.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57941#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list