diff options
author | bobzel <zzzman@gmail.com> | 2023-11-30 20:47:28 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-11-30 20:47:28 -0500 |
commit | c94bbf5b9f1a37630208d4ba64a93c5399044042 (patch) | |
tree | fc8e7c8db3cf89dcc7a7ccbbcc09800e9046a1c3 /src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx | |
parent | 728fbbe9130f0bf0694c68f65caaca59d7b90091 (diff) |
completed transition from rootDoc => Document, dataDoc, layoutDoc
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx b/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx index e7ca26d5c..4212d46eb 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx @@ -135,7 +135,7 @@ export class FormattedTextBoxComment { naft && LinkDocPreview.SetLinkInfo({ docProps: textBox.props, - linkSrc: textBox.rootDoc, + linkSrc: textBox.Document, linkDoc: linkDoc ? (DocServer.GetCachedRefField(linkDoc) as Doc) : undefined, location: (pos => [pos.left, pos.top + 25])(view.coordsAtPos(state.selection.from - Math.max(0, nbef - 1))), hrefs, |