8
0
Prechádzať zdrojové kódy

Merge pull request #27 from mtilsted/patch-1

Docs: Update alignment command example in feature docs.
Piotrek Koszuliński 7 rokov pred
rodič
commit
1ca6ffef5f

+ 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