fix text align example
This commit is contained in:
@@ -27,8 +27,8 @@ export default class Paragraph extends Node {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
command({ type, attrs }) {
|
commands({ type }) {
|
||||||
return setBlockType(type, attrs)
|
return attrs => setBlockType(type, attrs)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user