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