[wp-trac] [WordPress Trac] #28087: TinyMCE paste includes style color

WordPress Trac noreply at wordpress.org
Thu May 1 00:58:29 UTC 2014


#28087: TinyMCE paste includes style color
--------------------------+-----------------------------
 Reporter:  Ipstenu       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When I copy and paste from a webpage, it puts in the colors. This sounds
 like it's fine, but it does it even if no color is specified in the html.
 So if I copy from a 'normal' page where CSS sets the color to black, I get
 this:

 {{{
 <p style="color: #000000;">....</p>
 }}}

 That causes unexpected results with regards to my theme design (like
 breaking blockquotes).

 I tested on 3.9 and trunk, and then at
 http://www.tinymce.com/tryit/basic.php

 On tinyMCE.com it does not force insert the color. This did not happen on
 3.8.x

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28087>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list