-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Todo List Items Can Be Checked/Unchecked with Quill Disabled #1312
Comments
ive been looking through the docs and cannot find any support for Todo List Checkbox items. I search other issues and I see it's currently a work in progress. Are you using a specific plugin? If you are and it is something I can take a look at, please let me know. I am looking to integrate this feature. As this comment may be off topic for this thread I will eventually delete it. |
Any progress in this? |
any updates? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If Quill is in readOnly mode (either by supplying
readOnly: true1) in the constructor, or by doing
quill.disable()` todo list items can still be checked/uncheckedSteps for Reproduction
Expected behavior:
With the editor in the disabled state you should not be able to modify it's contents.
Actual behavior:
With the editor disabled, the todo list item click handler doesn't check if quill is disabled, so it's possible to check/uncheck items
Version:
v.1.2.0
Solution
It doesn't seem like the quill instance is available at the blot level, but it would be fairly trivial to check if it was disabled in the click handler if it was.
The text was updated successfully, but these errors were encountered: