Type Editor / @type-editor/dom-change-util / parse-change/parse-between
parse-change/parse-between
Functions
| Function | Description |
|---|---|
Parses a range of DOM content into a ProseMirror document fragment. This function is the core of DOM change detection. It takes a range of positions in the document, finds the corresponding DOM nodes, parses them into a ProseMirror document, and attempts to reconstruct the selection state. It also applies various browser-specific workarounds during the parsing process. The parsing process:
See adjustForChromeBackspaceBug for browser-specific adjustments |