1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-07-31 04:20:26 +02:00

add placeholder

This commit is contained in:
Ian Storm Taylor
2016-07-11 18:36:45 -07:00
parent 806ffc38df
commit 3d191dbf14
10 changed files with 399 additions and 201 deletions

View File

@@ -66,6 +66,7 @@ class PlainText extends React.Component {
render = () => {
return (
<Editor
placeholder={'Enter some plain text...'}
state={this.state.state}
onChange={this.onChange}
/>