removing p tag when editor is empty