[wp-trac] [WordPress Trac] #23461: Tiny MCE adds line-height style when using the ordered or unordered list button

WordPress Trac noreply at wordpress.org
Fri Feb 15 19:06:12 UTC 2013


#23461: Tiny MCE adds line-height style when using the ordered or unordered list
button
--------------------------+------------------------------
 Reporter:  eurello       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by azaozz):

 Confirmed in Chrome 24.0.1312.57 Win7.

 This is a long standing bug in WebKit: in contenteditable mode it adds
 spans with the browser calculated styling (browser cruft), lots of them.
 TinyMCE tries to remove all but it seems the latest Chrome/Safari found a
 way to still add some...

 The actual styles depend on the theme used and come from editor-style.css.
 In Twenty Ten it only adds `<span style="line-height: 16px;">...</span>`.
 Unfortunately we can't do much about it short of filing Chrome bug report,
 this has to be fixed upstream.

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


More information about the wp-trac mailing list