switch between raw and visual editors