I have recently found a bug on the Page builder with CMS Block content in Magento 2.4.6 version.
When you update content on the CMS Block using page builder and try to save the CMS Block, Your updated data will be not saved without any error message Once you save the CMS Block, You will be displayed Success Message but your data is not saved.
This is the known GitHub issue in all the latest versions of Magento 2.4.4+.
The issue will be in the vendor/magento/module-page-builder/view/adminhtml/requirejs-config.js file.
You need to set Magento_Ui/js/form/form Dependency to the Magento_PageBuilder/js/form/element/wysiwyg JS file.
You can fix the issue by applying a patch with a set dependency to the JS file loading order, In Magento, You can apply dependency to the JS file by deps keyword.
You can learn more details about RequireJS configuration Deps, Shim.
Creating page-builder-cms-block-update.patch file,
--- a/vendor/magento/module-page-builder/view/adminhtml/requirejs-config.js +++ b/vendor/magento/module-page-builder/view/adminhtml/requirejs-config.js @@ -22,6 +22,9 @@ }, 'Magento_PageBuilder/js/resource/jquery/ui/jquery.ui.touch-punch': { deps: ['jquery/ui'] + }, + 'Magento_PageBuilder/js/form/element/wysiwyg': { + deps: ['Magento_Ui/js/form/form'] } }, config: {
Define Patch in the composer.json file,
{ "patches": { "magento/module-page-builder": { "Magento 2.4.4+ Bug #37514: Page builder CMS block content save issue": "patches/vendor/magento/module-page-builder/view/adminhtml/page-builder-cms-block-update.patch" } } }
Credit to GitHub Issue Link: https://github.com/magento/magento2/issues/37514