浏览代码

Merge pull request #27 from mtilsted/patch-1

Docs: Update alignment command example in feature docs.
Piotrek Koszuliński 7 年之前
父节点
当前提交
1ca6ffef5f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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