[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
Wed Mar 11 10:49:25 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:  azaozz
     Type:  enhancement  |      Status:  reopened
 Priority:  low          |   Milestone:  4.2
Component:  TinyMCE      |     Version:  trunk
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+-------------------------
Changes (by iseulde):

 * keywords:  needs-patch => has-patch


Comment:

 Played a bit with the formatter and `data-mce-contenteditable="false"`,
 but there doesn't seem to be an easy way to ignore certain elements. So
 better to remove that part. After all placeholders could be linked before
 using the button.

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


More information about the wp-trac mailing list