diff --git a/packages/slate/src/changes/at-range.js b/packages/slate/src/changes/at-range.js index 19564daa6..c195b5396 100644 --- a/packages/slate/src/changes/at-range.js +++ b/packages/slate/src/changes/at-range.js @@ -557,7 +557,11 @@ Changes.deleteForwardAtRange = (change, range, n = 1, options = {}) => { // If the closest is not void, but empty, remove it if (block && !block.isVoid && block.isEmpty && document.nodes.size !== 1) { + const nextBlock = document.getNextBlock(block.key) change.removeNodeByKey(block.key, { normalize }) + if (nextBlock && nextBlock.key) { + change.moveToStartOf(nextBlock) + } return }