add google doc access class and add origin to editor selected api