fixes for the latex editor in the new component editor modal