Skip to content
Snippets Groups Projects
Commit 0a552c15 authored by chris's avatar chris
Browse files

fix link

parent 3b87d460
No related branches found
No related tags found
1 merge request!526new wrapper component
......@@ -90,7 +90,7 @@ const LinkComponent = ({ mark }) => {
mark.to,
schemaLinkMark.create({
...((mark && mark.attrs) || {}),
href: linkHref,
href: getValidUrl(linkHref),
}),
),
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment