#17964 closed defect (bug) (wontfix)
Underlined text is gone when copied.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.2.1 |
| Component: | TinyMCE | Keywords: | |
| Focuses: | 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 (6)
#3
@
12 years ago
- Resolution set to invalid
- Status changed from new to closed
Im closing. if anyone thinks we should only enable paste_remove_spans on paste from word please reopen.
#5
@
12 years ago
- Resolution changed from invalid to wontfix
Changing to wontfix β this isn't invalid, we just don't intend to address it. That said, I wonder if it is possible to keep underlines but discard all other spans. Going to ask azaozz to take a look.
#6
@
12 years ago
Think wontfix is proper here. It's much better to clean up pasted content, no matter where it comes from.
The only way this could work is if we enable the <u> tag. It is once again βvalid in HTML 5 after being deprecated in HTML 4 and XHTML 1, however its purpose/description has changed:
The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation...
This is a consequence of the
paste_remove_spansoption being set totrue. 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_spansto false will mess with pasting from word processors.