Skip to content

Commit 4615372

Browse files
committed
MC-18601: Page Builder Render
1 parent 9c3118c commit 4615372

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

app/code/Magento/PageBuilder/view/adminhtml/templates/stage/render.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
?>
6666
require([
6767
'ko',
68-
'Magento_Ui/js/lib/knockout/template/engine',
68+
'Magento_Ui/js/lib/knockout/template/engine'
6969
], function (ko, templateEngine) {
7070
'use strict';
7171

app/code/Magento/PageBuilder/view/adminhtml/web/js/config.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/config.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ export default class Config {
1818
}
1919

2020
/**
21-
* Set the applications mode
21+
* Set the current instances mode, this differs between preview or master depending on whether we're rendering the
22+
* admins preview or rendering the master format.
2223
*
23-
* @param mode
24+
* @param {"Preview" | "Master"} mode
2425
*/
2526
public static setMode(mode: Mode): void {
2627
Config.mode = mode;
2728
}
2829

2930
/**
30-
* Retrieve the applications mode
31+
* Retrieve the current instances mode
3132
*/
3233
public static getMode(): Mode {
3334
return Config.mode;

0 commit comments

Comments
 (0)