aboutsummaryrefslogtreecommitdiff
path: root/src/views/nodes
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-01-18 19:31:36 -0500
committeryipstanley <stanley_yip@brown.edu>2019-01-18 19:31:36 -0500
commit8b7b321b934e6520eac2c7d4e2ea8fd6f9cf0089 (patch)
tree53c33101a0cc066054ba126cac0c467085de04ab /src/views/nodes
parent22e1d39e5c6d2756a039543b33c45d9610669ec7 (diff)
parent1eb79ea2e6f2ddeea19b8cc399b373809279b862 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into move_doc_get_out_the_way
Diffstat (limited to 'src/views/nodes')
-rw-r--r--src/views/nodes/DocumentView.tsx6
-rw-r--r--src/views/nodes/NodeView.scss2
-rw-r--r--src/views/nodes/RichTextView.tsx0
3 files changed, 1 insertions, 7 deletions
diff --git a/src/views/nodes/DocumentView.tsx b/src/views/nodes/DocumentView.tsx
index c4101fab9..1f5ce7f22 100644
--- a/src/views/nodes/DocumentView.tsx
+++ b/src/views/nodes/DocumentView.tsx
@@ -52,12 +52,6 @@ export class DocumentView extends React.Component<IProps> {
return this.props.dvm.Doc.GetFieldValue(KeyStore.Height, NumberField, Number(0));
}
- //Temp
- @computed
- get data(): string {
- return this.props.dvm.Doc.GetFieldValue(KeyStore.Data, TextField, String(""));
- }
-
@computed
get layout(): string {
return this.props.dvm.Doc.GetFieldValue(KeyStore.Layout, TextField, String("<p>Error loading layout data</p>"));
diff --git a/src/views/nodes/NodeView.scss b/src/views/nodes/NodeView.scss
index e8964399b..a68335f87 100644
--- a/src/views/nodes/NodeView.scss
+++ b/src/views/nodes/NodeView.scss
@@ -1,6 +1,6 @@
.node {
position: absolute;
- // background: #cdcdcd;
+ background: #cdcdcd;
overflow: hidden;
diff --git a/src/views/nodes/RichTextView.tsx b/src/views/nodes/RichTextView.tsx
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/views/nodes/RichTextView.tsx