Fix RangeSelection contentEquals
Use contentEquals or Object.is for deleteEach

Use the same strategy as the RangeSelection for item deletion.
Guard against no selection

No need to perform any operation if there is no selection.