[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

ACSD-65127: JavaScript minification in production mode causes TinyMCE 6 errors in the browser

The ACSD-65127 patch fixes the issue where enabling JavaScript minification in production mode caused TinyMCE 6 to generate errors in the browser console, affecting functionality and user experience. This patch is available when the Quality Patches Tool (QPT) 1.1.64 is installed. The patch ID is ACSD-65127. Please note that this issue was fixed in Adobe Commerce 2.4.8.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.7-p4

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.4 - 2.4.7-p5
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Enabling JavaScript minification in production mode caused TinyMCE 6 to generate errors in the browser console, affecting functionality and user experience.

Steps to reproduce:

  1. Set the configuration by running the below commands:
bin/magento config:set --lock-config dev/js/minify_files 1
bin/magento config:set --lock-config dev/js/enable_js_bundling 1
bin/magento config:set --lock-config dev/js/merge_files 1
  1. Enable production mode.
bin/magento deploy:mode:set production
  1. On the Admin sidebar, go to Catalog > Products. Click Edit on any listed product and scroll down to Content and select Show Editor.

Expected results:

No JS errors in the browser console.

Actual results:

404 errors in the browser console for the js tiny_mce_6/plugins/help/js/i18n/keynav/en.js.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3