We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d8486f commit 4070567Copy full SHA for 4070567
app/code/Magento/PageBuilder/Model/Stage/Renderer/WidgetDirective.php
@@ -8,6 +8,8 @@
8
9
namespace Magento\PageBuilder\Model\Stage\Renderer;
10
11
+use Magento\Store\Model\Store;
12
+
13
/**
14
* Renders a widget directive for the stage
15
*
@@ -57,9 +59,8 @@ public function render(array $params): array
57
59
}
58
60
61
try {
- $storeId = $this->storeManager->getStore()->getId();
62
$result['content'] = $this->directiveFilter
- ->setStoreId($storeId)
63
+ ->setStoreId(Store::DEFAULT_STORE_ID)
64
->filter($params['directive']);
65
} catch (\Exception $e) {
66
$result['error'] = __($e->getMessage());
0 commit comments