[wp-trac] [WordPress Trac] #31571: If you select text, and paste a URL from the clipboard, auto-link the selected text rather than replace it with the URL

WordPress Trac noreply at wordpress.org
Mon Mar 9 16:35:13 UTC 2015


#31571: If you select text, and paste a URL from the clipboard, auto-link the
selected text rather than replace it with the URL
-------------------------+-------------------------
 Reporter:  matt         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  low          |   Milestone:  4.2
Component:  Editor       |     Version:  trunk
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+-------------------------
Changes (by azaozz):

 * milestone:  Awaiting Review => 4.2


Comment:

 31571.patch is looking good. Only thinking we should look at what exactly
 is selected and check that the selection is not inside a link already.

 It is possible to select several paragraphs and turn them into a link, not
 sure we want that whit this method. Also, we (probably) want to support
 that when an image is selected, need to exclude placeholder images, etc.

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


More information about the wp-trac mailing list