Console error appears if onKeyPress prop is not passed to ContentEditable
Uncaught TypeError: this.props.onKeyPress is not a function at ContentEditable._onKeyPress
I solved this temporarily by adding a dummy function onKeyPress={() => {}} but it shouldn't be necessary to provide the prop.