diff options
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); } |
