Simplify and fix position tracking in parseRange
Simplify and fix position tracking in parseRange

FIX: Fix an issue where the DOM change handler would treat the parsed
content as the wrong part of the document.

ProseMirror/prosemirror-view