aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/linking/LinkPopup.tsx
diff options
context:
space:
mode:
authordinhanhtruong <70963346+dinhanhtruong@users.noreply.github.com>2021-07-26 18:45:28 -0400
committerdinhanhtruong <70963346+dinhanhtruong@users.noreply.github.com>2021-07-26 18:45:28 -0400
commitee06e72dab596ead6903c3ab3432ecab458613cb (patch)
tree5939bbd147f3f3c90c4b9911b9085e7bcd17cce5 /src/client/views/linking/LinkPopup.tsx
parent50f4eaf02d32560ad324acd72b9021b480c11a9c (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.tsx3
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