[wp-trac] [WordPress Trac] #17964: Underlined text is gone when copied.

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 9 06:49:24 UTC 2011


#17964: Underlined text is gone when copied.
--------------------------+------------------------------
 Reporter:  JonezJeA      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by solarissmoke):

 This is a consequence of the `paste_remove_spans` option being set to
 `true`. Bold and italic text are marked up using `<strong>` and `<em>`,
 but underlining is done using inline styles in a `<span>`, and these are
 stripped when pasting.

 Can't see any easy solution, as changing `paste_remove_spans` to false
 will mess with pasting from word processors.

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


More information about the wp-trac mailing list