mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Block Editor: Package updates for WordPress 5.8 beta 1 (batch2).
This includes the following fixes: - Fix inspector opening when clicking outside the widget areas - Assume light theme when a transparent background is used - Make Post blocks non editable inside Query block - Rename QueryLoop to PostTemplate block Props ntsekouras. See #52991. git-svn-id: https://develop.svn.wordpress.org/trunk@51101 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -11,13 +11,13 @@ return array(
|
||||
'categories' => array( 'query' ),
|
||||
'content' => '<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:query-loop -->
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
|
||||
<main class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-excerpt {"wordCount":20} /-->
|
||||
<!-- wp:post-date /--></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:query-loop -->
|
||||
<!-- /wp:post-template -->
|
||||
</div>
|
||||
<!-- /wp:query -->',
|
||||
);
|
||||
|
||||
@@ -11,7 +11,7 @@ return array(
|
||||
'categories' => array( 'query' ),
|
||||
'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"100px","right":"100px","bottom":"100px","left":"100px"}},"color":{"text":"#ffffff","background":"#000000"}}} -->
|
||||
<div class="wp-block-group alignfull has-text-color has-background" style="background-color:#000000;color:#ffffff;padding-top:100px;padding-right:100px;padding-bottom:100px;padding-left:100px"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||
<div class="wp-block-query"><!-- wp:query-loop -->
|
||||
<div class="wp-block-query"><!-- wp:post-template -->
|
||||
<!-- wp:separator {"customColor":"#ffffff","align":"wide","className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator alignwide has-text-color has-background is-style-wide" style="background-color:#ffffff;color:#ffffff"/>
|
||||
<!-- /wp:separator -->
|
||||
@@ -25,7 +25,7 @@ return array(
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%"><!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"72px","lineHeight":"1.1"},"color":{"text":"#ffffff","link":"#ffffff"}}} /--></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
<!-- /wp:query-loop --></div>
|
||||
<!-- /wp:post-template --></div>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
|
||||
@@ -11,7 +11,7 @@ return array(
|
||||
'categories' => array( 'query' ),
|
||||
'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:query-loop -->
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:columns {"align":"wide"} -->
|
||||
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"66.66%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:post-featured-image {"isLink":true} /--></div>
|
||||
@@ -21,7 +21,7 @@ return array(
|
||||
<!-- wp:post-excerpt /--></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
<!-- /wp:query-loop -->
|
||||
<!-- /wp:post-template -->
|
||||
</div>
|
||||
<!-- /wp:query -->',
|
||||
);
|
||||
|
||||
@@ -13,26 +13,26 @@ return array(
|
||||
<main class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column {"width":"50%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:query {"query":{"perPage":2,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"list"}} -->
|
||||
<div class="wp-block-query"><!-- wp:query-loop -->
|
||||
<div class="wp-block-query"><!-- wp:post-template -->
|
||||
<!-- wp:post-featured-image /-->
|
||||
<!-- wp:post-title /-->
|
||||
<!-- wp:post-date /-->
|
||||
<!-- wp:spacer {"height":200} -->
|
||||
<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
<!-- /wp:query-loop --></div>
|
||||
<!-- /wp:post-template --></div>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:column -->
|
||||
<!-- wp:column {"width":"50%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:query {"query":{"perPage":2,"pages":0,"offset":2,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"list"}} -->
|
||||
<div class="wp-block-query"><!-- wp:query-loop -->
|
||||
<div class="wp-block-query"><!-- wp:post-template -->
|
||||
<!-- wp:spacer {"height":200} -->
|
||||
<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
<!-- wp:post-featured-image /-->
|
||||
<!-- wp:post-title /-->
|
||||
<!-- wp:post-date /-->
|
||||
<!-- /wp:query-loop --></div>
|
||||
<!-- /wp:post-template --></div>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></main>
|
||||
|
||||
@@ -11,7 +11,7 @@ return array(
|
||||
'categories' => array( 'query' ),
|
||||
'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:query-loop -->
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:columns {"verticalAlignment":"center"} -->
|
||||
<div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"25%"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:post-featured-image {"isLink":true} /--></div>
|
||||
@@ -20,7 +20,7 @@ return array(
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:75%"><!-- wp:post-title {"isLink":true} /--></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
<!-- /wp:query-loop -->
|
||||
<!-- /wp:post-template -->
|
||||
</div>
|
||||
<!-- /wp:query -->',
|
||||
);
|
||||
|
||||
@@ -11,7 +11,7 @@ return array(
|
||||
'categories' => array( 'query' ),
|
||||
'content' => '<!-- wp:query {"query":{"perPage":1,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:query-loop -->
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-featured-image {"isLink":true,"align":"wide"} /-->
|
||||
<!-- wp:post-excerpt /-->
|
||||
@@ -19,7 +19,7 @@ return array(
|
||||
<hr class="wp-block-separator"/>
|
||||
<!-- /wp:separator -->
|
||||
<!-- wp:post-date /-->
|
||||
<!-- /wp:query-loop -->
|
||||
<!-- /wp:post-template -->
|
||||
</div>
|
||||
<!-- /wp:query -->',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user