improve editor interactions