aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/TooltipTextMenu.tsx
diff options
context:
space:
mode:
authorvellichora <fangrui_tong@brown.edu>2020-01-07 14:20:36 -0500
committervellichora <fangrui_tong@brown.edu>2020-01-07 14:20:36 -0500
commitced3532239c582938271635802e0d2d62703e148 (patch)
tree14a73a67768b784c2700244df44d54d6e693b38a /src/client/util/TooltipTextMenu.tsx
parent80c417f24bcc1109e12645cfc522a820cf22e099 (diff)
richtextmenu appears whenever formattedtextbox is focused
Diffstat (limited to 'src/client/util/TooltipTextMenu.tsx')
-rw-r--r--src/client/util/TooltipTextMenu.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/util/TooltipTextMenu.tsx b/src/client/util/TooltipTextMenu.tsx
index 33257b658..2c4d08b82 100644
--- a/src/client/util/TooltipTextMenu.tsx
+++ b/src/client/util/TooltipTextMenu.tsx
@@ -20,6 +20,8 @@ import { PastelSchemaPalette, DarkPastelSchemaPalette } from '../../new_fields/S
const { toggleMark, setBlockType } = require("prosemirror-commands");
const { openPrompt, TextField } = require("./ProsemirrorCopy/prompt.js");
+// deprecated in favor of richtextmenu
+
//appears above a selection of text in a RichTextBox to give user options such as Bold, Italics, etc.
export class TooltipTextMenu {
public static Toolbar: HTMLDivElement | undefined;