[wp-trac] [WordPress Trac] #17764: TinyMCE breaks the autoembed feature

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 11 15:32:59 UTC 2011


#17764: TinyMCE breaks the autoembed feature
--------------------------+-----------------------------
 Reporter:  dzver         |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  2.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------
Changes (by azaozz):

 * keywords:  has-patch => needs-patch
 * version:  3.1 => 2.0
 * milestone:  3.2 => Future Release


Comment:

 This is not a regression, it's been around since we started using TinyMCE
 (WordPress 2.0) and yes, it is a feature in IE. In other browsers it
 depends on what you copy: if you copy "link location" it pastes it as text
 but if you copy linked text (that can be the actual URL) it pastes it as a
 link.

 Both of the above patches would fix this in IE but at the same time would
 convert to text some links too. They also need to test whether the href ==
 linked text. Perhaps doing this in PHP is better as we know what URLs to
 look for and only convert for them.

 There is an easy workaround: after the URL is converted, click on it and
 click on "Remove Link" button. Since this is not critical bug or
 regression, moving to 3.3.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17764#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list