Set editor with existing document contents.

We were setting the default text if on version 0, but need to also set whatever
the existing contents are if on a version greater than 0.