aboutsummaryrefslogtreecommitdiff
path: root/src/views/nodes/FieldTextBox.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-01-21 22:25:52 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-01-21 22:25:52 -0500
commitc67608a7eeeb6bdee27a8e7b4a8f6f8561db6004 (patch)
treee58e6e7945aa3e66ccca673edc69269953b218fc /src/views/nodes/FieldTextBox.tsx
parent6cf622dda54e5b1793138c0492d71b574a6e8d75 (diff)
Small fixes and start of drag drop
Diffstat (limited to 'src/views/nodes/FieldTextBox.tsx')
-rw-r--r--src/views/nodes/FieldTextBox.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/views/nodes/FieldTextBox.tsx b/src/views/nodes/FieldTextBox.tsx
index dbac3906a..2cd55e26e 100644
--- a/src/views/nodes/FieldTextBox.tsx
+++ b/src/views/nodes/FieldTextBox.tsx
@@ -13,6 +13,8 @@ import {baseKeymap} from "prosemirror-commands"
import {undo, redo, history} from "prosemirror-history"
import { Opt } from "../../fields/Field";
+import "./FieldTextBox.scss"
+
interface IProps {
fieldKey:Key;
doc:Document;
@@ -34,7 +36,6 @@ interface IProps {
// specified Key and assigns it to an HTML input node. When changes are made tot his node,
// this will edit the document and assign the new value to that field.
//
-@observer
export class FieldTextBox extends React.Component<IProps> {
private _ref: React.RefObject<HTMLDivElement>;
private _editorView: Opt<EditorView>;