Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit 99c5348

Browse files
committed
Linting
1 parent dcd41c6 commit 99c5348

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/component/handlers/edit/editOnInput.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ function editOnInput(editor: DraftEditor): void {
4646
editor._pendingStateFromBeforeInput = undefined;
4747
}
4848

49-
var domSelection = ReactDOM.findDOMNode(editor.refs.editor).ownerDocument.defaultView.getSelection();
49+
var domSelection = ReactDOM.findDOMNode(editor.refs.editor)
50+
.ownerDocument.defaultView.getSelection();
5051

5152
var {anchorNode, isCollapsed} = domSelection;
5253
const isNotTextNode =

0 commit comments

Comments
 (0)