add comments to all commands
This commit is contained in:
@@ -31,6 +31,9 @@ const Italic = createMark({
|
||||
|
||||
addCommands() {
|
||||
return {
|
||||
/**
|
||||
* Toggle an italic mark
|
||||
*/
|
||||
italic: (): Command => ({ commands }) => {
|
||||
return commands.toggleMark('italic')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user