8
0
Просмотр исходного кода

Code style: Fix code style in `AlignmentUI`.

Maciej Gołaszewski 8 лет назад
Родитель
Сommit
b148557080
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/ckeditor5-alignment/src/alignmentui.js

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

@@ -85,9 +85,8 @@ export default class AlignmentUI extends Plugin {
 		componentFactory.add( 'alignmentDropdown', locale => {
 		componentFactory.add( 'alignmentDropdown', locale => {
 			const dropdownView = createDropdown( locale );
 			const dropdownView = createDropdown( locale );
 
 
-			// Get alignment buttons.
+			// Add existing alignment buttons to dropdown's toolbar.
 			const buttons = options.map( option => componentFactory.create( commandNameFromOptionName( option ) ) );
 			const buttons = options.map( option => componentFactory.create( commandNameFromOptionName( option ) ) );
-
 			addToolbarToDropdown( dropdownView, buttons );
 			addToolbarToDropdown( dropdownView, buttons );
 
 
 			// Configure dropdown properties an behavior.
 			// Configure dropdown properties an behavior.