Skip to content

Commit 8b822ef

Browse files
committed
MAGETWO-90441: Allow inline editing of Heading from stage
- rename toolbar component and template
1 parent 2d29913 commit 8b822ef

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/toolbar.js renamed to app/code/Magento/PageBuilder/view/adminhtml/web/js/content-type-toolbar.js

Lines changed: 2 additions & 2 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/js/content-type/heading/preview.js

Lines changed: 2 additions & 2 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/toolbar.ts renamed to app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type-toolbar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class Toolbar {
3131
* @returns {string}
3232
*/
3333
get template(): string {
34-
return "Magento_PageBuilder/toolbar";
34+
return "Magento_PageBuilder/content-type-toolbar";
3535
}
3636

3737
/**

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/heading/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import $ from "jquery";
77
import events from "uiEvents";
88
import _ from "underscore";
99
import ContentTypeConfigInterface from "../../content-type-config.d";
10+
import Toolbar from "../../content-type-toolbar";
1011
import ToolbarOptionInterface from "../../content-type-toolbar/option.d";
1112
import ContentTypeInterface from "../../content-type.d";
12-
import Toolbar from "../../toolbar";
1313
import ContentTypeReadyEventParamsInterface from "../content-type-ready-event-params.d";
1414
import ObservableUpdater from "../observable-updater";
1515
import BasePreview from "../preview";

0 commit comments

Comments
 (0)