diff options
| author | bobzel <zzzman@gmail.com> | 2024-05-08 21:03:27 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-05-08 21:03:27 -0400 |
| commit | fa4d377b53c9ca31d8900d9c11bd25be57025962 (patch) | |
| tree | 3956413649eabdcbaf71a826dc48f2b28e8bf2b6 /src/client/apis | |
| parent | 2e7d3ec952ec88a928f22b8d7a708cc807d9ecdd (diff) | |
| parent | b858bd3cad81da41e63b9f8e807e41421ca4aa34 (diff) | |
Merge branch 'restoringEslint' into nathan-starter
Diffstat (limited to 'src/client/apis')
| -rw-r--r-- | src/client/apis/google_docs/GooglePhotosClientUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/apis/google_docs/GooglePhotosClientUtils.ts b/src/client/apis/google_docs/GooglePhotosClientUtils.ts index fdc185a8e..b238f07e9 100644 --- a/src/client/apis/google_docs/GooglePhotosClientUtils.ts +++ b/src/client/apis/google_docs/GooglePhotosClientUtils.ts @@ -331,7 +331,7 @@ export namespace GooglePhotos { if (typeof target === 'string') { description = target; } else if (target instanceof RichTextField) { - description = RichTextUtils.ToPlainText(EditorState.fromJSON(FormattedTextBox.Instance.config, JSON.parse(target.Data))); + description = RichTextUtils.ToPlainText(EditorState.fromJSON(new FormattedTextBox({} as any).config, JSON.parse(target.Data))); } return description; }; |
