Skip to content

Commit

Permalink
[Examples] Update draft-js to v0.11.5 and add editorKey prop i… (#12011)
Browse files Browse the repository at this point in the history
  • Loading branch information
agarwalrounak authored Apr 20, 2020
1 parent b6f44e6 commit 2c0ed5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-draft-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions examples/with-draft-js/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c0ed5e

Please sign in to comment.