Skip to content
New issue

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

Uncaught DOMException: Failed to execute 'setStart' #176

Closed
olegbruev opened this issue Dec 29, 2019 · 2 comments
Closed

Uncaught DOMException: Failed to execute 'setStart' #176

olegbruev opened this issue Dec 29, 2019 · 2 comments

Comments

@olegbruev
Copy link

Hi,
If the cursor is in the starting position and the Bold(Ctrl+B) button is pressed and then the Backspace button on click, an error occurs: Uncaught DOMException: Failed to execute 'setStart' for 'Range' ...

Maybe in core.setRange to do something like this:
408 if (! StartCon ||! EndCon || startCon.length === 0) return;

@JiHong88
Copy link
Owner

JiHong88 commented Jan 2, 2020

Hi, @olegbruev

Will be fixed and reflected in the next version.

Thank you!!

@JiHong88 JiHong88 reopened this Jan 13, 2020
@JiHong88
Copy link
Owner

Hi, @olegbruev

Fixed in v2.24.0

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants