Browse Source

Update text-alignment.md

The command to align, is called alignment, and not align.
mtilsted 7 years ago
parent
commit
96fb012614
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-alignment/docs/features/text-alignment.md

+ 1 - 1
packages/ckeditor5-alignment/docs/features/text-alignment.md

@@ -90,7 +90,7 @@ The {@link module:alignment/alignment~Alignment} plugin registers:
 	You can align the currently selected block(s) by executing one of these commands:
 	You can align the currently selected block(s) by executing one of these commands:
 
 
 	```js
 	```js
-	editor.execute( 'align', { value: 'center' } );
+	editor.execute( 'alignment', { value: 'center' } );
 	```
 	```
 
 
 ## Contribute
 ## Contribute