Open
Bug 529370
Opened 15 years ago
Updated 3 years ago
Unable to copy INS and DEL formatting tags
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: zmeuldumy, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5 Formatting tags like INS and DEL are not preserved when a text is copied and pasted in the same page. Reproducible: Always Steps to Reproduce: 1. Go to the Midas demo page. 2. Switch to "View HTML Source". 3. Set the content to: <strong>abc <ins>123</ins> xyz</strong> after 4. Uncheck "View HTML Source". 5. Copy "2" from "123" and paste it anywhere inside "after". Actual Results: <strong>abc <ins>123</ins> xyz</strong> afte<strong>2</strong>r As you can see, only the STRONG tag had been copied. Expected Results: <strong>abc <ins>123</ins> xyz</strong> afte<strong><ins>2</ins></strong>r I think Midas doesn't copy formatting tags that are not "strictly" in-line. We know that INS and DEL elements can contain block-level elements. For instance, if we use CSS instead of formatting tags: <strong>abc <span style="text-decoration: underline;">123</span> xyz</strong> after the underline style is copied along with the bold style: <strong>abc <span style="text-decoration: underline;">123</span> xyz</strong> afte<strong><span style="text-decoration: underline;">2</span></strong>r
Comment 1•3 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•