-
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.
- Loading branch information
Showing
4 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
test/integration/fixtures/blocks/core__cover__deprecated-14.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- wp:cover {"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==","id":36,"dimRatio":50,"overlayColor":"base","isUserOverlayColor":true,"isDark":false,"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-cover is-light has-no-zindex-in-inner-blocks"><img class="wp-block-cover__image-background wp-image-36" alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} --> | ||
<p class="has-text-align-center has-large-font-size"></p> | ||
<!-- /wp:paragraph --></div></div> | ||
<!-- /wp:cover --> |
37 changes: 37 additions & 0 deletions
37
test/integration/fixtures/blocks/core__cover__deprecated-14.json
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,37 @@ | ||
[ | ||
{ | ||
"name": "core/cover", | ||
"isValid": true, | ||
"attributes": { | ||
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", | ||
"useFeaturedImage": false, | ||
"id": 36, | ||
"alt": "", | ||
"hasParallax": false, | ||
"isRepeated": false, | ||
"dimRatio": 50, | ||
"overlayColor": "base", | ||
"isUserOverlayColor": true, | ||
"backgroundType": "image", | ||
"isDark": false, | ||
"tagName": "div", | ||
"layout": { | ||
"type": "constrained" | ||
} | ||
}, | ||
"innerBlocks": [ | ||
{ | ||
"name": "core/paragraph", | ||
"isValid": true, | ||
"attributes": { | ||
"align": "center", | ||
"content": "", | ||
"dropCap": false, | ||
"placeholder": "Write title…", | ||
"fontSize": "large" | ||
}, | ||
"innerBlocks": [] | ||
} | ||
] | ||
} | ||
] |
37 changes: 37 additions & 0 deletions
37
test/integration/fixtures/blocks/core__cover__deprecated-14.parsed.json
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,37 @@ | ||
[ | ||
{ | ||
"blockName": "core/cover", | ||
"attrs": { | ||
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==", | ||
"id": 36, | ||
"dimRatio": 50, | ||
"overlayColor": "base", | ||
"isUserOverlayColor": true, | ||
"isDark": false, | ||
"layout": { | ||
"type": "constrained" | ||
} | ||
}, | ||
"innerBlocks": [ | ||
{ | ||
"blockName": "core/paragraph", | ||
"attrs": { | ||
"align": "center", | ||
"placeholder": "Write title…", | ||
"fontSize": "large" | ||
}, | ||
"innerBlocks": [], | ||
"innerHTML": "\n\t<p class=\"has-text-align-center has-large-font-size\"></p>\n\t", | ||
"innerContent": [ | ||
"\n\t<p class=\"has-text-align-center has-large-font-size\"></p>\n\t" | ||
] | ||
} | ||
], | ||
"innerHTML": "\n<div class=\"wp-block-cover is-light has-no-zindex-in-inner-blocks\"><img class=\"wp-block-cover__image-background wp-image-36\" alt=\"\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-base-background-color has-background-dim\"></span><div class=\"wp-block-cover__inner-container\"></div></div>\n\t", | ||
"innerContent": [ | ||
"\n<div class=\"wp-block-cover is-light has-no-zindex-in-inner-blocks\"><img class=\"wp-block-cover__image-background wp-image-36\" alt=\"\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-base-background-color has-background-dim\"></span><div class=\"wp-block-cover__inner-container\">", | ||
null, | ||
"</div></div>\n\t" | ||
] | ||
} | ||
] |
5 changes: 5 additions & 0 deletions
5
test/integration/fixtures/blocks/core__cover__deprecated-14.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- wp:cover {"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==","id":36,"dimRatio":50,"overlayColor":"base","isUserOverlayColor":true,"isDark":false,"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-cover is-light has-no-zindex-in-inner-blocks"><img class="wp-block-cover__image-background wp-image-36" alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"center","placeholder":"Write title…","fontSize":"large"} --> | ||
<p class="has-text-align-center has-large-font-size"></p> | ||
<!-- /wp:paragraph --></div></div> | ||
<!-- /wp:cover --> |