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:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user