Skip to content

Media Editor Modal task tracking #73771

@andrewserong

Description

@andrewserong

Add a Gutenberg-powered media editor that's intended to eventually replace cropping tools and the core media editor screen with a more modern and extensible interface.

For now, this is being built behind an experiment in Gutenberg, with the primary interface a modal that can be invoked from the Crop toolbar button on the image block:

Image

When complete, we'll be able to close out these issues:

Current state:

Image

Done

To-do

  • Fix loading of the "Attached to" entity
  • Remove the previous "Media Editor" experiment if/when this experiment feels solid
  • Add slots / extension points that can be used by the AI experiment
    • Image editor: formalize cropper contract #77668 (Formalize the API contract to get ready for the above)
    • Tighten export helper behavior. Scope: make getCroppedImage, exportCroppedImage, and canvas helpers more predictable around MIME type, quality, CORS/load failures, output dimensions, and error shape. Unlocks: a reliable “produce an image blob” boundary for future tools, downloads, uploads, AI providers, and tests
    • Separate crop stencils from future selection tools Scope: clarify that stencil is for crop area UI only. Future tools like pencil masks, focal-point pickers, object selection, or AI regions should not be squeezed into the crop stencil contract. Unlocks: extensibility without contaminating crop behavior.
    • Open third-party extension points Scope: a registration API for custom tools, overlays, panels, operations, and provider-backed actions. Unlocks: third parties can extend the image editor surface without forking the cropper.
  • Create a bespoke control/component for fine-grained rotation like Google Photos
  • Try out a zoom area component that controls the zoom of the camera/world without adjusting the crop area. Similarly, to allow panning the camera/world separately from moving the crop area. Essentially allowing a way to browse the area a bit like we might in Figma/Photoshop/Affinity
  • Create an "Advanced" panel that has keyboard controls for precise pixel crop, explore collapsible panels to group these
  • Media editor: restore original image in modal #77781

Metadata

Metadata

Labels

[Feature] MediaAnything that impacts the experience of managing media[Type] IterationScoped iteration of an effort from a tracking issue or overview issue ideally for a major release.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions