Persist deletes and undos in editor

So that deletes and undos will persist. 

<!---
@huboard:{"order":135.5,"custom_state":""}
-->