[wp-trac] [WordPress Trac] #53573: Non-WP Blog Embeds are being cropped.
WordPress Trac
noreply at wordpress.org
Thu Jul 1 12:21:38 UTC 2021
#53573: Non-WP Blog Embeds are being cropped.
--------------------------+-----------------------------
Reporter: mdwolinski | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.7.2
Severity: normal | Keywords:
Focuses: ui, css |
--------------------------+-----------------------------
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]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53573>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list