Patch Changes #6204 94b1fcd Thanks @dylans! - Keep a valid insertion point when replacing a selection whose end node is removed: a void node for insertNodes or a read-only node for insertFragment.