diff options
author | Andy Rickert <andrew_rickert@brown.edu> | 2020-08-04 22:05:30 -0400 |
---|---|---|
committer | Andy Rickert <andrew_rickert@brown.edu> | 2020-08-04 22:05:30 -0400 |
commit | e83fd812ed3798a7e7c22ad132a2f9e8dccaa76c (patch) | |
tree | 00bf6d6be5c6c40845c320dfbf3771bb823abfb5 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | a59bcec29efb9b5ea0ba8ddfb4b9977b904c10b8 (diff) |
changes
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 79cf5c5fd..b21596493 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -309,7 +309,6 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp this._searchIndex = ++this._searchIndex > flattened.length - 1 ? 0 : this._searchIndex; this._editorView.dispatch(tr.setSelection(new TextSelection(tr.doc.resolve(flattened[lastSel].from), tr.doc.resolve(flattened[lastSel].to))).scrollIntoView()); - console.log(this._searchIndex, length); if (this._searchIndex > 1) { this._searchIndex += -2; } |