Skip to content

[IMAGE EDITOR] Wire image editor Save, Download, and Cancel to FileFieldStore temp-file flow #36067

Description

@nicobytes

Description

Complete the save/cancel/download flow from the Angular image editor back to the unified file field:

  • SavePOST /api/v1/image/editDotCMSTempFile → launcher onCloseFileFieldStore.setPreviewFile
  • Download → preview URL + force_download=true
  • Cancel → close modal, no temp file

Field availability (Image always, Binary only when metadata.isImage, File never) is covered by #36058.

Acceptance Criteria

  • Save calls REST endpoint with current filter chain + focal point; closes modal with temp file.
  • Field value updated to temp file id; preview refreshes in file-field component.
  • Download opens filtered URL with force_download=true in new tab.
  • Cancel closes modal and emits null — field value unchanged.
  • Enterprise license gate respected (match Dojo behavior).

Priority

High

Additional Context

Metadata

Metadata

Assignees

Type

No fields configured for Task.

Projects

Status
In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions