mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 02:19:52 +02:00
refactor placeholder to use schema (#1253)
* refactor placeholder to use schema * update placeholder, remove old export * add maxWidth to prevent overflow * update docs
This commit is contained in:
@@ -41,7 +41,7 @@ class PlainText extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<Editor
|
||||
placeholder={'Enter some plain text...'}
|
||||
placeholder="Enter some plain text..."
|
||||
state={this.state.state}
|
||||
onChange={this.onChange}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user