Rather use the function `editSaved` it does the same thing. We should probably add another method on the editor to see if the editor has been edited.