You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 981d2c1
Browse filesBrowse the repository at this point in the historyBrowse files
Media editor: restore the original image via its edit root
Adds a Restore original image action to the media editor's More
options menu, shown when the attachment exposes the edit_root field
recorded by its lineage (#81803).
- Restore loads the root attachment and its editable details, and
discards pending edits to the derivative.
- Saving an untouched restore repoints the block without writing an
attachment; transforming first runs /edit against the root.
- Metadata fields are disabled while a restore is pending; detail
saves retarget the root.
- Image and Cover restore the previous attachment with snackbar Undo.
Squashed end state of the restore-original branch, ported onto the
session cropper engine after the snapshot-history refactors landed on
trunk.
Copy file name to clipboardExpand all lines: packages/block-library/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
- Icon: Match an icon's keywords as well as its name and label when searching the icon library ([#82367](https://github.com/WordPress/gutenberg/pull/82367)).
14
14
- Button: Only open the link popover from the toolbar button or keyboard shortcut instead of whenever a linked button is selected. The toolbar button now shows a pressed state when a link is set ([#30166](https://github.com/WordPress/gutenberg/pull/30166)).
15
15
- Use the `inertValue` helper to set `inert` attributes, for better React 18/19 compatibility ([#83871](https://github.com/WordPress/gutenberg/pull/83871)).
16
+
- Image, Cover: Restore the previous attachment with snackbar Undo, including attachment-derived Image attributes while preserving Cover settings ([#81805](https://github.com/WordPress/gutenberg/pull/81805)).
0 commit comments