Parcourir la source

Other: Define defaultIcon for ButtonDropdown.

Maciej Gołaszewski il y a 8 ans
Parent
commit
3c29ea8b7e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      packages/ckeditor5-alignment/src/alignmentui.js

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

@@ -91,6 +91,7 @@ export default class AlignmentUI extends Plugin {
 
 			const model = new Model( {
 				label: t( 'Text alignment' ),
+				defaultIcon: alignLeftIcon,
 				withText: false,
 				isVertical: true
 			} );