diff options
| author | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-20 20:03:08 -0400 |
|---|---|---|
| committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-20 20:03:08 -0400 |
| commit | dc587b0fb493d869e6cd38fa94b81105da4fbaab (patch) | |
| tree | 563f23d9e404678cf93f1574fb923f1d37b49b8b /src/client/views/nodes/FormattedTextBox.tsx | |
| parent | aa0e6f5ffc30fdffc3be13a1948981b754544a01 (diff) | |
finished UI
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
| -rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index 8a355a425..e06be7079 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -354,7 +354,8 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe () => { if (!DocumentDecorations.hasPulledHack) { DocumentDecorations.hasPulledHack = true; - this.pullFromGoogleDoc(this.updateState); + let unchanged = this.dataDoc.unchanged; + this.pullFromGoogleDoc(unchanged ? this.checkState : this.updateState); } } ); |
