Auto wrapping text in HTML editor