delete the editor