Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Group Block description to apply for variations #40062

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Display multiple images in a rich gallery. ([Source](https://github.com/WordPres

## Group

Combine blocks into a group. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/group))
Gather blocks in a layout container. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/group))

- **Name:** core/group
- **Category:** design
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/group/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "core/group",
"title": "Group",
"category": "design",
"description": "Combine blocks into a group.",
"description": "Gather blocks in a layout container.",
"keywords": [ "container", "wrapper", "row", "section" ],
"textdomain": "default",
"attributes": {
Expand Down
4 changes: 2 additions & 2 deletions packages/block-library/src/group/variations.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const variations = [
{
name: 'group',
title: __( 'Group' ),
description: __( 'Blocks shown in a column.' ),
description: __( 'Blocks placed together.' ),
attributes: { layout: { type: 'default' } },
scope: [ 'transform' ],
isActive: ( blockAttributes ) =>
Expand All @@ -20,7 +20,7 @@ const variations = [
{
name: 'group-row',
title: __( 'Row' ),
description: __( 'Blocks shown in a row.' ),
description: __( 'Blocks put in a row.' ),
attributes: { layout: { type: 'flex', flexWrap: 'nowrap' } },
scope: [ 'inserter', 'transform' ],
isActive: ( blockAttributes ) =>
Expand Down