diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-01 15:27:15 -0500 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-01 15:27:15 -0500 |
| commit | c5e60251835ef9fa60054e422f51d5f92c8494bb (patch) | |
| tree | eeb426a18c4384ec2a68c7a9fa96ab79701c9f0a /src/fields/RichTextField.ts | |
| parent | 38bd04e67c13d073057321c5ba89a1e1aef02179 (diff) | |
added ImageField and RichTextField types
Diffstat (limited to 'src/fields/RichTextField.ts')
| -rw-r--r-- | src/fields/RichTextField.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fields/RichTextField.ts b/src/fields/RichTextField.ts new file mode 100644 index 000000000..4cf5c99a7 --- /dev/null +++ b/src/fields/RichTextField.ts @@ -0,0 +1,13 @@ +import { BasicField } from "./BasicField"; +import { Field } from "./Field"; + +export class RichTextField extends BasicField<string> { + constructor(data: string = "") { + super(data); + } + + Copy(): Field { + return new RichTextField(this.Data); + } + +}
\ No newline at end of file |
