remove iframe width & height
See original GitHub issueplugins: 'media',
valid_elements : 'span,iframe[!src|width|height|frameborder:0|allowfullscreen]',
when insert youtube iframe, width and height removed, if remove “span” from valid_elements , all ok http://codepen.io/anon/pen/kXJEkQ
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Make iframe automatically adjust height according to the ...
This question already has answers here: Adjust width and height of iframe ...
Read more >Height adjustment on iFrame - Remove scrolling. - Jotform
Height adjustment on iFrame - Remove scrolling. · The first method is to modify the style of the current iFrame: · style=" ·...
Read more >Remove iFrame Border and Change Size - Caspio Online Help
When using iFrame deployment you may want to change the default height and width and remove the iFrame border. Remove iFrame border. To...
Read more >How to adjust the width and height of iframe to fit with content ...
Another way set the height and width of the iframe to fit with content is to use resize property of CSS, this method...
Read more >removing height and width from iframe embed code
I'm attempting to embed some iframe code that doesn't have any height or width info associated with it which is the way I...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
span[*]
looks like fix problem but not secure…When using
valid_classes
, you must also add'span': 'mce-preview-object mce-object-iframe mce-shim'
to the list