-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pasting a New York Times URL results in an embed that is partially displayed #13000
Comments
I have the same problem. Also when clicking on a link, nothing happens. |
Related #15102 |
This has changed somewhat in that the (non-WordPress) NY Times URL is detected as a WordPress embed block and results in the following code:
The display itself still appears broken as originally reported. |
I think this should probably be raised as a Core ticket instead as the embed HTML is not generated by Gutenberg itself but by the Oembed REST API. |
Thanks @paaljoachim |
I think the underlying issue is captured in https://core.trac.wordpress.org/ticket/49173 In particular, the Kses call in |
It would be great to get some movement on this issu @desaiuditd has merged one issue in that we are now able to use a transform of an existing embed to a paragraph block (text link). We are working on another option to also convert existing embeds here: #21789 But this issue we are talking about here is different. |
Closing this because I'm pretty sure it's now https://core.trac.wordpress.org/ticket/49185 |
Describe the bug
When I paste
https://www.nytimes.com/2018/12/18/technology/walt-mossberg-quit-facebook.html
into a new post, WordPress attempts to use oEmbed to display the article, but instead just shows a partial thumbnail.If I inspect with developer tools and remove the
height: auto;
that NYT delivers with the iFrame viaarticle.story .media .image img
, then I do see that other content is available, it's just not being displayed.To Reproduce
Steps to reproduce the behavior:
https://www.nytimes.com/2018/12/18/technology/walt-mossberg-quit-facebook.html
into the first (or any) paragraph block.Expected behavior
To be honest, I would expect that a pasted NYT URL does not embed automatically, but I'm probably in the minority.
The real expectation is probably that the embedded content appears in full.
Screenshots
Desktop (please complete the following information):
Additional context
Using WordPress 5.0.1
The text was updated successfully, but these errors were encountered: