add list of current commands
This commit is contained in:
@@ -48,7 +48,7 @@ export default class Heading extends Node {
|
||||
commands(): CommandSpec {
|
||||
return {
|
||||
heading: next => attrs => {
|
||||
this.editor.toggleBlockType(this.name, 'paragraph', attrs)
|
||||
this.editor.toggleNode(this.name, 'paragraph', attrs)
|
||||
next()
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user