Procházet zdrojové kódy

Docs: Minor fixes in alignment feature documentation. [skip ci]

Anna Tomanek před 7 roky
rodič
revize
50b0e74e38

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

@@ -13,7 +13,7 @@ The {@link module:alignment/alignment~Alignment} feature enables support for tex
 
 ## Configuring alignment options
 
-It is possible to configure which alignment options are available in the editor by setting the {@link module:alignment/alignment~AlignmentConfig#options `alignment.options`} configuration option. You can choose from `'left'`, `'right'`, `'center'` and `'justify'`;  note that `'left'` should always be included).
+It is possible to configure which alignment options are available in the editor by setting the {@link module:alignment/alignment~AlignmentConfig#options `alignment.options`} configuration option. You can choose from `'left'`, `'right'`, `'center'` and `'justify'`;  note that `'left'` should always be included.
 
 For example, the following editor will support only two alignment options: to the left and to the right:
 

+ 2 - 2
packages/ckeditor5-alignment/src/alignment.js

@@ -18,7 +18,7 @@ import AlignmentUI from './alignmentui';
  * It loads the {@link module:alignment/alignmentediting~AlignmentEditing} and
  * {@link module:alignment/alignmentui~AlignmentUI} plugins.
  *
- * Read more about the feature in the {@glink api/alignment text alignment package} page.
+ * Read more about the feature on the {@glink api/alignment text alignment package} page.
  *
  * @extends module:core/plugin~Plugin
  */
@@ -66,7 +66,7 @@ export default class Alignment extends Plugin {
 /**
  * Available alignment options.
  *
- * The available options are `'left'`, `'right'`, `'center'` and `'justify'`. Other values are ignored.
+ * The available options are: `'left'`, `'right'`, `'center'` and `'justify'`. Other values are ignored.
  *
  * **Note:** It is recommended to always use `'left'` as it is the default value which the user should
  * normally be able to choose.

+ 1 - 1
packages/ckeditor5-alignment/src/alignmentui.js

@@ -29,7 +29,7 @@ const icons = new Map( [
 ] );
 
 /**
- * The default Alignment UI plugin.
+ * The default alignment UI plugin.
  *
  * It introduces the `'alignLeft'`, `'alignRight'`, `'alignCenter'` and `'alignJustify'` buttons
  * and the `'alignmentDropdown'` drop-down.