mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-01 03:11:44 +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)
|
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