JSFiddle - React, Tailwind, and code Playground

HTML

<textarea rows="4" cols="50"></textarea>

JavaScript

$("textarea").keydown(function(e){
    if (e.keyCode == 13 && !e.shiftKey)
    {
        e.preventDefault();
    }
});