-
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.
Set aspect ratio preserving CSS on previews with fixed size iframes (#…
- Loading branch information
1 parent
0b0342c
commit 8d46362
Showing
7 changed files
with
178 additions
and
54 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
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
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
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<!-- wp:core/embed {"url":"https://example.com/"} --> | ||
<figure class="wp-block-embed"> | ||
https://example.com/ | ||
<div class="wp-block-embed__wrapper"> | ||
https://example.com/ | ||
</div> | ||
<figcaption>Embedded content from an example URL</figcaption> | ||
</figure> | ||
<!-- /wp:core/embed --> |
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
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
4 changes: 2 additions & 2 deletions
4
test/integration/full-content/fixtures/core__embed.serialized.html
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!-- wp:embed {"url":"https://example.com/"} --> | ||
<figure class="wp-block-embed"> | ||
<figure class="wp-block-embed"><div class="wp-block-embed__wrapper"> | ||
https://example.com/ | ||
<figcaption>Embedded content from an example URL</figcaption></figure> | ||
</div><figcaption>Embedded content from an example URL</figcaption></figure> | ||
<!-- /wp:embed --> |