text editor styles fix