aboutsummaryrefslogtreecommitdiff
path: root/src/documents/Documents.ts
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/documents/Documents.ts
parent6cf622dda54e5b1793138c0492d71b574a6e8d75 (diff)
Small fixes and start of drag drop
Diffstat (limited to 'src/documents/Documents.ts')
-rw-r--r--src/documents/Documents.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/documents/Documents.ts b/src/documents/Documents.ts
index cc08f4123..084666b95 100644
--- a/src/documents/Documents.ts
+++ b/src/documents/Documents.ts
@@ -57,6 +57,7 @@ export namespace Documents {
imageProto.SetField(KeyStore.Width, new NumberField(300));
imageProto.SetField(KeyStore.Height, new NumberField(300));
imageProto.SetField(KeyStore.Layout, new TextField('<img src={Data} alt="Image not found"/>'));
+ // imageProto.SetField(KeyStore.Layout, new TextField('<div style={"background-image: " + {Data}} />'));
imageProto.SetField(KeyStore.LayoutFields, new ListField([KeyStore.Data]));
}
return imageProto;