mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-24 09:13:24 +01:00
fix to normalize selection
This commit is contained in:
parent
983d4d3b27
commit
52c6bb9596
@ -294,6 +294,7 @@ function setSelection(state, operation) {
|
||||
}
|
||||
|
||||
selection = selection.merge(properties)
|
||||
selection = selection.normalize(document)
|
||||
state = state.merge({ selection })
|
||||
return state
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user