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:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user