Ticket #1150 (closed enhancement: fixed)
synchronize "Remove Format" between browsers
| Reported by: | ray | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.95 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Expected behaviour:
- remove font tags
- remove inline styles
- remove [empty] spans
- work on selection, if there's one; otherwise work on whole document
Observed behaviour:
- IE: only removes font tags from selection; no operation when no selection
- Gecko removes font/span, leaves inline stlye; no operation when no selection
- Safari tends to add new inline styles/font tags with what it thinks is "normal" style (Times New Roman). That's of course the worst case
After update:
IE: unchanged with selection; whole document cleaned without selection Gecko/Safari: Clean selection or whole document
Change History
Note: See
TracTickets for help on using
tickets.
