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

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
acusti committed Oct 30, 2017
1 parent dcd41c6 commit 99c5348
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/component/handlers/edit/editOnInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ function editOnInput(editor: DraftEditor): void {
editor._pendingStateFromBeforeInput = undefined;
}

var domSelection = ReactDOM.findDOMNode(editor.refs.editor).ownerDocument.defaultView.getSelection();
var domSelection = ReactDOM.findDOMNode(editor.refs.editor)
.ownerDocument.defaultView.getSelection();

var {anchorNode, isCollapsed} = domSelection;
const isNotTextNode =
Expand Down

0 comments on commit 99c5348

Please sign in to comment.