WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/08/2021 05:31:14 PM (4 months ago)
Author:
youknowriad
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-patterns/query-large-title-posts.php

    r50971 r51101  
    1212    'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"100px","right":"100px","bottom":"100px","left":"100px"}},"color":{"text":"#ffffff","background":"#000000"}}} -->
    1313                    <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}} -->
    14                     <div class="wp-block-query"><!-- wp:query-loop -->
     14                    <div class="wp-block-query"><!-- wp:post-template -->
    1515                    <!-- wp:separator {"customColor":"#ffffff","align":"wide","className":"is-style-wide"} -->
    1616                    <hr class="wp-block-separator alignwide has-text-color has-background is-style-wide" style="background-color:#ffffff;color:#ffffff"/>
     
    2626                    <!-- /wp:column --></div>
    2727                    <!-- /wp:columns -->
    28                     <!-- /wp:query-loop --></div>
     28                    <!-- /wp:post-template --></div>
    2929                    <!-- /wp:query --></div>
    3030                    <!-- /wp:group -->',
Note: See TracChangeset for help on using the changeset viewer.