Skip to content

WordPress 7.1 Iteration: Media Editor Modal task tracking #73771

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.

The first stage (now in trunk) is to replace the inline cropping tool used by the Image block with a full media editor modal.

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

Also, to keep in mind: ensuring that the media features are extensible, especially via the AI plugin:

Current state:

Image

Scope

PRs (to help us keep track)

Feedback to explore

  • Should we hide the fine-grained rotation behind a toggle button?
  • Try moving some (or all) of the transform controls above the image being edited (needs design)
  • Where do we put the Keyboard modal toggle button?

Done

Tasks that have been completed (kept for posterity)
  • Fix loading of the "Attached to" entity
  • Polish "Details" fields:
    • The "Date added" field can unexpectedly wrap on datetime strings like May 12, 2026 6:44 am
    • If the post hasn't yet been saved, the Attached to field says "Auto Draft" (that's consistent with core behaviour)
    • If the post doesn't have a title, the Attached to field displays the id number of the post (fixed to display (no title) for consistency with core)
  • Update the previous "Media Editor" experiment if/when this experiment feels solid
  • 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. (Explored, but scaled it back to adding auto-pan behaviour for now)
  • Or, alternately, at least make it easier for folks to expand the current crop area beyond the current level of zoom (without this, it's easy to feel stuck and unable to expand a small crop area back to a larger size)
  • Add undo/redo behaviour
    • Add basic undo/redo for the cropper itself
    • Wire up controls that live outside of the cropper and include them in undo/redo stacks (e.g. aspect ratio select, freeform crop toggle)
  • Should save and cancel should be in the bottom right?
  • Prevent undo/redo in the middle of a gesture. Attempt 1. Attempt 2.
  • If a user updates Caption and Alt Text but has never entered those details manually in the image block, then updating them in the cropping tool should propagate it into the Image block

To-do

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions