Skip to content

Commit 1ac5efb

Browse files
author
Hwashiang Yu
committed
MC-5386: Anchors Under Each Div if TinyMCE link Is Added to Banner/Slide (Add Notification for When Link Attribute Is Entered)
- Resolved minor ts issue in preview component
1 parent 428ca5c commit 1ac5efb

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

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

Lines changed: 1 addition & 5 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/slide/preview.js

Lines changed: 1 addition & 1 deletion
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/content-type/slide/preview.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@
66
import $ from "jquery";
77
import $t from "mage/translate";
88
import events from "Magento_PageBuilder/js/events";
9+
import singleButtonDialog from "Magento_PageBuilder/js/modal/nest-link-dialog";
910
import _ from "underscore";
1011
import {PreviewSortableSortUpdateEventParams} from "../../binding/sortable-children";
1112
import Config from "../../config";
1213
import ConditionalRemoveOption from "../../content-type-menu/conditional-remove-option";
1314
import {OptionsInterface} from "../../content-type-menu/option.d";
1415
import {DataObject} from "../../data-store";
16+
import FieldDefaultsInterface from "../../field-defaults";
1517
import Uploader from "../../uploader";
1618
import delayUntil from "../../utils/delay-until";
1719
import WysiwygFactory from "../../wysiwyg/factory";
1820
import WysiwygInterface from "../../wysiwyg/wysiwyg-interface";
1921
import ContentTypeMountEventParamsInterface from "../content-type-mount-event-params";
2022
import BasePreview from "../preview";
2123
import SliderPreview from "../slider/preview";
22-
import FieldDefaultsInterface from "../../field-defaults";
23-
import singleButtonDialog from "Magento_PageBuilder/js/modal/nest-link-dialog";
2424

2525
/**
2626
* @api

0 commit comments

Comments
 (0)