-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4916 from WordPress/try/fix-codepen-embed-width
Fix codepen embeds width
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
This component is used to embed embeds! | ||
|
||
#### To test | ||
|
||
Embed the following: | ||
|
||
- Short tweet: https://twitter.com/notnownikki/status/876229494465581056 | ||
- Long tweet with media: https://twitter.com/PattyJenks/status/874034832430424065 | ||
- Video: https://www.youtube.com/watch?v=PfKUdmTq2MI | ||
- Photo: https://cloudup.com/cQFlxqtY4ob | ||
- Long tumblr post: http://doctorwho.tumblr.com/post/162052108791 | ||
- Create a custom html block with the following content: <img src="https://cldup.com/G3fFjtKEKe-3000x3000.jpeg"> | ||
|
||
This tests that HTML is written into the sandbox correctly in all cases, and that sites that do responsive resizes (e.g. tumblr) don't mess up when put into a small iframe that is also trying to resize. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters