[wp-trac] [WordPress Trac] #23010: In WebKit TinyMCE may remove all spans when merging nodes with backspace

WordPress Trac noreply at wordpress.org
Wed Dec 19 23:45:53 UTC 2012


#23010: In WebKit TinyMCE may remove all spans when merging nodes with backspace
--------------------+--------------------------
 Reporter:  azaozz  |       Type:  defect (bug)
   Status:  new     |   Priority:  normal
Milestone:  3.6     |  Component:  TinyMCE
  Version:  3.5     |   Severity:  normal
 Keywords:          |
--------------------+--------------------------
 To reproduce:

 - Make a test post with couple of paragraphs.
 - Add some text colors (to a word or whole sentence). The colors are added
 as `<span style="color:...">` around the selected text.
 - At the end of the post, press Enter and then immediately press
 backspace.

 At this point all text colors disappear. Looking at the html, all spans
 have been stripped from the content. Caused by the fix for WebKit quirk
 with backspace (WebKit inserts lots of junk when merging the nodes on
 backspace).

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


More information about the wp-trac mailing list