Opened 23 months ago
Last modified 21 months ago
#17964 new defect (bug)
Underlined text is gone when copied.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | TinyMCE | Version: | 3.2.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
If you underline a piece of text and you select it to copy/paste it on another spot at the page or post the line under the text is gone.
This bug doesn't appear with bold or italic text.
Change History (2)
Note: See
TracTickets for help on using
tickets.

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.