add new commands to all extensions
This commit is contained in:
@@ -19,8 +19,8 @@ export default class Paragraph extends Node {
|
||||
}
|
||||
}
|
||||
|
||||
command({ type }) {
|
||||
return setBlockType(type)
|
||||
commands({ type }) {
|
||||
return () => setBlockType(type)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user