diff options
author | geireann <geireann.lindfield@gmail.com> | 2021-08-25 14:59:09 -0400 |
---|---|---|
committer | geireann <geireann.lindfield@gmail.com> | 2021-08-25 14:59:09 -0400 |
commit | 66f5ebb389315200d37e88ef5da1414f7f615042 (patch) | |
tree | 3f14f96cc45c686ae522e485145f5c510a535e07 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 281c178eb39caceb8868be1e77dbd3bbf65d2e13 (diff) | |
parent | 2790d5b6c374ca24e7307b03f1fd72be7172b033 (diff) |
Merge branch 'master' into menu_updates_geireann
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 1 |
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 b0b8ce75d..d1027dfd7 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -217,6 +217,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp this._editorView?.state && RichTextMenu.Instance.insertHighlight(color, this._editorView.state, this._editorView?.dispatch); return undefined; }); + AnchorMenu.Instance.onMakeAnchor = this.getAnchor; /** * This function is used by the PDFmenu to create an anchor highlight and a new linked text annotation. * It also initiates a Drag/Drop interaction to place the text annotation. |