1
0
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:
Ian Storm Taylor
2017-10-18 00:23:39 -07:00
committed by GitHub
parent 117d8c55cc
commit f42a64ac8f
31 changed files with 209 additions and 275 deletions

View File

@@ -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}
/>