mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 07:24:26 +08:00

We don't support any browser needing this for very long: https://caniuse.com/?search=selectionStart I'm keeping some protection so It doesn’t crash but ultimately `element.selectionStart` should be enough. Im not removing this in the commit, but the `caret_position.js` file seems barely used.