Przeglądaj źródła

Code style: Fix code style in `AlignmentUI`.

Maciej Gołaszewski 8 lat temu
rodzic
commit
b148557080
1 zmienionych plików z 1 dodań i 2 usunięć
  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 => {
 			const dropdownView = createDropdown( locale );
 
-			// Get alignment buttons.
+			// Add existing alignment buttons to dropdown's toolbar.
 			const buttons = options.map( option => componentFactory.create( commandNameFromOptionName( option ) ) );
-
 			addToolbarToDropdown( dropdownView, buttons );
 
 			// Configure dropdown properties an behavior.