add html/plain text toggle