add comments to all commands
This commit is contained in:
@@ -20,6 +20,9 @@ const Paragraph = createNode({
|
||||
|
||||
addCommands() {
|
||||
return {
|
||||
/**
|
||||
* Toggle a paragraph
|
||||
*/
|
||||
paragraph: (): Command => ({ commands }) => {
|
||||
return commands.toggleBlockType('paragraph', 'paragraph')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user