Hello Paul,
Try using the stripTags formatter to remove the html and then trim any white-space. If the string is then empty do not put anything in the database otherwise insert the html.
{{ $_POST.input.stripTags().trim() != "" ? $_POST.input : "" }}