Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
b7e51e7
Add optional chaining to prevent exception if activeFormats not defin…
glendaviesnz Jun 21, 2021
7307227
Block Library: Ensure there is no direct import from core/editor stor…
gziolo Jun 22, 2021
1ae85c0
Testing: Fix failing PHPUnit test caused by changes in WP core (#32888)
gziolo Jun 22, 2021
93f6563
Fix a regression where `custom-units` are forced as an array. (#32898)
desrosj Jun 23, 2021
ec414b1
TemplatePanel: Fixed a problem that when a new template is created, t…
torounit Jun 22, 2021
abdd11e
Fix collapsing appender when paragraph disabled. (#32894)
jasmussen Jun 23, 2021
e42aaef
Query Loop Patterns: Use plain `div` for wrapper element (#32867)
ryelle Jun 23, 2021
7d83e7c
Don't display admin notices on widgets screen. (#32877)
tellthemachines Jun 23, 2021
b7ccbbf
Fix scroll jitter in Customize Widgets (#32479)
stokesman Jun 24, 2021
6c81984
Fix legacy widget edit style bleed (#32871)
tellthemachines Jun 24, 2021
06d889b
Stretch Widgets editor layout to full height (#32905)
tellthemachines Jun 24, 2021
5a9b396
Image Block: Correctly set image size slug (#32364)
Mamaduka Jun 24, 2021
c3f3fed
Avoid flash of background color by moving gray background color to el…
gwwar Jun 23, 2021
942fe13
Disable "FSE" blocks in Widgets Editor (#32761)
getdave Jun 24, 2021
437ca8e
Fix broken the post-template-editor test. (#32904)
torounit Jun 23, 2021
3ede3a2
Block Library: Unify handling for block view scripts (#32814)
gziolo Jun 23, 2021
c16b1d7
Update webpack.config.js
youknowriad Jun 24, 2021
789c167
Global Styles: Allow custom properties to merge (#31840)
scruffian Jun 24, 2021
187ed1c
Update lib/blocks.php
youknowriad Jun 24, 2021
a47f4e5
Update packages/e2e-tests/specs/experiments/blocks/navigation.test.js
youknowriad Jun 24, 2021
fe467b5
Update packages/e2e-tests/specs/experiments/blocks/navigation.test.js
youknowriad Jun 24, 2021
3b32539
Update packages/e2e-tests/specs/experiments/blocks/navigation.test.js
youknowriad Jun 24, 2021
b9ffaeb
Update packages/e2e-tests/specs/experiments/blocks/navigation.test.js
youknowriad Jun 24, 2021
7ab23e3
Fix linting issues
youknowriad Jun 24, 2021
a7312c5
[E2E Tests]: Fix WP editor metabox test (#32915)
Mamaduka Jun 23, 2021
3ffeb4f
Disable Android e2e tests while we investigate foundational breakage …
dcalhoun Jun 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Query Loop Patterns: Use plain div for wrapper element (#32867)
  • Loading branch information
ryelle authored and youknowriad committed Jun 24, 2021
commit e42aaef73e82b9a49fc6e56c0f066898a7ebf3ae
10 changes: 5 additions & 5 deletions lib/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ function register_gutenberg_patterns() {
'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: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:group {"style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
<div 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 -->
Expand Down Expand Up @@ -136,8 +136,8 @@ function register_gutenberg_patterns() {
'title' => __( 'Offset', 'gutenberg' ),
'blockTypes' => array( 'core/query' ),
'categories' => array( 'query' ),
'content' => '<!-- 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:columns -->
'content' => '<!-- wp:group {"style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
<div 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:post-template -->
Expand All @@ -162,7 +162,7 @@ function register_gutenberg_patterns() {
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></main>
<!-- /wp:columns --></div>
<!-- /wp:group -->',
)
);
Expand Down