Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
nativeKeyDown = e => {
convertCtrlKey(e, this.setNativeInputVal);
}
onKeyDown = event => {
convertCtrlKey(event, this.setNativeInputVal)
this.setState({ text: this.textarea.current.value });
};
onKeyDown = event => {
convertCtrlKey(event, this.setNativeInputVal)
this.setState({ text: this.textarea.current.value });
};
constructor(props) {
super(props);
this.nativeInputRef = React.createRef();
this.nativeOutputRef = React.createRef();
this.NativeMdParser = new ClassMdParser();
}
state = {