reverse redactor document back to original coode