We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dfeb43 commit 52994cbCopy full SHA for 52994cb
src/components/Editor.js
@@ -35,7 +35,9 @@ export default React.createClass({
35
getEditorState: PropTypes.func,
36
getReadOnly: PropTypes.func,
37
setReadOnly: PropTypes.func,
38
- onChange: PropTypes.func
+ onChange: PropTypes.func,
39
+ focus: PropTypes.func,
40
+ blur: PropTypes.func
41
},
42
43
getDefaultProps() {
@@ -68,7 +70,9 @@ export default React.createClass({
68
70
getEditorState: this.getDecoratedState,
69
71
getReadOnly: this.getReadOnly,
72
setReadOnly: this.setReadOnly,
- onChange: this.props.onChange
73
+ onChange: this.props.onChange,
74
+ focus: this.focus,
75
+ blur: this.blur
76
};
77
78
0 commit comments