Skip to content

Commit

Permalink
Improve useOnce documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Caldwell authored and youknowriad committed Jan 19, 2018
1 parent 85be4c7 commit aa5e157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/block-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Work in progress...
* **Type:** `Bool`
* **Default:** `false`

Whether a block can only be used once per post.
A once-only block can be inserted into each post, one time only. For example, the built-in 'More' block cannot be inserted again if it already exists in the post being edited. A once-only block's icon is automatically dimmed (unclickable) to prevent multiple instances.

```js
// Use the block just once per post
Expand Down

0 comments on commit aa5e157

Please sign in to comment.