[wp-trac] [WordPress Trac] #19482: Cannot link a floated image in visual editor

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 8 20:57:00 UTC 2011

#19482: Cannot link a floated image in visual editor
 Reporter:  jcross        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  3.2.1
 Severity:  normal        |   Keywords:
 I have tried this in WP 3.2.1 and 3.3RC2 with the same results in both.

 Create a new post or page, then do the following in the page's content box
 (in the visual editor):
 1. Upload an image, or select one already in your media library
 2. Float the image (left, right, or center)
 4. Empty the Link URL field
 5. "Insert into post" button
 6. Click the image you just placed. Click Edit Image icon that overlays on
 7. Add a URL to a website or file, or click “link to image” in the URL
 8 Click Update. Then, either look at the HTML or edit the image again to
 confirm if the tag has been wrapped appropriately.

 In my experience, the combo of floating an image without a URL, then
 trying to add a URL after the fact results in the editor not wrapping the
 <img> in the appropriate anchor tags.

 Can anyone else confirm this?

Ticket URL: <http://core.trac.wordpress.org/ticket/19482>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list