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.
2 parents 4dfeb43 + 52994cb commit 1325633Copy full SHA for 1325633
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