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

WordPress Trac noreply at wordpress.org
Sat May 4 08:40:13 UTC 2013


#17154: TinyMCE inserts spans with font-styles atributes
-------------------------------+------------------------------
 Reporter:  thomask            |       Owner:
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  TinyMCE            |     Version:  3.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by azaozz):

 Did more digging. Seems WebKit compares the text styling before/after when
 executing native contenteditable commands that deal with blocks, like
 inserting or removing lists, merging paragraphs, etc. If there are any
 differences, it inserts a <span> with inline style to "fix" them...

 17154-2.patch​ attempts to remove these differences in most cases,
 especially when inserting and removing <ul> and <ol>.

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


More information about the wp-trac mailing list