Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
This commit is contained in:
@@ -32,6 +32,9 @@ const TaskList = createNode({
|
||||
|
||||
addCommands() {
|
||||
return {
|
||||
/**
|
||||
* Toggle a task list
|
||||
*/
|
||||
taskList: (): Command => ({ commands }) => {
|
||||
return commands.toggleList('taskList', 'taskItem')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user