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

Disabling the editor doesn't prevent users changing selections #4540

Open
boosh opened this issue Dec 19, 2024 · 0 comments
Open

Disabling the editor doesn't prevent users changing selections #4540

boosh opened this issue Dec 19, 2024 · 0 comments

Comments

@boosh
Copy link

boosh commented Dec 19, 2024

I expected that calling quill.disable() would prevent users from making selections but it doesn't. I'm programmatically updating the editor contents at the carat, and if the user changes the selection it breaks this feature.

Please either make calling quill.disable() prevent users editing selections, or provide another way to prevent users making/editing selections.

Steps for Reproduction

  1. Make a selection in the editor
  2. Call quill.disable()
  3. Confirm you can still select other text

Expected behavior:
User's aren't able to modify selections at all after the editor is disabled until it's re-enabled.

Actual behavior:
Users can modify selections even when the editor is disabled

Platforms:

Firefox 133.0 (aarch64)

Version:
2.0.3

@boosh boosh changed the title Disabling the editor doesn't disable selections Disabling the editor doesn't prevent users changing selections Dec 19, 2024
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

1 participant