Make WordPress Core

Opened 14 months ago

Last modified 14 months ago

#23438 new defect (bug)

iframe dimensions getting broken when clicking "remove formatting" icon in TinyMCE

Reported by: rubberduck Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.3.2
Component: TinyMCE Keywords: reporter-feedback
Focuses: Cc:


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 (1)

comment:1 SergeyBiryukov14 months ago

  • Component changed from General to TinyMCE
  • Keywords reporter-feedback added
  • Severity changed from critical to normal

I copy-pasted existing HTML content into the Visual editor

  1. Could you provide an example of that content to reproduce the issue?
  2. Does the issue still exist in 3.5?
Note: See TracTickets for help on using tickets.