aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-13 17:49:18 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-13 17:49:18 -0400
commit81d23dbd7b918fd1812b770960687bc8a12a0a34 (patch)
tree972dffb1a347b1f84203e4535ab1ec21ec8f239d /src
parent2d53f5294fdd3ac123503bcbb30b73967f4aba14 (diff)
wrong link button hidden
Diffstat (limited to 'src')
-rw-r--r--src/client/util/TooltipTextMenu.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/TooltipTextMenu.tsx b/src/client/util/TooltipTextMenu.tsx
index d287ff9b1..0d3adef2e 100644
--- a/src/client/util/TooltipTextMenu.tsx
+++ b/src/client/util/TooltipTextMenu.tsx
@@ -123,7 +123,7 @@ export class TooltipTextMenu {
this.listTypeToIcon.set(schema.nodes.ordered_list, "1)");
this.listTypes = Array.from(this.listTypeToIcon.keys());
- this.tooltip.appendChild(this.createLink().render(this.view).dom);
+ // this.tooltip.appendChild(this.createLink().render(this.view).dom);
this.tooltip.appendChild(this.createStar().render(this.view).dom);
@@ -252,7 +252,7 @@ export class TooltipTextMenu {
this.linkEditor.appendChild(this.linkDrag);
// this.linkEditor.appendChild(this.linkText);
// this.linkEditor.appendChild(linkBtn);
- // this.tooltip.appendChild(this.linkEditor);
+ this.tooltip.appendChild(this.linkEditor);
}
let node = this.view.state.selection.$from.nodeAfter;