rename setBlockType to setNode
This commit is contained in:
@@ -60,7 +60,7 @@ const Heading = Node.create({
|
||||
return false
|
||||
}
|
||||
|
||||
return commands.setBlockType('heading', attributes)
|
||||
return commands.setNode('heading', attributes)
|
||||
},
|
||||
/**
|
||||
* Toggle a heading node
|
||||
|
||||
Reference in New Issue
Block a user