[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:45:57 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
-------------------------+-------------------------

Comment (by iseulde):

 > Only thinking we should look at what exactly is selected and check that
 the selection is not inside a link already.
 So if there's a link already, it should insert, not update? I think
 updating is fine. :)

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


More information about the wp-trac mailing list