diff options
author | geireann <geireann.lindfield@gmail.com> | 2021-08-26 06:34:54 -0400 |
---|---|---|
committer | geireann <geireann.lindfield@gmail.com> | 2021-08-26 06:34:54 -0400 |
commit | c1fb227c364af5defb99adc793e850d681caa36a (patch) | |
tree | 282d11c67ec666bc20ea2af7016329896e28c7b5 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 8394f2f5f2a70c40a1fb8c6a1f995c22cca6bfe1 (diff) |
really close
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 d1027dfd7..f4053d69f 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -214,7 +214,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp setupAnchorMenu = () => { AnchorMenu.Instance.Status = "marquee"; AnchorMenu.Instance.Highlight = action((color: string, isLinkButton: boolean) => { - this._editorView?.state && RichTextMenu.Instance.insertHighlight(color, this._editorView.state, this._editorView?.dispatch); + this._editorView?.state && RichTextMenu.Instance.setHighlight(color, this._editorView, this._editorView?.dispatch); return undefined; }); AnchorMenu.Instance.onMakeAnchor = this.getAnchor; |