mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-08-06 13:38:49 +08:00
Whoops
This commit is contained in:
parent
8874e5e5e6
commit
eda8d801b5
@ -109,7 +109,7 @@ export const TaskItem = Node.create<TaskItemOptions>({
|
||||
checkbox.addEventListener('change', event => {
|
||||
// if the editor isn’t editable and the item isn't checkable
|
||||
// we have to undo the latest change
|
||||
if (!editor.isEditable && !checkable) {
|
||||
if (!editor.isEditable && !this.options.checkable) {
|
||||
checkbox.checked = !checkbox.checked
|
||||
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user