matrix-react-sdk
e0668e85 - improve algorithm to reduce selection to text node + charactar offset

Commit
6 years ago
improve algorithm to reduce selection to text node + charactar offset this follows the documentation of {focus|anchor}{Offset|Node} better and was causing problems for creating ranges from the document selection when doing ctrl+A in firefox as the anchorNode/Offset was expressed as childNodes from the editor root.
Author
Committer
Parents
Loading