{"data":{"id":"ACP2E-4698","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where editing an image again in Page Builder text content can save an absolute media URL instead of preserving a portable media directive.","categories":["Content"],"components":["magento/module-page-builder"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-82/acp2e-4698","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-82/acp2e-4698.md","blobSha":"48a6b095d026aa3dba1928f2ff1b9e664ac02cb9","description":"Page Builder Text inline editing saves absolute media image URLs after editing an image again, instead of keeping the portable media url=... directive.","stepsToReproduce":"1. On the Admin sidebar, go to Content > Elements > Pages and open a CMS page in edit mode. 1. Expand the Content section and edit a Text content type. 1. In the editor toolbar, click the Insert Image icon. 1. Select an image from the Media Gallery. 1. Save the CMS page. 1. Inspect the stored HTML for the edited page: The image src attribute uses a media url=... directive. This is the correct behavior. 1. Edit the same CMS page again. 1. In the Content section, edit the same Text content type. 1. Select the existing image in the inline editor and reopen the Insert/edit image dialog. 1. Change the image width or height under Dimensions, click Save, and then save the CMS page. 1. Inspect the stored HTML again: The image src attribute is replaced with a fully qualified Admin media URL, such as https://example.com/media/.renditions/wysiwyg/.../image.png. The media directive is lost, and the URL becomes static.","introducedInQpt":"1.1.82","createdFor":["2.4.7-p9"],"documentedRange":"2.4.7-p9 – 2.4.7-p10, 2.4.8-p4 – 2.4.8-p5","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/module-page-builder","constraint":">=2.2.5-p8 <2.2.6 || >=2.2.6-p3 <2.2.7","path":"patches/os/ACP2E-4705_2.2.5-p8.patch","blobSha":"29f2523d168049a48f84892b63a886255307fc3d","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACP2E-4705_2.2.5-p8.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-page-builder/view/adminhtml/web/js/utils/directives.js","change":"modified","package":"magento/module-page-builder"},{"path":"vendor/magento/module-page-builder/view/adminhtml/web/js/wysiwyg/tinymce.js","change":"modified","package":"magento/module-page-builder"},{"path":"vendor/magento/module-page-builder/view/adminhtml/web/ts/js/utils/directives.ts","change":"modified","package":"magento/module-page-builder"},{"path":"vendor/magento/module-page-builder/view/adminhtml/web/ts/js/wysiwyg/tinymce.ts","change":"modified","package":"magento/module-page-builder"}],"packages":["magento/module-page-builder"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.7-p10","2.4.7-p9","2.4.7-p8"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.7-p10","2.4.7-p9","2.4.7-p8"],"mage-os":[]},"unknownVersions":["2.3.0"],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.7-p10","2.4.7-p9","2.4.7-p8"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.7-p10","2.4.7-p9","2.4.7-p8"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACP2E-4698 details"}