Use custom delete when inserting text at a non-collapsed range