Skip to content

Commit 8a91d02

Browse files
authored
Merge pull request #295 from tnsezer/bug-287
[Contribution] #287 return href even add custom URL type for link
2 parents 1b05a1b + 7bbc913 commit 8a91d02

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default class Link implements PropertyReaderInterface {
5050
const attributeIdMatches = href.match(regexp);
5151

5252
if (!attributeIdMatches) {
53-
return "";
53+
return href;
5454
}
5555

5656
return attributeIdMatches[1];

0 commit comments

Comments
 (0)