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

@@ -29,6 +29,9 @@ const Paragraph = createNode({
addCommands() {
return {
/**
* Toggle a paragraph
*/
paragraph: (): Command => ({ commands }) => {
return commands.toggleBlockType('paragraph', 'paragraph')
},