Skip to content

Commit

Permalink
Block Library: Add Comments Pagination fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
DAreRodz authored and Carlos Bravo committed Nov 25, 2021
1 parent dad0338 commit e845a21
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
@@ -0,0 +1 @@
<!-- wp:comments-pagination {"paginationArrow":"chevron","textColor":"black","style":{"color":{"gradient":"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)"},"elements":{"link":{"color":{"text":"#ffffff"}}}},"layout":{"type":"flex","orientation":"horizontal","justifyContent":"center"}} -->
30 changes: 30 additions & 0 deletions test/integration/fixtures/blocks/core__comments-pagination.json
@@ -0,0 +1,30 @@
[
{
"clientId": "_clientId_0",
"name": "core/comments-pagination",
"isValid": true,
"attributes": {
"paginationArrow": "chevron",
"textColor": "black",
"style": {
"color": {
"gradient": "linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)"
},
"elements": {
"link": {
"color": {
"text": "#ffffff"
}
}
}
},
"layout": {
"type": "flex",
"orientation": "horizontal",
"justifyContent": "center"
}
},
"innerBlocks": [],
"originalContent": ""
}
]
@@ -0,0 +1,29 @@
[
{
"blockName": "core/comments-pagination",
"attrs": {
"paginationArrow": "chevron",
"textColor": "black",
"style": {
"color": {
"gradient": "linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)"
},
"elements": {
"link": {
"color": {
"text": "#ffffff"
}
}
}
},
"layout": {
"type": "flex",
"orientation": "horizontal",
"justifyContent": "center"
}
},
"innerBlocks": [],
"innerHTML": "",
"innerContent": []
}
]
@@ -0,0 +1 @@
<!-- wp:comments-pagination {"paginationArrow":"chevron","textColor":"black","style":{"color":{"gradient":"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)"},"elements":{"link":{"color":{"text":"#ffffff"}}}},"layout":{"type":"flex","orientation":"horizontal","justifyContent":"center"}} /-->

0 comments on commit e845a21

Please sign in to comment.