[wp-trac] [WordPress Trac] #15111: Color selection spans no longer nest inside links

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 13 15:15:20 UTC 2010


#15111: Color selection spans no longer nest inside links
--------------------------+-------------------------------------------------
 Reporter:  markel        |       Owner:  azaozz         
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.1            
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 Tested in most recent nightly (as of 10/13/10).

 When adding a text color to a link, the span tags are placed outside the
 link, like this:

 {{{
 <span style="color: #339966;"><a
 href="http://wordpress.org/">link</a></span>
 }}}

 The previous behavior (confirmed in 2.9.2) was to nest the span tags
 within the link, like this:

 {{{
 <a href="http://wordpress.org/"><span style="color:
 #339966;">link</span></a>
 }}}

 Users can no longer influence the color of a link using only the Visual
 Editor.

 Steps to reproduce/test against other versions:

  1. Add some text.
  2. Make it into a link using the Visual Editor.
  3. Select the text again and select a color for it using the Visual
 Editor.

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


More information about the wp-trac mailing list