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 gutenberg-blocks.md #103

Open
wants to merge 1 commit into
base: 3.x
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions src/learn/containers/gutenberg-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Block::make( __( 'My Shiny Gutenberg Block' ) )
} );
```

!> The nested blocks aren't affected by this method. Only their parent can enter in a preview mode.
The nested blocks aren't affected by this method. Only their parent can enter in a preview mode.

### `set_editor_style( $handle )`

Expand Down Expand Up @@ -323,7 +323,7 @@ The possible values are - `array` or `null`.

See [Gutenberg > Inner Blocks](https://github.com/WordPress/gutenberg/tree/master/packages/editor/src/components/inner-blocks#allowedblocks) for more details.

!> If an empty array is passed then only the blocks that have your block as parent can be inserted. See the `set_parent` method.
If an empty array is passed then only the blocks that have your block as parent can be inserted. See the `set_parent` method.

```php
Block::make( __( 'My Shiny Gutenberg Block' ) )
Expand Down