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

Problem Selection Methods #4293

Closed
kosowski1 opened this issue Jul 5, 2024 · 4 comments
Closed

Problem Selection Methods #4293

kosowski1 opened this issue Jul 5, 2024 · 4 comments

Comments

@kosowski1
Copy link

kosowski1 commented Jul 5, 2024

When i try to use getSelection method, return "Cannot read properties of null (reading 'offset')",
image

image
The blot is returning null

Quill v2.0.2

@ozgur-proreact
Copy link

@kosowski1 , I was getting the same error on my Vue 3 project. I've noticed that I was using ref() for the quill instance variable. That was the issue. Maybe it helps.

@kosowski1
Copy link
Author

It worked, thank you very much! @ozgur-proreact

@AcWrong02
Copy link

But why is it like this? @ozgur-proreact

@ozgur-proreact
Copy link

@AcWrong02, frankly I have no idea.

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

3 participants