Fix fatal when user switches from VE to the old editor and makes a null edit

$revision can be null if the user makes a null edit, I have changed the doc
page to reflect that.

Change-Id: I40c1412dbd3f8e023bd4fa65d86d3d5092870ad4
Merge "Fix fatal when user switches from VE to the old editor and makes a null edit"