aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/FormattedTextBox.tsx
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2023-06-29 13:56:41 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2023-06-29 13:56:41 -0400
commit932ecd6092bd1b0ac3391309a550bac76cfb0e04 (patch)
tree5d8e2d571b2fd4e26a03cd0a5b77d0d0a4a3364a /src/client/views/nodes/formattedText/FormattedTextBox.tsx
parentb6537cce6aa34eb33c052d7ec2cbbf804be08fba (diff)
undo and redo
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r--src/client/views/nodes/formattedText/FormattedTextBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
index 0dc186eaf..3fa5c099b 100644
--- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx
+++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
@@ -882,6 +882,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FieldViewProps
};
animateRes = (resIndex: number) => {
+ console.log(this.gptRes);
if (resIndex < this.gptRes.length) {
this.dataDoc.text = (this.dataDoc.text as RichTextField)?.Text + this.gptRes[resIndex];
setTimeout(() => {