In the mid-1850s Staunton got a contract to edit the text of Shakespeare .
In the mid-1850s Staunton obtained a contract with the publishers Routledge to edit the text of Shakespeare .