-
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
1 parent
b18757c
commit 698d39d
Showing
8 changed files
with
485 additions
and
10 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
23 changes: 23 additions & 0 deletions
23
test/integration/fixtures/blocks/core__query__deprecated-3.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,23 @@ | ||
<!-- wp:query {"queryId":3,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide","style":{"color":{"background":"#284d5f"},"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"pale-cyan-blue"} --> | ||
<div class="wp-block-query alignwide has-pale-cyan-blue-color has-text-color has-background has-link-color" style="background-color:#284d5f"><!-- wp:post-template {"fontSize":"large"} --> | ||
<!-- wp:post-title /--> | ||
|
||
<!-- wp:post-date /--> | ||
|
||
<!-- wp:post-excerpt /--> | ||
<!-- /wp:post-template --> | ||
|
||
<!-- wp:query-pagination --> | ||
<!-- wp:query-pagination-previous /--> | ||
|
||
<!-- wp:query-pagination-numbers /--> | ||
|
||
<!-- wp:query-pagination-next /--> | ||
<!-- /wp:query-pagination --> | ||
|
||
<!-- wp:query-no-results --> | ||
<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} --> | ||
<p>No results found.</p> | ||
<!-- /wp:paragraph --> | ||
<!-- /wp:query-no-results --></div> | ||
<!-- /wp:query --> |
151 changes: 151 additions & 0 deletions
151
test/integration/fixtures/blocks/core__query__deprecated-3.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,151 @@ | ||
[ | ||
{ | ||
"name": "core/query", | ||
"isValid": true, | ||
"attributes": { | ||
"queryId": 3, | ||
"query": { | ||
"perPage": 3, | ||
"pages": 0, | ||
"offset": 0, | ||
"postType": "post", | ||
"order": "desc", | ||
"orderBy": "date", | ||
"author": "", | ||
"search": "", | ||
"exclude": [], | ||
"sticky": "", | ||
"inherit": false | ||
}, | ||
"tagName": "div", | ||
"displayLayout": { | ||
"type": "flex", | ||
"columns": 3 | ||
}, | ||
"align": "wide" | ||
}, | ||
"innerBlocks": [ | ||
{ | ||
"name": "core/post-template", | ||
"isValid": true, | ||
"attributes": { | ||
"textColor": "pale-cyan-blue", | ||
"fontSize": "large", | ||
"style": { | ||
"color": { | ||
"background": "#284d5f" | ||
}, | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var:preset|color|luminous-vivid-amber" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"innerBlocks": [ | ||
{ | ||
"name": "core/post-title", | ||
"isValid": true, | ||
"attributes": { | ||
"level": 2, | ||
"isLink": false, | ||
"rel": "", | ||
"linkTarget": "_self" | ||
}, | ||
"innerBlocks": [] | ||
}, | ||
{ | ||
"name": "core/post-date", | ||
"isValid": true, | ||
"attributes": { | ||
"isLink": false, | ||
"displayType": "date" | ||
}, | ||
"innerBlocks": [] | ||
}, | ||
{ | ||
"name": "core/post-excerpt", | ||
"isValid": true, | ||
"attributes": { | ||
"showMoreOnNewLine": true | ||
}, | ||
"innerBlocks": [] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "core/query-pagination", | ||
"isValid": true, | ||
"attributes": { | ||
"paginationArrow": "none", | ||
"textColor": "pale-cyan-blue", | ||
"style": { | ||
"color": { | ||
"background": "#284d5f" | ||
}, | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var:preset|color|luminous-vivid-amber" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"innerBlocks": [ | ||
{ | ||
"name": "core/query-pagination-previous", | ||
"isValid": true, | ||
"attributes": {}, | ||
"innerBlocks": [] | ||
}, | ||
{ | ||
"name": "core/query-pagination-numbers", | ||
"isValid": true, | ||
"attributes": {}, | ||
"innerBlocks": [] | ||
}, | ||
{ | ||
"name": "core/query-pagination-next", | ||
"isValid": true, | ||
"attributes": {}, | ||
"innerBlocks": [] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "core/query-no-results", | ||
"isValid": true, | ||
"attributes": { | ||
"textColor": "pale-cyan-blue", | ||
"style": { | ||
"color": { | ||
"background": "#284d5f" | ||
}, | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var:preset|color|luminous-vivid-amber" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"innerBlocks": [ | ||
{ | ||
"name": "core/paragraph", | ||
"isValid": true, | ||
"attributes": { | ||
"content": "No results found.", | ||
"dropCap": false, | ||
"placeholder": "Add text or blocks that will display when a query returns no results." | ||
}, | ||
"innerBlocks": [] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.