Then select all (Ctrl + A) and then Backspace. The B item is left behind:
## Fix
The `removeInRange` function appears to be wrong. In the case that `startIndex /= endIndex`, `leftRest` and `rightRest` are recursively edited between `startRest` and `endRest`, while `leftRest` should be edited between `startRest` and the end of that node, and `rightRest` should be edited between the start of that node and `endRest`.
Issue
Copy the below ABCD paragraph + list and paste it into https://mweiss.github.io/elm-rte-toolkit/#/examples/basic.
A
Then select all (Ctrl + A) and then Backspace. The B item is left behind: ## Fix The `removeInRange` function appears to be wrong. In the case that `startIndex /= endIndex`, `leftRest` and `rightRest` are recursively edited between `startRest` and `endRest`, while `leftRest` should be edited between `startRest` and the end of that node, and `rightRest` should be edited between the start of that node and `endRest`.B
C
D