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
Perhaps, w3c/editing#1 is reasonable. If selectionStart is middle of a surrogate pair, align to start (or end?) of the surrogate pair. If selectionEnd is middle of a surrogate pair, align to end (or start?) of the surrogate pair. (but if the range is collapsed in a surrogate pair, this logic extends the range, perhaps, this would cause unexpected behavior.)
The text was updated successfully, but these errors were encountered:
Options:
Perhaps, w3c/editing#1 is reasonable. If
selectionStart
is middle of a surrogate pair, align to start (or end?) of the surrogate pair. IfselectionEnd
is middle of a surrogate pair, align to end (or start?) of the surrogate pair. (but if the range is collapsed in a surrogate pair, this logic extends the range, perhaps, this would cause unexpected behavior.)The text was updated successfully, but these errors were encountered: