diff options
author | Geireann <60007097+geireann@users.noreply.github.com> | 2021-04-07 14:45:28 -0400 |
---|---|---|
committer | Geireann <60007097+geireann@users.noreply.github.com> | 2021-04-07 14:45:28 -0400 |
commit | eb2a394bd9e0f7a1aa9a72f328dcb3e1424b6fee (patch) | |
tree | d5b572877954082d673f3e92cb9f6a8433ca68d6 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 6a73699a10edb842b2b5eba4ef05731772859f13 (diff) | |
parent | d0b37d7b5a8749cb6157d938ff576c7714c8ce0b (diff) |
Merge branch 'master' into demo_changes
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 208accfc7..9482b632a 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -669,7 +669,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp if (this._break) { const textanchor = Docs.Create.TextanchorDocument({ title: "dictation anchor" }); this.addDocument(textanchor); - const link = DocUtils.MakeLinkToActiveAudio(textanchor, false).lastElement(); + const link = DocUtils.MakeLinkToActiveAudio(() => textanchor, false).lastElement(); link && (Doc.GetProto(link).isDictation = true); if (!link) return; const audioanchor = Cast(link.anchor2, Doc, null); |