react-rte
react-rte copied to clipboard
Single linebreaks does not work.

Please tell me why when inserting a single line break, it is not displayed in the editor?
I want to make it so that if I pressed Enter or Shift + Enter, a single line break would be inserted.
<RichTextEditor
value={editorState}
onChange={handleChange}
handleReturn={event => {
event.getModifierState = _ => {
return true;
};
}}
/>
Your solution worked fine for me. I just copied and pasted
issue with this is that it makes the bullet points to stop working properly