Recover ace ot error

Resets the editor value to the doc contents when an OT error is encountered.