Opened 12 years ago
Closed 10 years ago
#23438 closed defect (bug) (invalid)
iframe dimensions getting broken when clicking "remove formatting" icon in TinyMCE
Reported by: | rubberduck | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3.2 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
I copy-pasted existing HTML content into the Visual editor, then clicked "Remove Formatting" to clean it up a bit. However, this broke the dimensions of the iframes I had in the code, changing the widths of iframes from 120px to 320px (320px seems to be the default that WP uses every time). I think the original width was in a "style" tag, but WP seems to have removed it from the iframe - I don't need that removed! It's costing us lots of effort to manually go back and fix every iframe.
Change History (5)
#1
@
12 years ago
- Component changed from General to TinyMCE
- Keywords reporter-feedback added
- Severity changed from critical to normal
- Could you provide an example of that content to reproduce the issue?
- Does the issue still exist in 3.5?
#2
@
10 years ago
- Keywords reporter-feedback removed
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
"Remove Formatting" will remove all inline style tags. If you really want to set the iframe dimensions and use that button, use the height and width attributes.
Note: See
TracTickets for help on using
tickets.