1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-30 18:39:51 +02:00

Fix delete line being out by 1 char (#5827)

This commit is contained in:
Louis
2025-03-23 02:21:32 +13:00
committed by GitHub
parent 6eb4bdff06
commit 8b2414ab16

View File

@@ -71,5 +71,5 @@ export const findCurrentLineRange = (
middle = Math.floor((left + right) / 2)
}
return Editor.range(editor, positions[right], parentRangeBoundary)
return Editor.range(editor, positions[left], parentRangeBoundary)
}