diff options
| author | bobzel <zzzman@gmail.com> | 2021-02-09 12:16:25 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-02-09 12:16:25 -0500 |
| commit | 81bd2378ffa753e851390c2616e66a71d23c9989 (patch) | |
| tree | e6b7c6cf1f1917144c813f0bbcccfab9f0757e6c /src/client/views/nodes/formattedText/RichTextMenu.tsx | |
| parent | 0f03183b9a2374ed3198d2b9ec8348fa819b11b4 (diff) | |
started to cleanup LinkDocPreview, LinkMenu.
Diffstat (limited to 'src/client/views/nodes/formattedText/RichTextMenu.tsx')
| -rw-r--r-- | src/client/views/nodes/formattedText/RichTextMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/RichTextMenu.tsx b/src/client/views/nodes/formattedText/RichTextMenu.tsx index b041c4fc9..5da868281 100644 --- a/src/client/views/nodes/formattedText/RichTextMenu.tsx +++ b/src/client/views/nodes/formattedText/RichTextMenu.tsx @@ -851,7 +851,7 @@ export class RichTextMenu extends AntimodeMenu<AntimodeMenuProps> { // TODO: should check for valid URL @undoBatch makeLinkToURL = (target: string, lcoation: string) => { - ((this.view as any)?.TextView as FormattedTextBox).makeLinkAnchor(undefined, "onRadd:rightight", "", target); + ((this.view as any)?.TextView as FormattedTextBox).makeLinkAnchor(undefined, "onRadd:rightight", target, target); } @undoBatch |
