react-markdown-editor-lite
react-markdown-editor-lite copied to clipboard
Ctrl+Z removing the entire text
The editor is configured as:
<MdEditor placeholder={SwaggerAndApiLabels.PlaceholderText1} value={this.state.generalDescription} style={{ height: "300px" }} renderHTML={(text) => mdParser.render(text)} onChange={this.handleEditorChange("generalDescription")} config={{ markdownClass: 'markdownEditorDesc' }} />
Everything is working fine except that if doing a ctrl+z, the entire text is deleted...instead of the last entered character/word.
any update on this ?