Fixed editor spacing and functionality