Skip to content

smartexcan/magento2-page-builder-require-js-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 Page Builder requirejs-config fix

Fixes an issue with the page builder render iframe, where the requirejs-config.js file is prevented from loading due to CORS.

See: magento/magento2#39076 (comment) for an explanation of the cause of this.

To fix the issue, we move the "requirejs-config.js" file back into the normal js asset group using a block. This prevents the integrity and crossorigin attributes from being applied to the asset, and allows the fix to be applied only where needed, like on specific pages.

Currently only tested on open source 2.4.6-p6

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Languages