Skip to content

Commit

Permalink
Fix the block serialization tests (#54570)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski authored Sep 18, 2023
1 parent a319bfd commit e3eb81b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<!-- wp:image {"lightbox":{"enabled":true},"id":8,"sizeSlug":"large","linkDestination":"none"} -->
<!-- wp:image {"behaviors":{"lightbox":{"enabled": true, "animation": "fade"}},"id":8,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==" alt="" class="wp-image-8"/></figure>
<!-- /wp:image -->
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",
"alt": "",
"caption": "",
"lightbox": {
"enabled": true
},
"id": 8,
"sizeSlug": "large",
"linkDestination": "none"
"linkDestination": "none",
"lightbox": {
"enabled": true
}
},
"innerBlocks": []
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
{
"blockName": "core/image",
"attrs": {
"lightbox": {
"enabled": true
"behaviors": {
"lightbox": {
"enabled": true,
"animation": "fade"
}
},
"id": 8,
"sizeSlug": "large",
Expand Down

0 comments on commit e3eb81b

Please sign in to comment.