-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Sandbox embedded previews #1348
Copy link
Copy link
Closed
Labels
[Feature] BlocksOverall functionality of blocksOverall functionality of blocks
Description
At the moment, we're just injecting embedded content previews into the main editor document. We need to move over to using sandboxed iframes for this.
It's not as simple as it sounds, as we need to resize the iframe to show the full content of the preview and Calypso has a resizing iframe that attempts to do that, but some sites, like Tumblr, start resizing the content to fit the container, while the iframe is also resizing, and it all messes up.
Calypso has extra code to properly calculate the size of embedded content in the editor, which we should look at, and replace the current implementation of HtmlEmbed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] BlocksOverall functionality of blocksOverall functionality of blocks
Type
Fields
Give feedbackNo fields configured for issues without a type.