Parcourir la source

Update text-alignment.md

The command to align, is called alignment, and not align.
mtilsted il y a 7 ans
Parent
commit
96fb012614
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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:
 
 	```js
-	editor.execute( 'align', { value: 'center' } );
+	editor.execute( 'alignment', { value: 'center' } );
 	```
 
 ## Contribute