Delete elements in contenteditable per contentDeleteBackward
and contentDeleteForward
#806
Labels
Milestone
contentDeleteBackward
and contentDeleteForward
#806
@testing-library/user-event
version:v14.0.0-beta.2
Problem description:
Deleting content is only implemented for an
extended
input range.Suggested solution:
Implement deleting for a
collapsed
range in https://github.com/testing-library/user-event/blob/beta/src/utils/edit/prepareInput.ts .The text was updated successfully, but these errors were encountered: