diff --git a/wax-prosemirror-services/src/LinkService/components/LinkComponent.js b/wax-prosemirror-services/src/LinkService/components/LinkComponent.js index 0efda11294af82505a487859682005f20cc7b8f2..0fda433f932491259469a07a2b8a53844f396cc9 100644 --- a/wax-prosemirror-services/src/LinkService/components/LinkComponent.js +++ b/wax-prosemirror-services/src/LinkService/components/LinkComponent.js @@ -90,7 +90,7 @@ const LinkComponent = ({ mark }) => { mark.to, schemaLinkMark.create({ ...((mark && mark.attrs) || {}), - href: linkHref, + href: getValidUrl(linkHref), }), ), );