Rectangle editor