Skip to content

Commit

Permalink
Update README.md (#15386)
Browse files Browse the repository at this point in the history
* Update README.md

This is a very nasty gotcha that can suck out hours from your day.

* Update packages/block-editor/src/components/inner-blocks/README.md

Co-Authored-By: andreyc0d3r <[email protected]>

* Update packages/block-editor/src/components/inner-blocks/README.md

Co-Authored-By: andreyc0d3r <[email protected]>
  • Loading branch information
andreyc0d3r authored and talldan committed May 2, 2019
1 parent b54161e commit b36a56d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/block-editor/src/components/inner-blocks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ Template locking of `InnerBlocks` is similar to [Custom Post Type templates lock
Template locking allows locking the `InnerBlocks` area for the current template.
*Options:*

- `all` — prevents all operations. It is not possible to insert new blocks. Move existing blocks or delete them.
- `insert` — prevents inserting or removing blocks, but allows moving existing ones.
- `false` — prevents locking from being applied to an `InnerBlocks` area even if a parent block contains locking.
- `'all'` — prevents all operations. It is not possible to insert new blocks. Move existing blocks or delete them.
- `'insert'` — prevents inserting or removing blocks, but allows moving existing ones.
- `false` — prevents locking from being applied to an `InnerBlocks` area even if a parent block contains locking. ( Boolean )

If locking is not set in an `InnerBlocks` area: the locking of the parent `InnerBlocks` area is used.

Expand Down

0 comments on commit b36a56d

Please sign in to comment.