fixing editor text alignment