diff --git a/src/components/LinkEditor.tsx b/src/components/LinkEditor.tsx index c9a6e23ab..0c8bd1fbf 100644 --- a/src/components/LinkEditor.tsx +++ b/src/components/LinkEditor.tsx @@ -218,7 +218,7 @@ class LinkEditor extends React.Component { handleOpenLink = (event): void => { event.preventDefault(); - this.props.onClickLink(this.href, event); + this.props.onClickLink(this.state.value, event); }; handleCreateLink = (value: string) => {