diff options
| author | Monika Hedman <monika_hedman@brown.edu> | 2019-04-02 18:05:56 -0400 |
|---|---|---|
| committer | Monika Hedman <monika_hedman@brown.edu> | 2019-04-02 18:05:56 -0400 |
| commit | 36019dc66ae66bac01118ed05bdb5c6466f9bdc8 (patch) | |
| tree | a96b734c29888a62bd14246a9accf9fd2032f0ce /src/fields/Document.ts | |
| parent | dd9d087b62545a7a57ea2651eace72f851127623 (diff) | |
done with minimize to box
Diffstat (limited to 'src/fields/Document.ts')
| -rw-r--r-- | src/fields/Document.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts index 85ff6ddcb..5131d89ca 100644 --- a/src/fields/Document.ts +++ b/src/fields/Document.ts @@ -9,6 +9,7 @@ import { Server } from "../client/Server"; import { Types } from "../server/Message"; import { UndoManager } from "../client/util/UndoManager"; import { HtmlField } from "./HtmlField"; +import { MinimizedField } from "./MinimizedField"; export class Document extends Field { //TODO tfs: We should probably store FieldWaiting in fields when we request it from the server so that we don't set up multiple server gets for the same document and field @@ -225,6 +226,10 @@ export class Document extends Field { return vval; } + // GetMinimized(key: Key, defaultVal: boolean): boolean { + // return this.GetData(key, MinimizedField, defaultVal); + // } + GetHtml(key: Key, defaultVal: string): string { return this.GetData(key, HtmlField, defaultVal); } |
