sstur / react-rte

Pure React rich text WYSIWYG editor based on draft-js.
https://react-rte.org
ISC License
2.86k stars 431 forks source link

Option to always use hard line breaks #430

Open wtchen opened 2 years ago

wtchen commented 2 years ago

As it stands, there is no way to easily disable soft line breaks if the user holds down shift and enter. I think this should be a feature. We can add a new prop to the component.

wtchen commented 2 years ago

Also happy to create a PR for this as well 😄