- var indent = new indentCommand( editor, 'indent' ),\r
- outdent = new indentCommand( editor, 'outdent' );\r
- editor.addCommand( 'indent', indent );\r
- editor.addCommand( 'outdent', outdent );\r
+ var indent = editor.addCommand( 'indent', new indentCommand( editor, 'indent' ) ),\r
+ outdent = editor.addCommand( 'outdent', new indentCommand( editor, 'outdent' ) );\r