aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FormattedTextBox.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-02-25 11:25:44 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-02-25 11:25:44 -0500
commit2ab7ee87a2f22d029c1cf25a8f776cb3f17a24b3 (patch)
treeee6c0989cff19f539ca7a34a5b9d09489de21613 /src/client/views/nodes/FormattedTextBox.tsx
parentcb56876b21dc47f26747f902bd81df49eae4cf4b (diff)
parente57c8ed3944bf737afdb2f564d159a53f8a6b1c6 (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r--src/client/views/nodes/FormattedTextBox.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx
index c0969a8c3..60ee0b5e1 100644
--- a/src/client/views/nodes/FormattedTextBox.tsx
+++ b/src/client/views/nodes/FormattedTextBox.tsx
@@ -112,12 +112,8 @@ export class FormattedTextBox extends React.Component<FieldViewProps> {
}
}
render() {
+ var val = this.props.doc.Get(this.props.fieldKey);
return (<div className="formattedTextBox-cont"
- style={{
- color: "initial",
- whiteSpace: "initial",
- height: "auto"
- }}
onPointerDown={this.onPointerDown}
ref={this._ref} />)
}