JSFiddle - React, Tailwind, and code Playground
HTML
<input type="button" value="SAVE DRAFT">
<textarea id="content" name="content" class="widgEditor nothing">initial text</textarea>
JavaScript
$(':button').click(function() {
var content = $("#content").val();
alert( content );
//some other ajax codes to save draft...
});