From b3246c495a1e116abe7ab7abea347126eead4e0d Mon Sep 17 00:00:00 2001
From: laurawilsonri <laura_wilson@brown.edu>
Date: Mon, 8 Apr 2019 18:24:06 -0400
Subject: bulleting works with some bugsbugs, font styles in progress

---
 src/client/util/TooltipTextMenu.tsx | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'src/client/util/TooltipTextMenu.tsx')

diff --git a/src/client/util/TooltipTextMenu.tsx b/src/client/util/TooltipTextMenu.tsx
index eaf18825c..3f37d5fb8 100644
--- a/src/client/util/TooltipTextMenu.tsx
+++ b/src/client/util/TooltipTextMenu.tsx
@@ -1,4 +1,5 @@
 import { action, IReactionDisposer, reaction } from "mobx";
+import { Dropdown, DropdownSubmenu, MenuItem } from "prosemirror-menu";
 import { baseKeymap, lift } from "prosemirror-commands";
 import { history, redo, undo } from "prosemirror-history";
 import { keymap } from "prosemirror-keymap";
@@ -6,7 +7,6 @@ import { EditorState, Transaction, NodeSelection } from "prosemirror-state";
 import { EditorView } from "prosemirror-view";
 import { schema } from "./RichTextSchema";
 import { Schema, NodeType } from "prosemirror-model";
-import { liftItem } from "prosemirror-menu";
 import React = require("react");
 import "./TooltipTextMenu.scss";
 const { toggleMark, setBlockType, wrapIn } = require("prosemirror-commands");
@@ -44,15 +44,16 @@ export class TooltipTextMenu {
       { command: toggleMark(schema.marks.superscript), dom: this.icon("s", "superscript") },
       { command: toggleMark(schema.marks.subscript), dom: this.icon("s", "subscript") },
       { command: wrapInList(schema.nodes.bullet_list), dom: this.icon(":", "bullets") },
-      //{ command: lift, dom: this.icon("<", "unindent") },
-
-      { command: lift, dom: this.unorderedListIcon() },
+      { command: toggleMark(schema.marks.timesNewRoman), dom: this.icon("x", "TNR") },
+      { command: lift, dom: this.icon("<", "lift") },
     ]
     //add menu items
     items.forEach(({ dom, command }) => {
       this.tooltip.appendChild(dom);
     });
 
+    //add dropdowns
+
     //pointer down handler to activate button effects
     this.tooltip.addEventListener("pointerdown", e => {
       e.preventDefault();
-- 
cgit v1.2.3-70-g09d2

