Field inserting <p><br></p> into empty field when using Medium Editor

Try it with the stripTags formatter to remove the html and the trim for any white-spaces. If the string is them empty do not put anything in the database otherwise insert the html.

{{ $_GET.input.stripTags().trim() != "" ? $_GET.input : "" }}
2 Likes