Topic: getContent() returning "<p></p>" when the editor should be empty
I'm having a slight issue with regards to validation of an instance of a tinyMCE editor.
Upon form submission I'm simply testing whether the user has input something into the editor by using:
The problem is if someone enters something then removes it all, the validation is being passed because the instance contains an empty paragraph tag "<p></p>".
Has anyone experienced this before? If so, is there a way to rectify it?