Unverified Commit 2c0ed5e8 authored by Rounak Agarwal's avatar Rounak Agarwal Committed by GitHub

[Examples] Update draft-js to v0.11.5 and add editorKey prop i… (#12011)

parent b6f44e66
......@@ -9,7 +9,7 @@
"start": "next start"
},
"dependencies": {
"draft-js": "0.10.5",
"draft-js": "^0.11.5",
"next": "latest",
"react": "^16.7.0",
"react-dom": "^16.7.0"
......
......@@ -202,6 +202,7 @@ export default class App extends React.Component {
handleKeyCommand={this.handleKeyCommand}
onChange={this.onChange}
placeholder="Tell a story..."
editorKey="foobar"
spellCheck={false}
ref={element => {
this.editor = element
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment