We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, just bumped into this, the solution is to check selection.rangeCount !== 0 before calling selectino.getRangeAt(0)
selection.rangeCount !== 0
selectino.getRangeAt(0)
https://stackoverflow.com/questions/22935320/uncaught-indexsizeerror-failed-to-execute-getrangeat-on-selection-0-is-not
I got into this because I called getState() while disabled option is true
getState()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, just bumped into this, the solution is to check
selection.rangeCount !== 0
before callingselectino.getRangeAt(0)
https://stackoverflow.com/questions/22935320/uncaught-indexsizeerror-failed-to-execute-getrangeat-on-selection-0-is-not
I got into this because I called
getState()
while disabled option is trueThe text was updated successfully, but these errors were encountered: