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

fix: avoid throwing an exception if the current selection no longer makes sense when initializing ySyncPlugin #171

Merged

Conversation

gvergnaud
Copy link
Contributor

@gvergnaud gvergnaud commented Nov 21, 2024

Fixes #170.

@dmonad
Copy link
Member

dmonad commented Nov 22, 2024

Awesome PR!

  • Precise bug report
  • Reproducible code
  • Working fix that even uses lib0.math instead of Math.

It took me just a few minutes and saved me a lot of time. Thanks!!

Will merge, and release now. There should be a new release with a fix in a few minutes.

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

Successfully merging this pull request may close these issues.

Out of range position exception when adding ySyncPlugin to an existing editor
2 participants