Kaynağa Gözat

Code refactoring: Removed obsolete ToolbarView docs.

Aleksander Nowodzinski 6 yıl önce
ebeveyn
işleme
c0bc370e96

+ 0 - 3
packages/ckeditor5-ui/src/toolbar/toolbarview.js

@@ -250,9 +250,6 @@ export default class ToolbarView extends View {
 	 * @param {module:ui/componentfactory~ComponentFactory} factory A factory producing toolbar items.
 	 */
 	fillFromConfig( config, factory ) {
-		// The toolbar is filled in in the reverse order for the toolbar grouping to work properly.
-		// If we filled it in in the natural order, items that overflow would be grouped
-		// in a revere order.
 		config.map( name => {
 			if ( name == '|' ) {
 				this.items.add( new ToolbarSeparatorView() );