diff --git a/examples/Components/Routes/TextAlign/Paragraph.js b/examples/Components/Routes/TextAlign/Paragraph.js index ba916cc3..926fa1fd 100644 --- a/examples/Components/Routes/TextAlign/Paragraph.js +++ b/examples/Components/Routes/TextAlign/Paragraph.js @@ -27,8 +27,8 @@ export default class Paragraph extends Node { } } - command({ type, attrs }) { - return setBlockType(type, attrs) + commands({ type }) { + return attrs => setBlockType(type, attrs) } }