Skip to content

Commit

Permalink
[MOOSE-183]: revert previous changes; enable group block background i…
Browse files Browse the repository at this point in the history
…mages
  • Loading branch information
GeoffDusome committed Jan 2, 2025
1 parent 9ca6353 commit c0e25a8
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 67 deletions.
2 changes: 0 additions & 2 deletions wp-content/plugins/core/src/Blocks/Blocks_Definer.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Tribe\Theme\blocks\core\column\Column;
use Tribe\Theme\blocks\core\columns\Columns;
use Tribe\Theme\blocks\core\embed\Embed;
use Tribe\Theme\blocks\core\group\Group;
use Tribe\Theme\blocks\core\image\Image;
use Tribe\Theme\blocks\core\lists\Lists;
use Tribe\Theme\blocks\core\postauthorname\Post_Author_Name;
Expand Down Expand Up @@ -48,7 +47,6 @@ public function define(): array {
DI\get( Column::class ),
DI\get( Columns::class ),
DI\get( Embed::class ),
DI\get( Group::class ),
DI\get( Image::class ),
DI\get( Lists::class ),
DI\get( Post_Author_Name::class ),
Expand Down
10 changes: 0 additions & 10 deletions wp-content/themes/core/assets/pcss/layout/_utilities.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,3 @@
display: table;
clear: both;
}

/* -----------------------------------------------------------------------
* Global Padding Reset
* Fixes issues with nested .alignfull elements
* ----------------------------------------------------------------------- */

.l-padding-reset {
padding-left: var(--wp--style--root--padding-left);
padding-right: var(--wp--style--root--padding-right);
}
13 changes: 0 additions & 13 deletions wp-content/themes/core/blocks/core/group/Group.php

This file was deleted.

27 changes: 0 additions & 27 deletions wp-content/themes/core/blocks/core/group/editor.js

This file was deleted.

5 changes: 0 additions & 5 deletions wp-content/themes/core/blocks/core/group/index.js

This file was deleted.

10 changes: 0 additions & 10 deletions wp-content/themes/core/blocks/core/group/style.pcss

This file was deleted.

6 changes: 6 additions & 0 deletions wp-content/themes/core/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
"textTransform": false
}
},
"core/group": {
"background": {
"backgroundImage": true,
"backgroundSize": true
}
},
"core/heading": {
"typography": {
"fontFamilies": [],
Expand Down

0 comments on commit c0e25a8

Please sign in to comment.