editor under text area and update editor style to match element type