[wp-trac] [WordPress Trac] #26975: TinyMCE adding inline line-height styles and spans

WordPress Trac noreply at wordpress.org
Mon Feb 3 17:52:12 UTC 2014


#26975: TinyMCE adding inline line-height styles and spans
--------------------------+------------------------------
 Reporter:  lumpysimon    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  3.8.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by azaozz):

 > ...strips out all occurrences of `style="line-height: 1.5;"`

 The exact inline styles depend on all styles applied inside the editor,
 including the theme's editor-style.css, so they vary from site to site.
 The bad part is some may be added by the user, like font-face and color,
 but line-height is definitely safe to remove.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26975#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list