diff options
| author | dinhanhtruong <70963346+dinhanhtruong@users.noreply.github.com> | 2021-07-26 18:45:28 -0400 |
|---|---|---|
| committer | dinhanhtruong <70963346+dinhanhtruong@users.noreply.github.com> | 2021-07-26 18:45:28 -0400 |
| commit | ee06e72dab596ead6903c3ab3432ecab458613cb (patch) | |
| tree | 5939bbd147f3f3c90c4b9911b9085e7bcd17cce5 /src/client/views/linking/LinkPopup.tsx | |
| parent | 50f4eaf02d32560ad324acd72b9021b480c11a9c (diff) | |
Link editor menu UI cleanup + color changes + temp removal of linkpopup for PR
Diffstat (limited to 'src/client/views/linking/LinkPopup.tsx')
| -rw-r--r-- | src/client/views/linking/LinkPopup.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/linking/LinkPopup.tsx b/src/client/views/linking/LinkPopup.tsx index 89d5b7272..2c4b718f4 100644 --- a/src/client/views/linking/LinkPopup.tsx +++ b/src/client/views/linking/LinkPopup.tsx @@ -42,14 +42,13 @@ interface LinkPopupProps { export class LinkPopup extends React.Component<LinkPopupProps> { @observable private linkURL: string = ""; @observable public view?: EditorView; - private Instance: LinkPopup = this; // TODO: should check for valid URL @undoBatch makeLinkToURL = (target: string, lcoation: string) => { - ((this as any)?.TextView as FormattedTextBox).makeLinkAnchor(undefined, "onRadd:rightight", target, target); + ((this.view as any)?.TextView as FormattedTextBox).makeLinkAnchor(undefined, "onRadd:rightight", target, target); } @action |
