@brightspace-ui/htmleditor
Advanced tools
Comparing version 2.88.4 to 2.88.5
@@ -33,3 +33,3 @@ import '@brightspace-ui/core/components/button/button-subtle.js'; | ||
if (useNewPluginFramework) { | ||
contentElm.linkLocation = anchorNode.getAttribute('href'); | ||
contentElm.linkLocation = new URL(anchorNode.getAttribute('href'), document.baseURI).href; | ||
contentElm.linkTitle = anchorNode.getAttribute('title'); | ||
@@ -59,3 +59,3 @@ } else { | ||
if (useNewPluginFramework) { | ||
if (node.hasAttribute('href')) contentElm.linkLocation = node.getAttribute('href'); | ||
if (node.hasAttribute('href')) contentElm.linkLocation = new URL(node.getAttribute('href'), document.baseURI).href; | ||
if (node.hasAttribute('title')) contentElm.linkTitle = node.getAttribute('title'); | ||
@@ -62,0 +62,0 @@ } else { |
{ | ||
"name": "@brightspace-ui/htmleditor", | ||
"description": "An HTML editor that integrates with Brightspace", | ||
"version": "2.88.4", | ||
"version": "2.88.5", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/BrightspaceUI/htmleditor.git", |
2101698