aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorFawn <fangrui_tong@brown.edu>2019-06-10 20:02:32 -0400
committerFawn <fangrui_tong@brown.edu>2019-06-10 20:02:32 -0400
commitd429898b5337331450e46c223380e5d00967b2d6 (patch)
treea2ce1aacdb258a152c55a8800fa1e884e6ba8b94 /src/client/documents/Documents.ts
parent70996f3f19d408e819e081ed03bd7ccf0de44503 (diff)
added set up for metadata on links
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 5ec19f987..731490d97 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -91,6 +91,7 @@ export namespace DocUtils {
UndoManager.RunInBatch(() => {
let groupDoc = Docs.TextDocument();
groupDoc.proto!.type = "*";
+ groupDoc.proto!.metadata = new List<Doc>([]);
let linkDoc = Docs.TextDocument({ width: 100, height: 30, borderRounding: -1 });
//let linkDoc = new Doc;