I have used "RichTextArea" in GWT. Now i want to trim the text of the richtextarea.gettext() when i am submitting the form.
But if i have only entered spaces and enter key in my textarea then richtextarea.gettext() will not going to trim it as it will convert them to   and < br>.
Any suggestion if there are only entered spaces and enter key in my textarea then on trim it should give me blank string value?