Whoops
This commit is contained in:
@@ -109,7 +109,7 @@ export const TaskItem = Node.create<TaskItemOptions>({
|
|||||||
checkbox.addEventListener('change', event => {
|
checkbox.addEventListener('change', event => {
|
||||||
// if the editor isn’t editable and the item isn't checkable
|
// if the editor isn’t editable and the item isn't checkable
|
||||||
// we have to undo the latest change
|
// we have to undo the latest change
|
||||||
if (!editor.isEditable && !checkable) {
|
if (!editor.isEditable && !this.options.checkable) {
|
||||||
checkbox.checked = !checkbox.checked
|
checkbox.checked = !checkbox.checked
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user