[wp-trac] [WordPress Trac] #17155: TinyMCE inserts spans with font-styles atributes

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 17 12:04:39 UTC 2011


#17155: TinyMCE inserts spans with font-styles atributes
--------------------------+-----------------------------
 Reporter:  thomask       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  3.1
 Severity:  major         |   Keywords:  needs-patch
--------------------------+-----------------------------
 This is continuation of #14218 which seems to be not fixed in 3.1 and
 still exist even in current 3.2. Reproducing steps
 1. Open WP in latest Chrome (any version) - and probably also in other
 webkit browsers
 2. Create new post
 3. create UL with clicking on bullet icon
 4. type some Li elements
 5. close ul with <- icon (in advanced tinymce line)
 6. type some text
 7. switch to html view or publish article and see the code, you will see
 something like

 {{{
 asdfasdfh
 <ul>
         <li>asfasdfa</li>
         <li>asdfa</li>
         <li>asfd</li>
 </ul>
 <span style="font-size: small;"><span class="Apple-style-span" style
 ="line-height: 24px;">adfasdfasd</span></span>

 <span style="font-size: small;"><span class="Apple-style-span" style
 ="line-height: 24px;">asfasd</span></span>

 <span style="font-size: small;"><span class="Apple-style-span" style
 ="line-height: 24px;">
 </span></span>
 }}}

 P.S.: i can't select Version 3.2 in the bug report properties

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


More information about the wp-trac mailing list