1
0
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:
Ian Storm Taylor 2016-08-30 16:01:31 -07:00
parent 983d4d3b27
commit 52c6bb9596

View File

@ -294,6 +294,7 @@ function setSelection(state, operation) {
}
selection = selection.merge(properties)
selection = selection.normalize(document)
state = state.merge({ selection })
return state
}