Skip to content
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

Sandbox embedded previews #1348

Closed
notnownikki opened this issue Jun 21, 2017 · 1 comment
Closed

Sandbox embedded previews #1348

notnownikki opened this issue Jun 21, 2017 · 1 comment
Labels
[Feature] Blocks Overall functionality of blocks
Projects

Comments

@notnownikki
Copy link
Member

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.

@youknowriad
Copy link
Contributor

Closed in #1392

@kopepasah kopepasah moved this from Backlog to Done in Blocks Aug 9, 2017
youknowriad pushed a commit that referenced this issue Jan 17, 2020
youknowriad pushed a commit that referenced this issue Jan 17, 2020
…rg-mobile into add/autosave-monitor

* 'develop' of https://github.com/wordpress-mobile/gutenberg-mobile:
  [iOS]Fix: Oddly formatted text hangs Gutenberg (#1352)
  Remove redundant bg color within button appender (#1348)
  Update bundles
  Update package.json version to 1.12.0

# Conflicts:
#	bundle/android/App.js
#	bundle/android/App.js.map
#	bundle/ios/App.js
#	bundle/ios/App.js.map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks
Projects
No open projects
Development

No branches or pull requests

3 participants