Ticket #183 (closed defect: wontfix)
unwrap() functions removes too much tags
| Reported by: | Jems | Owned by: | jf.hovinne | 
|---|---|---|---|
| Priority: | critical | Milestone: | 0.5 | 
| Component: | editor | Version: | trunk | 
| Keywords: | Cc: | 
Description
The unwrap() function seems to remove all the selected tags, including lines breaks, horizontal rules and blocs like P, H1-6, PRE...
For example, create 1 heading and 2 paragraphs (including BR and HR), select all the texte and execute the unwrap() function : all the text is now in a single paragraph and the breaks (BR HR) are removed.
Tested with FF 3.0.11 and IE 6.0.29
Change History
Note: See
        TracTickets for help on using
        tickets.
    
The current unwrap implementation removes all formating, better SAPI coming in 2.0.