aboutsummaryrefslogtreecommitdiff
path: root/src/fields/RichTextField.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-02-01 15:27:15 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-02-01 15:27:15 -0500
commitc5e60251835ef9fa60054e422f51d5f92c8494bb (patch)
treeeeb426a18c4384ec2a68c7a9fa96ab79701c9f0a /src/fields/RichTextField.ts
parent38bd04e67c13d073057321c5ba89a1e1aef02179 (diff)
added ImageField and RichTextField types
Diffstat (limited to 'src/fields/RichTextField.ts')
-rw-r--r--src/fields/RichTextField.ts13
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