This commit is contained in:
Philipp Kühn
2020-11-13 16:44:26 +01:00
37 changed files with 469 additions and 51 deletions

View File

@@ -51,6 +51,9 @@ const OrderedList = createNode({
addCommands() {
return {
/**
* Toggle an ordered list
*/
orderedList: (): Command => ({ commands }) => {
return commands.toggleList('orderedList', 'listItem')
},