Opened 3 years ago
Last modified 3 years ago
#53573 new defect (bug)
Non-WP Blog Embeds are being cropped.
Reported by: | mdwolinski | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.7.2 |
Component: | Embeds | Keywords: | needs-testing |
Focuses: | ui, css | Cc: |
Description
When adding an embed for a non-WP blog post, for example, a NY Times story, the enclosing iFrame is not getting a default height set to it, which is causing the embed to crop off most of the information.
Issue seems to be the iframe generated is not expanding to include all of the content from the embed. If I manually set height: 400px; on the iframe, for example, it shows the content. However, the bottom is still cut off (seems the height of the embed in this case is 457px). The ma.tt embed in the screenshot has a height as an attribute of the iframe, the NYTimes does not.
@mamaduka tested this issue in both the Block Editor and Classic Editor with similar results. See comment here: https://github.com/WordPress/gutenberg/issues/28490
Current result of adding NY Times post Embed