Point<ContentNode> start = normalize(previousSelection.getFirst());
Point<ContentNode> end = normalize(previousSelection.getSecond());
// Delete content if a range was selected
if (!previousSelection.isCollapsed()) {
PointRange<ContentNode> range = destDoc.deleteRange(start, end);
start = range.getFirst();
end = range.getSecond();
}