ACSD-48857: Unable to save changes after editing with Page Builder

The ACSD-48857 patch fixes the issue where the user is unable to save changes after editing with Page Builder. This patch is available when the Quality Patches Tool (QPT) 1.1.28 is installed. The patch ID is ACSD-48857. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.7.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.5-p1

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.3 - 2.4.6
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

User is unable to save changes after editing with Page Builder.

Steps to reproduce

  1. Log in to the Admin website.

  2. Navigate to Content > Elements > Pages to create an empty CMS page.

  3. Run this SQL script to set the following Content field value:

    code language-sql
    update cms_page set content = '<div data-content-type="text" data-appearance="default" data-element="main"><h4 style="text-align: center;" contenteditable="true" data-placeholder="Edit Heading Text" data-content-type="heading" data-appearance="default" data-element="main">THE RULES</h4></div>' where page_id=8;
    
  4. Return to Content > Elements > Pages in Admin.

  5. Edit your page.

  6. Go to the Content tab.

  7. Click Save.

Expected results

HTML content sanitization is implemented. This removes Page Builder reserved HTML attributes in contents generated by the text editor.

Actual results

Page remains unsaved and the loader keeps spinning. In the console, the following error is generated:

[ERROR] Page Builder was rendering for 5 seconds without releasing locks.

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:

For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

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