Publish the method "getDocumentAsByteArray" in "Editor" API