Handle tabs in the textarea