mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-17 12:41:44 +02:00
fix drag/drop
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user