1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-21 14:41:23 +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 ```js
<Editor <Editor
placeholder={Any} placeholder={String || Element}
placeholderClassName={string} placeholderClassName={String}
placeholderStyle={Object} 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. A placeholder string (or React element) that will be rendered as the default block type's placeholder.