Skip to content

Commit

Permalink
fix drag/drop
Browse files Browse the repository at this point in the history
  • Loading branch information
ianstormtaylor committed Oct 17, 2017
1 parent 6422de5 commit 276ed27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"no-path-concat": "error",
"no-redeclare": "error",
"no-regex-spaces": "error",
"no-restricted-globals": ["error", "Debug", "Document", "event", "history", "History", "length", "Map", "Node", "parent", "Range", "Selection", "Set", "Text"],
"no-restricted-globals": ["error", "Debug", "document", "Document" "event", "history", "History", "length", "Map", "Node", "parent", "Range", "Selection", "Set", "Text"],
"no-sequences": "error",
"no-shadow": "error",
"no-shadow-restricted-names": "error",
Expand Down
2 changes: 1 addition & 1 deletion packages/slate-react/src/plugins/after.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ function AfterPlugin(options = {}) {
debug('onDrop', { event })

const { state } = change
const { selection } = state
const { document, selection } = state
let target = getEventRange(event, state)
if (!target) return

Expand Down

0 comments on commit 276ed27

Please sign in to comment.