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

Commit 8ad59c4

Browse files
Prateek Nayakfacebook-github-bot
authored andcommitted
Added information about nature of block keys (#1892)
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
1 parent 1d2d854 commit 8ad59c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/APIReference-ContentBlock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ supplied text.
161161
```
162162
getKey(): string
163163
```
164-
Returns the string key for this `ContentBlock`.
164+
Returns the string key for this `ContentBlock`. Block keys are alphanumeric string. It is recommended to use `generateRandomKey` to generate block keys.
165165

166166
### getType()
167167

0 commit comments

Comments
 (0)