code: def author_view(self, context):
          
          root_xblock = context.get('root_xblock')
  
          if root_xblock and root_xblock.location == self.location:
              # User has clicked the "View" link. Show an editable preview of this block's children
              return self.author_edit_view(context)
          return self.author_preview_view(context)
docs: Display a the studio editor when the user has clicked "View" to see the container view,
          otherwise just show the normal 'author_preview_view' or 'student_view' preview.