Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Added information about nature of block keys (#1892)
Browse files Browse the repository at this point in the history
Summary:
**Summary**

Added a note letting users know the block keys are strictly alphanumeric and using the `generateRandomKey` function to generate block keys is a good approach.

Any changes needed can be mentioned and will be implemented in a jiffy!

Issue in focus: #1843
Pull Request resolved: #1892

Differential Revision: D10303263

fbshipit-source-id: 717baed9d04b91acb4e73b936f3e367b4fb11f04
  • Loading branch information
Prateek Nayak authored and facebook-github-bot committed Oct 10, 2018
1 parent 1d2d854 commit 8ad59c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/APIReference-ContentBlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ supplied text.
```
getKey(): string
```
Returns the string key for this `ContentBlock`.
Returns the string key for this `ContentBlock`. Block keys are alphanumeric string. It is recommended to use `generateRandomKey` to generate block keys.

### getType()

Expand Down

0 comments on commit 8ad59c4

Please sign in to comment.