[wp-trac] [WordPress Trac] #11616: Text copied form visual editor don't store font color

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 26 07:11:44 UTC 2011


#11616: Text copied form visual editor don't store font color
------------------------------------+-----------------------------
 Reporter:  warsheep                |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Formatting              |     Version:  2.9
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------------
Changes (by solarissmoke):

 * keywords:   => has-patch dev-feedback


Comment:

 You have to set the option `paste_retain_style_properties` for the TinyMCE
 paste plugin to retain styles copied from Word - which we currently don't
 (it seems like the plugin defaults must have changed at some point if it
 used to work before).

 I've added a patch that does this, however you have to disable two other
 options - `paste_remove_styles` and `paste_remove_spans` - for it to work.
 This could cause unintended side-effects, so I'm not sure it's a good
 idea.

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


More information about the wp-trac mailing list