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

Docs (ui): Fix a typo in dropdown utils jsdoc.

Maciej Gołaszewski 5 лет назад
Родитель
Сommit
98f8ee7a45
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-ui/src/dropdown/utils.js

+ 1 - 1
packages/ckeditor5-ui/src/dropdown/utils.js

@@ -110,7 +110,7 @@ export function createDropdown( locale, ButtonClass = DropdownButtonView ) {
  *
  *		// Either create a new ButtonView instance or create existing.
  *		buttons.push( new ButtonView() );
- *		buttons.push( editor.ui.componentFactory.get( 'someButton' ) );
+ *		buttons.push( editor.ui.componentFactory.create( 'someButton' ) );
  *
  *		const dropdown = createDropdown( locale );
  *