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