Skip to content

Commit

Permalink
Fix wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbarnas committed Feb 17, 2021
1 parent 950bd75 commit 226b937
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ClassicEditor

### Using classes instead of inline style

By default alignment is set inline using `text-align` CSS property. If you wish to style the alignment by yourself, you can specify class names by using {@link module:alignment/alignment~AlignmentConfig#classNames `config.alignment.classNames`} and style it using CSS.
By default alignment is set inline using `text-align` CSS property. If you wish the feature to output more semantic content that uses classes instead of inline styles, you can specify class names by using the {@link module:alignment/alignment~AlignmentConfig#classNames `config.alignment.classNames`} option and style them by using a stylesheet.

<info-box>
Make sure to specify the same number of classes as the number of values in {@link module:alignment/alignment~AlignmentConfig#options `config.alignment.options`}. If the {@link module:alignment/alignment~AlignmentConfig#options `config.alignment.options`} are not specified, they are equal to `[ 'left', 'right', 'center', 'justify' ]`, therefore you have to provide 4 class names.
Expand Down

0 comments on commit 226b937

Please sign in to comment.