controller_admin_edit

The main admin edit controller. This controller serves the edit page where resources can be edited.

Handled events

  • rscform and {rscform, Args} submit the resource edit form.
  • {view, Args} saves the resource and opens its public page.
  • {reload_media, Opts} refreshes the media-edit area.
  • {delete_media, Opts} removes the resource's attached medium.
  • #sort{drop = {dragdrop, {object_sorter, Props}, ...}} stores a reordered list of connected resources.
  • {query_preview, Opts} renders a preview for a query resource.

Edit on GitHub

Referred by

Controllers

controller_admin_media_preview

A controller for rendering preview thumbnails of any media embedded in a richtext-editor component of a resource on the controller#controller_admin_edit page.