Opened 13 years ago
Closed 12 years ago
#23438 closed defect (bug) (invalid)
iframe dimensions getting broken when clicking "remove formatting" icon in TinyMCE
| Reported by: | rubberduck | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | TinyMCE | Version: | 3.3.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
@
13 years ago
- Component General → TinyMCE
- Keywords reporter-feedback added
- Severity critical → normal
- Could you provide an example of that content to reproduce the issue?
- Does the issue still exist in 3.5?
#2
@
12 years ago
- Keywords reporter-feedback removed
- Milestone Awaiting Review
- Resolution → invalid
- Status new → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)