1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-21 06:31:28 +02:00

fix editor reference

This commit is contained in:
Ian Storm Taylor
2016-07-11 19:29:21 -07:00
parent 56cc6101d9
commit 7939d6d9ae

View File

@@ -66,13 +66,13 @@ An optional dictionary of styles to apply to the content editable element.
```js
<Editor
placeholder={Any}
placeholderClassName={string}
placeholder={String || Element}
placeholderClassName={String}
placeholderStyle={Object}
/>
```
#### `placeholder: Text or Element`
#### `placeholder: String || Element`
A placeholder string (or React element) that will be rendered as the default block type's placeholder.