Skip to content

Commit b4d900d

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 incorrect variable reference in test - Fixed incorrect docblock variable type
1 parent f9c9dbc commit b4d900d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/utils/nesting-link-dialog.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/utils/nesting-link-dialog.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import WysiwygInterface from "../wysiwyg/wysiwyg-interface";
1414
* Validate inline editor for having nested link
1515
* Creates a dialog and removes inline editor link if present
1616
*
17-
* @param {DataObject} dataStore
17+
* @param {DataStore} dataStore
1818
* @param {WysiwygInterface} wysiwyg
1919
* @param {string} inlineMessageField
2020
* @param {string} linkUrlField
@@ -23,7 +23,8 @@ export default function nestingLinkDialog(
2323
dataStore: DataStore,
2424
wysiwyg: WysiwygInterface,
2525
inlineMessageField: string,
26-
linkUrlField: string) {
26+
linkUrlField: string,
27+
) {
2728
const dataStoreContent = dataStore.get() as DataObject;
2829
const inlineMessage = dataStoreContent[inlineMessageField] as string;
2930
const linkUrl = dataStoreContent[linkUrlField] as FieldDefaultsInterface;

0 commit comments

Comments
 (0)