Bug while getting fmt content

In case the  editor was a TEXTAREA, the text() content was used instead
of val() content