Skip to content

Commit 174f238

Browse files
Merge pull request #556 from magento/511_1_content-snapshot-product-admin-page
#511: User sees content snapshot on Product Page in Admin Panel - Add a stage to the Product Edit page.
2 parents 3e53826 + 462c7e9 commit 174f238

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/PageBuilder/Ui/DataProvider/Product/Form/Modifier/Eav/WysiwygConfigDataProcessor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public function process(\Magento\Catalog\Api\Data\ProductAttributeInterface $att
1919
$wysiwygConfigData = [];
2020
if ($attribute->getData('is_pagebuilder_enabled')) {
2121
$wysiwygConfigData['is_pagebuilder_enabled'] = true;
22+
$wysiwygConfigData['pagebuilder_content_snapshot'] = true;
2223
$wysiwygConfigData['pagebuilder_button'] = true;
2324
} else {
2425
$wysiwygConfigData['is_pagebuilder_enabled'] = false;

0 commit comments

Comments
 (0)