-
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
Embeds: WordPress Embeds not properly previewed in Editor #25344
Comments
Related #21945 |
Thanks for adding the issue @ockham Bernie! What we need is to be able to view the result of the embed in the backend as we can see it on the frontend. Here is a kind of overview.... @desaiuditd Udit has been working on embeds. At the moment we can transform an embed into a Paragraph through the Transform panel. Below are various issues. I believe we need a developer to look through to see where the forward path goes. I have lost track and feel a bit lost in the forest. Embed issues: |
Great description and investigation made here! I created a draft PR for now here: #25370 and I'll work on it (still WIP).
@paaljoachim while this sounds good, I believe it's something for an issue of its own. It seems to be another flow for how we try to transform links to I think we should prioritize in this issue about fixing the bug to have front-end/back-end rendering parity. |
Describe the bug
WordPress Embeds are rendered quite differently in the Editor than on the frontend.
To reproduce
Steps to reproduce the behavior:
Expected behavior
The WordPress Embed should be inserted, as seen on the frontend.
Screenshots
Editor:
Frontend:
Editor version (please complete the following information):
Additional context
Found by @david-szabo97 here: Automattic/wp-calypso#39935 (comment). Quoting that comment:
So it seems we need to load that
wp-embed.js
in the editor to make things work? 🤔This issue also discussed as part of #21029, and in bobbingwide/oik#158 (although with a somewhat different conclusion, IIRC).
cc/ @mcsf @ntsekouras @paaljoachim @bobbingwide
The text was updated successfully, but these errors were encountered: