Type Editor / @type-editor/selection-util / anchor-in-right-place
anchor-in-right-place
Functions
| Function | Description |
|---|---|
Checks if the DOM selection's anchor is at the expected position. This compares the ProseMirror selection's anchor position with the actual DOM selection's anchor position to verify they are equivalent. This is useful for detecting if the DOM selection has drifted from the expected state. |