rename tasklist command

This commit is contained in:
Philipp Kühn
2020-11-18 11:35:28 +01:00
parent d1c767413e
commit 489e064c76
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ const TaskList = Node.create({
/**
* Toggle a task list
*/
taskList: (): Command => ({ commands }) => {
toggleTaskList: (): Command => ({ commands }) => {
return commands.toggleList('taskList', 'taskItem')
},
}