You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A range is defined by starting and ending nodes in the DOM, plus character offsets within each. This provides a little resilience to edits in the raw document, or at least a way of updating Ranges in response to document modifications.
It would be nice to store ranges in the database, as that would not require modifying the raw document. Will require figuring out how to save a pointer to an arbitrary node (e.g. one without an #id).
The text was updated successfully, but these errors were encountered:
Range
A range is defined by starting and ending nodes in the DOM, plus character offsets within each. This provides a little resilience to edits in the raw document, or at least a way of updating Ranges in response to document modifications.
It would be nice to store ranges in the database, as that would not require modifying the raw document. Will require figuring out how to save a pointer to an arbitrary node (e.g. one without an #id).
The text was updated successfully, but these errors were encountered: