Commit 0fb24ee0bb1 for woocommerce
commit 0fb24ee0bb1a05645fce2a1b22f0780c719233ad
Author: Rostislav Wolný <1082140+costasovo@users.noreply.github.com>
Date: Mon Aug 17 14:14:47 2026 +0200
[Email Editor] Document back navigation URL restriction in changelog (#67766)
Document back navigation URL restriction in the email editor changelog
PR #67470 also restricted the close button's default navigation to
http(s) back URLs, but the changelog entry only mentioned the visual
chevron change. Integrations read urls.back as a public contract, so
the behavior change belongs in the changelog (flagged by regression
review as an undocumented change on a documented surface).
diff --git a/packages/js/email-editor/CHANGELOG.md b/packages/js/email-editor/CHANGELOG.md
index a2ad9059851..62061a85eac 100644
--- a/packages/js/email-editor/CHANGELOG.md
+++ b/packages/js/email-editor/CHANGELOG.md
@@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Minor - Add optional customSaveButton prop to Editor/ExperimentalEmailEditor (threaded to the Gutenberg editor header, skipped in template mode) and extend the editor-save notice override to also match "Post published." and "Draft saved." for integrations whose save button publishes in the background. [#67025]
- Minor - Restore text and background color controls in the styles sidebar on WordPress 7.1+ — text color moves to the typography panel and background color to a new Background screen, matching where WordPress 7.1 places them. [#67467]
- Minor - Disable the WordPress 7.1 responsive styles feature in the email editor [#67444]
-- Minor - Render the editor back button as a compact chevron on WordPress 7.1+ to match the redesigned header, keeping the fullscreen-style button on older versions [#67470]
+- Minor - Render the editor back button as a compact chevron on WordPress 7.1+ to match the redesigned header, keeping the fullscreen-style button on older versions. The close button's default action now navigates only to http(s) back URLs (`urls.back`); non-web schemes no longer navigate. Integrations needing a custom scheme can provide their own callback via the `woocommerce_email_editor_close_action_callback` filter. [#67470]
## [2.2.1](https://www.npmjs.com/package/@woocommerce/email-editor/v/2.2.1) - 2026-07-30